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
Explain in brief about the quicktest professional automation object model?
write the vb script for call to new action in qtp?
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
is it possible to add sheets to excel at runtime
How to use debug tools?
terminal services client
How do you configure QTP AND Test director?
What is the difference between analog and low level recording?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
Explain the types of properties that quick test learns while recording?
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
Explain features of the latest version of qtp/ uft 12.1?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance