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 suppress warnings from the test results page?
What is a programmatic description?
how will you check how many members visited the website www.infosys.com?
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
How to add synchronisation points in qtp?
How do you convert manual test cases to automated test cases?
What are the Disadvantages of shared object repository?
what is supply chain management?
Explain data driven framework?
Where we use data driver in qtp?
Which scripting language used by quicktest professional (qtp)?
How many types of recording modes in qtp? Describe each type with an example where we use them?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
What is a quick test professional?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?