Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

how to acess a test in RSA?

2334


What are benefits of qtp?

1203


What are the benefits of quick test pro(qtp)?

1032


How do you open adobe acrobat file in QTP and do some testing on that file ?

1115


How do you know the location Id of an object if you know its index id?

1090


what is the difference between modular framework & datadriven framework

2165


What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

2811


how to find that tools work well with ur existing system?

1990


What are the views available in quicktest professional (qtp)?

1115


What is qtp window?

1066


Can any suggest me what is exposure testing?

1880


Can we create user defined functions in qtp?

1062


what is the diff b/w assistive and mandatary rules of object repository in QTP???

2233


What are the different recording modes?

1032


How QA specialist can identify when programmatic descriptions are useful?

2562