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...

Suppose there are 100 links in a web page and the number of
links will be changing dynamically from time to time. I
need code such that every time i had to click on the last
link of the web page.

Answer Posted / qtp

set odesc = decription.create

odesc("micclass").value = "Link"

set n = browser("xxx").page("xxx").childobjects(odesc)

objcount = n.count
n(objcount-1).click

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can i check items sorted or not in a weblist ? Give me the script for this...

2037


Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.

2045


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

3543


What is checkpoint in qtp?

1031


What is recovery scenario manager? When you go for recovery scenario manager?

1048


how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0

1900


What is quick test pro? What is a quick test professional?

1105


what are the challenges you have faced while testing web based application using the automation tools ?

1142


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

2171


What is ‘object spy’ and what is the function of object spy in qtp?

1104


What is difference between Recording time object identification and Run time (Execution) time.

1639


What is optional step in qtp? How you can add optional step in qtp?

981


can u explain relative path architecture framework in qtp?

2015


In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

2012


How to change the priorities of the recovery scenario properties?

1178