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


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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / uday

set lnkObj=description.create
lnkObj("index").value=98
B().p().link(lnkObj).click

or

b().p().link("index:=98").click

Is This Answer Correct ?    14 Yes 1 No

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

Answer / murali.nachahally

set odes=description.create
odes("htmltag").value=linkbtn
coll=browser("browname").page("page name").frame("frame
name").cheildobjects(odes)
msgbox coll.count
for i=0 to coll-1
if i = 99
coll(i).set "ON"
browser("browname").page("page name").webedit("link").set click
end if
next

Is This Answer Correct ?    6 Yes 4 No

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

Answer / praveen

Using index of the link.As index starts from zero u can fin
the index of required link and then perform the required
operation.

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More QTP Interview Questions

What is the extension of qtp local repository?

0 Answers  


I want to execute 1st row of the local sheet and 3rd row of the global sheet parellely. write script to execute

2 Answers   IBM,


how qtp identifies objects of application.

5 Answers   Intel,


from what stage you will start automation in your project

5 Answers   TCS,


Hi Friends,will any body tell to Me for which Auomation Tool their is great Requirement inht eMarket Eithr the QTP or WINRUNNER and for what reason and how long it is going to remain and wat the Scope for the automation Testing In the Future Please tll to Me In Details Ok .

2 Answers  


Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain

0 Answers  


How to capture dynamic objects in qtp like mark up text

3 Answers  


What is the difference between QTP 8.2 and QTP 9.2

0 Answers   Nokia,


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

0 Answers   HCL,


How do you delete unwanted results in qtp?

0 Answers  


What are the abbreviations for tsr and mtr?

17 Answers   Ordain Solutions, TSR,


Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take values from action 2 data sheet or vice versa. If so, how?

6 Answers   Oracle, TCS,


Categories