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 make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

568


Get the count of files of similar types from a folder.

977


please any one can explain the keyword driven framework. with gmail example.

1629


What is QTP testing process?

635


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

1949






Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1418


what is keyword driven testing in qtp?n how is it useful?

1495


By using QTP can we record any log files written by the application which is in execution?

1484


what type of automation is follwed in the project?

1489


Explain quicktest professional testing process?

564


Diff b/w Health care domain and Banking Domain?

4221


How many types of recording facility are available in quicktest professional?

571


What are the advantages of parameterization ?

598


which type of testing process are you following in ur company? how to recognize a qtp page?

1409


Your roles and responsibilities and daily tasks? (As automation tester)

2585