Hi Guys!!!!!!!!!!!!
Its very simple method using GetRowWithCellText method.
*Ex: Dim RowNo*
* RowNo = Browser().Page().WebTable().GetRowWithCellText("<text to
pass from datatable>")*
* Browser().Page().WebTable().ChildItems(RowNo, Column<Pass from
Datatable or Itretate it), WebCheckBox, index<default 0>)*
*Kudos to Prasant!!!!!!!!!!!!!!!!!! :)*
On Tuesday, 2 April 2013 02:08:03 UTC+5:30, qtp wrote:
> Hello Nani,
>
> Let me know if you are able to identify the webtable correctly. You can
> use rowcount or getCellData. Then verify that the checkbox is in the right
> row column. This should help you
>
> Thanks,
> QtpTestApplication
>
>
>
> On Fri, Mar 8, 2013 at 9:10 PM, Nani <[email protected] <javascript:>>wrote:
>
>> Hi,
>>
>> Still QTP not able to identify this following code!
>>
>> Browser("name:= Gmail.*").Page("title:= Gmail.*").WebEdit("name:=
>> Email").Set "thrinath.digitek"
>> Browser("name:= Gmail.*").Page("title:= Gmail.*").WebEdit("name:=
>> Passwd").SetSecure
>> "513a911ba0b0f02dff0e5bfef02554d110ea18341ae862d58ef54c1d5b8e28ac8cdb"
>> Browser("name:= Gmail.*").Page("title:= Gmail.*").WebButton("name:= Sign
>> in").Click
>> Browser("name:= Inbox.*").Page("title:= Inbox.*").WebTable("innertext:=
>> Techgig.*").ChildItem(1,1, "WebElement", 0).Set "ON"
>>
>> Regards,
>> Thrinath
>>
>>
>> On Fri, Mar 8, 2013 at 9:18 PM, qtptest applications <
>> [email protected] <javascript:>> wrote:
>>
>>> Hello Thrinath,
>>>
>>> This is how you can do that
>>>
>>> Browser(...).Page(...).Webtable(...).childitem(...).Set "ON"
>>>
>>> Thanks,
>>> QtpTestApplications
>>>
>>> On Fri, Mar 8, 2013 at 3:45 AM, Thrinath <[email protected]<javascript:>
>>> > wrote:
>>>
>>>>
>>>>
>>>> Hi,
>>>>
>>>> i would like to write a following functionality in descriptive
>>>> i need to select an item in Inbox(gmail), it shows as web element
>>>> inside the table
>>>>
>>>> *Browser("name:= Inbox.*").Page("title:= Inbox.*")......?????????*
>>>>
>>>> attached screenshot(i just want to select an item in Inbox)
>>>>
>>>> Regards,
>>>> Thrinath
>>>>
>>>> --
>>>> --
>>>> 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]<javascript:>
>>>> To unsubscribe from this group, send email to
>>>> [email protected] <javascript:>
>>>> 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] <javascript:>.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>>
>>>>
>>>
>>> --
>>> --
>>> 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]<javascript:>
>>> To unsubscribe from this group, send email to
>>> [email protected] <javascript:>
>>> 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] <javascript:>.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>> --
>> --
>> 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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
--
--
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/groups/opt_out.