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 types of object repository in qtp?

973


you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

1870


How you can make an action as re-usable action?

1067


Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation

2025


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1902


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

1999


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

1814


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1930


With what extension you can save the list of tests in a file to run in test batch runner?

951


Is it possible to merge two object repository files in qtp?

1124


Explain the difference between call to action and copy action?

924


What are the types of object repositories? Which one is you using?

1123


What is QTP testing process?

1020


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

990


What are the types of object repositories? Which one is you are using?

1113