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 a web page, one web table is present which is dynamic.
In that table one of the column has links with the same
inner text. write a script so that i need to click the
third link.

Answer Posted / sid

Hi All

U can also do this by using GetRowWithCellText method

At First get the row which u got that link in WebTable
Obj=Browser("title:=.*").Page("title:=.*).WebTable("name:= ").GetRowWithCellText("Just give the name which link u wanna click")

Now u got the row no of that particular link in obj

If obj<>0 then
Browser().Page().WebTable().Link("name:= ").click

End If

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the steps involved in recovery scenario wizard?

981


Which scripting language used by quicktest professional (qtp)?

1146


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

3092


What is the virtual object?

1160


How is the Bitmap checkpoint different from Image checkpoint?

1119


What are parameterizing tests?

1042


What is a recovery scenario?

1163


What are test settings and global settings?

1098


Can we record using all the modes in a single script? Explanation with example is appreciated

1857


Approach for Installation,comaptibility,system testing

2204


Explain the concept of object repository and how qtp recognises objects?

1038


desribe a situation where u faced a stressful situation and how did u cope with it

1863


How to use actions in qtp ?

1055


1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)

2173


I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.

2074