Hi..friends can anybody write the script for this question...
Am having some 20 nos of links in a web application, i want
to click some 5,13 & 17th links. So please....can anybody
give the answer....???
-->Hani<--
Answer Posted / srikanthdas
Set obj = Description.Create()
obj("micclass").value = "Link"
Set x =Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(obj)
for x= 1 to x.count
if x(i)=5 OR 13 OR 17 Then
x(i).Click
end if
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to acess a test in RSA?
What are benefits of qtp?
What are the benefits of quick test pro(qtp)?
How do you open adobe acrobat file in QTP and do some testing on that file ?
How do you know the location Id of an object if you know its index id?
what is the difference between modular framework & datadriven framework
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
how to find that tools work well with ur existing system?
What are the views available in quicktest professional (qtp)?
What is qtp window?
Can any suggest me what is exposure testing?
Can we create user defined functions in qtp?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
What are the different recording modes?
How QA specialist can identify when programmatic descriptions are useful?