Get the row number using getrowiwthcelltext method
rownum=Browser("XX").Page("XX").WebTable("YY").GetRowWithCellText("IBM")
ccount=Browser("XX").Page("XX").WebTable("YY").columncount(rownum)
For i=1 to ccount
 cname=Browser("XX").Page("XX").WebTable("YY").getcelldata(rownum,i)
  If cname="IBM" Then
    Set iname=Browser("XX").Page("XX").WebTable("YY").childitem(
rownum,i,"Link",0)
    iname.click
  End If
Next



 Thanks & Regards,
Venkat Reddy Bandaru
[email protected]
+91.9884524606


On Mon, May 11, 2015 at 2:08 PM, gokul krishna <[email protected]>
wrote:

> Try this !
>
> Set odesc=Description.Create()
> odesc("micclass").value="link"
>
> Set l_link=Browser("XX").Page("XX").WebTable("YY").ChildObjects(odesc)
> For i=0 to link.count-1
>       If l_link(i).Name="IBM" Then
>         l_link(i).click
>        End If
> Next
>
> On Sun, May 10, 2015 at 9:33 AM, Ayaz Ahmed <[email protected]> wrote:
>
>> Browser("title:=.*,"index:=0").page("title:=.*").webtable("name:=
>> ???").link("innertext:=???","index:=0).Click
>>
>> :)
>>
>>
>> On Friday, May 8, 2015 at 1:12:37 PM UTC-4, [email protected] wrote:
>>>
>>> hi guys,
>>>          i have a one web table.in that table have a one link name as
>>> "IBM".i want to click that link.i don't no the where the link is
>>> specified(i mean which ROW and which COLOMN) .in this scenario how to write
>>> a script to click specific link in a web table
>>>
>>  --
>> --
>> 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 Groups
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Thanks,
> Gokul Krishna.
>
> --
> --
> 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 Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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 Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to