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
Does quicktest professional (qtp) is unicode compatible?
Can you brief the hurdles you faced during Automation testing?
How to execute a winrunner script in quicktest professional?
What are the technics follow in writing VB script?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
What are table and db checkpoints?
what are the limitations of smart identification in qtp 9.0
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
How do you perform Regreession Testing?
What are the general steps involved in the data driven framework?
What are the views available in quicktest professional?
How to delete an object from the object repository?
The hybrid framework can be implemented for any application. Is it true?
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
How can you exit from an action?