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
Can we run multiple QTP scripts one after the other without manual intervention? How?
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
write the vb script for call to new action in qtp?
How to handle the exceptions using the recovery scenario manager in qtp?
Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...
On what document base Descriptive programming is written if build is not yet ready ?
Connect to QC using AOM.
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
i can done the project with QTP in that time i can say how many members in my team size?
What are the advantages of parameterization ?
QTP script is not working on other's machine..
Can we use index on view?
Is it possible to call from one action to another action in qtp?
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
What is TOM in QTP?