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
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
how do i know how to use tools
Describe how Smart Identification is used
How to open a new test using quicktest professional (qtp)?
What is an object repository?
What is the virtual object?
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
How many types of recording facility are available in quicktest professional (qtp)?
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
What is quicktest professional (qtp window?
What are some test assets and related extensions of qtp?
how to evalute defects in QTP script?
How to call a test from another test?
What is qtpro?
What is the syntax for how to call one script from another?