in one page we have 100 links i have to click the 99th link
how can i click the 99th link.

Answer Posted / anish wilson

Using descriptive programming.

set objLink= Description.Create()
objLink("micclass").value="WebLink"

set intObjLink= .childObjects(objLink)
Count= intObjLink.Count

intObjLink(Count-1).Click()

Is This Answer Correct ?    28 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find the path of folder in which the test is saved in qtp?

525


Which scripting language used by quicktest professional?

525


Hi Samrat, Thank u very much, what u said it is right.

1340


What is a data driven test in qtp?

576


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

1325






The hybrid framework can be implemented for any application. Is it true?

579


how will you check how many members visited the website www.infosys.com?

1476


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

1494


If I change the property value at runtime is it effect is object repository?

600


what is defenetion of kiran can u tell me plz CVS, SVN

1564


What is qtpro?

586


How many types of recording modes are there?

588


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1377


How will you check that your test cases covered all the requirements?

554


hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

1559