Sujit my above code worked only diff I didnt put () after click()
Thanks man On Sunday, 8 July 2012 22:39:38 UTC+5:30, sujit wrote: > > 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 <[email protected]> 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 [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/MercuryQTP?hl=en >> > > > > > -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
