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 |
What is an expert view and keyword view?
what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?
What is time parameter?
How do u write a regular expression for date (dd/mm/yyyy) field ?
Per-Action Vs Shared repository?
How to data driven test for Win objects in QTP ?
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
What is the use of text output value in quicktest professional (qtp)?
How function returns a value?
Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
how do u prepare Test Environment ?