How to get Links count in an web application,without
descriptive programming?
Answer Posted / venkatesh.m
Hi friends,
set odesc=description.create()
set odesce("htmltag").value="a"
set lists=browser("b.name").page("p.name").childobjects
(odesc)
set counter=lists.count
msgbox "total no.of links"& counter
for i=0 to counter-1 step 1
set link=lists(i).getroproperty("name")
msgbox link,0,"curren link is"
Next
The above script works correctly.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain QTP using different development techniques ?
How does you pass optional arguments in qtp?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
Is qtp supports uni-code?
Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay
What is the difference between analog and low level recording?
What is optional step in qtp? How you can add optional step in qtp?
Will down time for server and content maintenance/upgrades be allowed? how much?
In qtp, how you can get the last character from a string?
How you can write contexts to text file in qtp?
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
who QTP recognizes the object stored in object repository?
How the smart identification is used in real time?Please explain with an example
What are the methods used in UFT to handle exceptions or run-time errors?
To which environments does quicktest professional supports?