Hi QTP kings,
In my application inside Webtable 3 links are present in the cell, is it possible to click a particular link. for ex.
In one cell i have Delete, update, edit link i want to click the particular link but i tried a lot if any one face this issue pls help me.
Search the forum and you will get your answer there are many posts for that, ChildObjects is the function you should be looking for.
Buy the NEW QTP Descriptive Programming Unplugged Book
** Download QTP Unplugged 2nd Edition eBook for FREE **
To be precise the code similar to this works
Set myLink = Browser(...).Page(...).WebTable(...).ChildObjects( <row>,<col>,"Link",<indx>
Senior QA Engineer,
Virtusa India Pvt Ltd,
(tarun)i try this one but the index property is incresing.
(harish)inside a cell 3 links are there my ques is how to click a spcified link.
if the cell is having one link then ur code is working, pls give me solution.
first count the number of links that display on the page
numofLinks = myLink.Count()
you can look through the link to get the innertext of the specific link name you are looking
once you find it, use DP to click on it.