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

Write a script to customize the test results in PDF and HTML format.

2542


What is the difference between keyword view and expert view?

1062


What are the types of object repositories? Which one is you using?

1193


How can you exit from an action?

1056


How to add synchronisation points in qtp?

1064


how can we compare descriptive programing with a regular expression

2398


How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

2289


What are the advantages of qtp?

1007


Can the user toggle between using Local OR and shared OR for the same action?

968


Can we write winrunner language i.e TSL in QTP tool?

1986


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

1004


How to explain a banking project in interview as a test engineer???

3142


What is the standard timing delay for web based application in qtp?

1083


How does quicktest professional (qtp) identifies the object in the application?

1036


write the vb script for call to new action in qtp?

2283