How to find the number the number of Links, Brolken Links
in a webpage?
Answer Posted / rayudu
By using childobject method
Set linkDescObj=description.Create()
linkDescObj("micclass").value="Link"
Set Links=browser("Gmail: Email from Google").Page("Gmail -
Inbox -srikrishna").ChildObjects(linkDescObj)
NoOfLinks=Links.count()
msgbox NoOfLinks
For i=0 to NoOfLinks-1
linkName=Links(i).getROProperty("name")
msgbox linkName
Next
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what is ODC and GDC?
What is the significance of “action 0” in qtp?
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
What is reusable action?
Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution
How to find a window is minimized or not
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
How software tester can use constants and variables in scripts?
How you can delete excel file in qtp?
how will you load the test cases in ddt?
How many types of object repository in qtp?
How many add-ins comes by default with quicktest professional?
How is a Step generator used in UFT?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
could any help me please, how to work on visual foxpro application using UFT