Various methodologies to Kill running Process in Task Manager. – User friendly Tech help

Approach 1:- Without using UFT and we will simply create a .VBS file on the system and Run it. n ‘*******************************************Sub***************************************************’Function Name:- fn_KillMe’Function Description:- Kills the Given process using Run Command’Input Parameters:- sProcess,(Process Name)’Output Parameters:- Process Killed Message”**************************************************************************************************msgbox fn_KillMe(“Notepad.exe”)Public Function fn_KillMe(sProcess) On Error Resume Next Dim objShell,sStatus ‘Creating WSH object Set objShell = CreateObject(“WScript.Shell”) ‘Executing…

How to implement Highlight in Selenium WebDriver? – User friendly Tech help

Highlight is the most prominent feature used in Object Spy in UFT/QTP. But the question comes into our mind can we have the same facility in Selenium also?.nnAnswer is YES!!n n n n n n n I want to highlight object in selenium n n n Why we use Highlight?nHighlight plays crucial role in  debugging…

Examples of Vbscript – User friendly Tech help

Basic Examples:- nnScenario 1:– nTo get Output message “Welcome to Vbscript” nnSteps:- n n Open any editor(Say Notepad)  n Type the code MsgBox(“Welcome to Vbscript”)  n Save file with extension .VBS with Save as Type: All files  n Double click the Icon of newly created file. n n Output:- nn n n n n n vbscript icon(Double click to run…

Interview Questions-Part-6 – User friendly Tech help

In one of the interview i was asked to write test cases on “Credit Card“, thought of sharing with testing community , please feel free to add and extend the cases. n Contact :- [email protected] nn Physical appearance/Usability:-  n n Test the color and size of the card n Bank name/type of card(Titanium,platinum) n Credit card…

Tips and Tricks for working with Robot Framework – Part-1 – User friendly Tech help

If you are still looking for that one person who will change your life, take a look in the mirror.nnProblem1:- How i can generate random test data in Robot framework?nnSolution:- Use FakerLibrarynnInstall :- npip install robotframework-fakernnNote:- Include FakerLibrary in settings as “Library FakerLibary”nnExample:- To generate random number we can use code as below:-nnn Problem2:- How to…

Understanding Automatic Runner(ALM) status Error on running UFT scripts. – User friendly Tech help

Following is the list of errors we can face while running scripts from ALM . These status error are sometimes confusing.To clarify on their meaning and comprehend them, we have written about most frequent error messages in automatic runner.nnPlease feel free to add errors/solutions, incase you have encountered in your interaction of UFT with ALM. n n 1.Unable to…

Creating first test case using Jmeter? – User friendly Tech help

Scenario:- How to create a basic level test case(its called test plan) in jmeter?nMost of us things that ppl r born smart, but truth is 99% of the smartest ppl n this world are driven by commitment to learn, learn and learn more.Learn more and share more 🙂 Fb,G+,TwitternPrerequisites:-n1.Test plan :- Container for running the tests….

Importing an library in Robot Framework comes in RED color. – User friendly Tech help

Issue: – We tried adding the Selenium2Libray in robot framework but its shown in red color(in settings) and we are not able to implement any of the keywords. n nRoot cause: – Anything coming in red in settings after importing generally means that particular library is not properly installed.nnLet’s check whether we were able to…

Understanding the ‘Use Strict’ in JavaScript – User friendly Tech help

What is ‘Use Strict’?nnThe “use strict” is new feature in JavaScript 1.8.5 (ECMAScript version 5) that permits us to put a program/function in a “strict mode”. It allows to write “Secure” JavaScript.n  Strict mode prevents certain actions from being taken and throws more exceptionsn nNeed of Strict Moden   n n    It catches some common…