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 are the technics follow in writing VB script?
How will you check a web application for broken links using qtp?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
Tell me about your project? please help me how to tell about insurance project
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
Explain the new feature of UFT regarding the export of test results?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.
The hybrid framework can be implemented for any application. Is it true?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
Can any one send me the QTP Basic Coding Samples?
How to find operating system information using the qtp script?