How to find the number the number of Links, Brolken Links
in a webpage?
Answers were Sorted based on User's Feedback
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 |
Answer / nadikattu2002@yahoo.com
Using page check points u can check no of links,broken
kinks in a page.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / less than you
Choose Standard check points either from Active screen or from keyword view, a Object selection properties box will appear from there select page (upper most) and click on OK.
| Is This Answer Correct ? | 0 Yes | 0 No |
Do we have to Enable Smart Identification while running Or will it automatically be enabled ?
After creating testcases, how do you start testing in QTP? what methodology will follow?
7 Answers Actran, American Well,
I Selected for TCS-Chennai(Contract to hire) position plz suggest me whether i have to join or not
With out using the task manager,how to close the application using vbscript and what is the statement?
what is ODC and GDC?
Explain features of the latest version of qtp/ uft 12.1?
How can we change(increase or decrease)the size of a array variable with out loosing the previous values
1 Answers DST Global Solutions,
write code to read and write data from file?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
what is keyword driven testing
I have 3 add buttons of same properties in my page but i want trigger one of them i required in my recovery scnario manager is qtp recognizes it to recovre d scnario if so how qtp recognizes it
What is the difference between a Function and Action in QTP?