how do find current links in webpage for ex: in
yahoowebsite today mainpage is having 50 links and next day
same page is having 60 links. if i run same programe it
should display total links in webpage ?
Answer Posted / badri
Above script for weblists
To count No of Links in webpage:
Set chobj=description.Create
chobj("micclass").value="Link"
Set obj=Browser(" ").Page(" ").ChildObjects(chobj)
'Count the no of objects
n=obj.count
msgbox "No of Links: "&n
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
How do know the number of browsers opened?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
How can i initiate the objects to find uniquely in OR
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
Explain how qtp identifies objects?
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
What is the use of text output value in quicktest professional?
What is active screen?
How the exception handling can be done using quicktest professional (qtp)?
How qtp recognizes the object?
How does qtp identify the object in the application?
What is checkpoints for quicktest professional (qtp)?
They asked by using qtp recording writing scripting