Hi Shantnu,
As per my observation you can use below mentioned code.
function FindName(fName)
set oName= description.create()
oName("class").value="Webelement"
oName("text").value=fName
oName("index").value=0
rCount=browser("").page("").webtable("").getrowcount
cCount=browser("").page("").webtable("").getcolumncount
For i=0 to rCount
For j=0 to cCount
if browser("").page("").webtable("").celldata(oName).exist then
browser("").page("").webtable("").webcheckbox("","index:="&i).set ON
end if
next
next
Thanks...
Akhalesh
On Mon, Oct 28, 2013 at 3:20 PM, Shantanu Joshi
<[email protected]>wrote:
> Hi Parke,
>
> This a WebTable with 2 columns.
> The 1st one contains name of the instructor and second one contains
> webcheckbox for the corresponding instructor.
>
> e.g I am an instructor and I want check checkbox corresponding to my name.
> Lets say 'shantanu' value is present in column one 3rd row then I will
> check webcheckbox present in 3rd row 2nd column.
>
> I hope this makes picture more clear.
>
> Regards,
> Shantanu
>
>
>
>
> On Monday, 28 October 2013 23:26:23 UTC+5:30, Parke wrote:
>>
>> Shantanu:
>> Is this the only webtable with two columns?
>> Is this the only webtable with webcheckboxes?
>>
>>
>> Parke
>>
>>
>>
> --
> --
> 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.
>
--
Akhalesh yadav
+919555717928
+919310680659
--
--
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.