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
In Remote acess server how u run a test?
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
Is it possible to call from one action to another action in qtp?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
your coming from electrical backgroung..but y ur coming to software side?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
what is defenetion of kiran can u tell me plz CVS, SVN
how to idetfy which test cases are automated?who will deside that plz tell me
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
what is actually contain test report? can anybody post the test report
what is the difference between data driver & data driven and driver script?
What is the short cut keys for the following?