Re: How to click a link present in a web table

392 views
Skip to first unread message

sujit kumar

unread,
Jul 8, 2012, 1:09:38 PM7/8/12
to mercu...@googlegroups.com
Hi Nikhil
if text is Unique then u can use "ClikOnText" method
it will search text on the screen then click on text

-- 
Thanks  & Regards 
Sujit :) 


On Sun, Jul 8, 2012 at 1:20 PM, nikhil <nikhi...@gmail.com> wrote:
Hi I have a webtable which consists of 2 rows and 7 columns in each.

on the third column I need to click on a link. The approach I'm trying here first find the text present in any row in 3rd column and then click it

This is what I did..

row=Browser("").Page("").WebTable("").GetRowWithCellText("ABC",3,1)       
            msgbox row
            row=CInt(row)
            Set Obj_link = Browser("").Page("").WebTable("").ChildItem(1,3,"Link",0)
            Obj_link.Click

I get an error message Obj_link not available.

Can anyone help me

--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to Mercu...@googlegroups.com
To unsubscribe from this group, send email to
MercuryQTP+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en




Reply all
Reply to author
Forward
0 new messages