How to Select random value from a DropDownList using Selenium or UFT – User friendly Tech help

Requirement:- We need to select random value from a given dropdownlist, to test the functionality how our AUT would behave under varying selection of options. n n n n n n DropDownlist + HTML code n n n nApproach:-n1.We would take the count of existing options in the weblist/dropdownlist .n2.Take a random value between 0(starting…

How to add HyperLink in Excel using UFT/QTP? – User friendly Tech help

Scenario:-nHow we can add “HyperLink” to a Excel Cell.nWe used this thing while “Reporting” UFT results.Hyperlinks was used as pointer to screenshot of Results after the execution of Scripts.nnMethod 1n Logic:- We’ll use HyperLinks.Add method of Excel worksheet to create a Hyperlink.nStep1:- Activate the particular cell that we want as “Hyperlink”nStep2:- Add the Destination path…

Interview Question on Arrays in UFT – User friendly Tech help

Please find some of the Questions related to Array’s in vbscripting :-nnn1. How many types of Array are there?nn2. Can we redefine the index of an Array?nn3. What is the difference between an Array and Dictionary Object?nn4. How can we get lower index and upper index of an Array?nn5. If Array is of index 10,…

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…

Robot Framework- Working with Excel Library(Part-2) – User friendly Tech help

Life is short..share while you still have knowledge.nWe started with installation of Excel Library in Robot Framework , today we would focus on utilizing the keywords present in the Excel Library.nNext is publishing run results into ExcelnnWe can connect on Fb,G+,Twitter to spread more learning.nnScenario:- How we can fetch data from Excel in Robot framework to parameter our test cases.nnSolution:-…

Understand Keyword Driven Framework by using UFT – (Part 2) – User friendly Tech help

After our basic overview of Keyword Driven Framework in Part -1 , now we would implement and understand its individual components. Part3 contains the keyword sheet creation and run results.nnTest Scenario:- nWe would be using the following scenario to exemplify our Keyword Frameworkn1.Launch web browser n2.Search “uftHelp” on “Google”n3.Open the first link of search Resultn4.Verify that www.uftHelp.com, page is openedn5.Search any…

Robot Framework- Working with Excel Library(Part-2) – User friendly Tech help

Life is short..share while you still have knowledge.nWe started with installation of Excel Library in Robot Framework , today we would focus on utilizing the keywords present in the Excel Library.nNext is publishing run results into ExcelnnWe can connect on Fb,G+,Twitter to spread more learning.nnScenario:- How we can fetch data from Excel in Robot framework to parameter our test cases.nnSolution:-…

Regression Testing v/s Re-Testing – User friendly Tech help

Problem:– Understanding the difference between Regression and RE-TestingnnnExample:-nSuppose you were testing some software application and you found defects in some ncomponent.nn 1. You log a defect in bug tracking tool. n2. Developer will fix that defect and provide you with the new build with bug fix.n3. You need to re-run the failed test cases to make sure that…

Sending Keyboard strokes in UFT 11.5 – User friendly Tech help

Scenario:-nHow we can perform events like Click down Arrow  Enter, Tab Using UFT?nnApproach:-nWe need to use “SendKeys” method of “Wscript”nnDefinition:-nSendkeys, is used to send one or more keystrokes to the active window as if they were typed at the keyboardnnSyntax:-nObject.Sendkeys KeystrokesnnExample:-nHow to activate windows Key /Startup Program?nnNote:-Shortcut for Windows Key in Windows 7 is “CTRL+ESC“.nnCode:-n n…

Working with Reporter Object, MsgBox and Print Statement in UFT? – User friendly Tech help

Following video tutorial covers the mostly used scenario’s for reporting results in UFT/QTP.nnFor reporting in Selenium we need ReportNGnnJust a brief summary of topics that are highlighted inthe video, firstly we discussed the usage of “MsgBox and Print Statements” with their differences and then our main focus was on “Reporter Utility Object“,in this we focused…