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

do you prepared framework,pls answer this

1 Answers  


Why we have to import data from excel sheet to data table?becoz v can directly use test data directly from xl know. can u all pls explain me clearly

1 Answers  


what is object repository size?

22 Answers   ITC Infotech,


What is the difference between QTP 8.2 object repository and QTP 9.2 object repository Any body have an please give Answer Mail id: nagireddy.sn@gmail.com

5 Answers   IBM,


What do you mean by checkpoints in qtp?

0 Answers  


How we can capture the dynamic object ex:(rotating globe) in the web page with time gaph is 5 sec..

3 Answers   IBM,


Synchronizing test

3 Answers   Wipro,


why use Description programming? what is advantages and disadvantage of this methods?

2 Answers  


How to Analyze the Checpoint results by Standard Checpoint?

1 Answers  


In Manual testing , can u prpare bug report in TD?

1 Answers   TCS,


QTP Testing Process?

1 Answers  


In qtp, how you can get the last character from a string?

0 Answers  


Categories