you can try using below code
for i=0 to 2

result=Browser(" ").Page(" ").webtable("
").Childitem(row.column,"webcheckbox",index:=i).getroproperty("checked")
msgbox result
next






On Mon, Jan 27, 2014 at 5:43 PM, Prasad.L.V <[email protected]> wrote:

> Hi All,
>
> I have a script which verified the check box is checked or not in a page.
>
> so i have 3 check box in a table, which were checked (Property checked=1),
> when i try to verify the status of each check box.
>
> 1st check box status shows as 1 (pass)
> 2nd check box status shows as 1 (Pass)
> 3rd check box status shows as 0 (Fail)
>
> When i spy on 3rd check box, the property of checked shows as 1.
>
> I can't report it as BUG, bcz in UI the check box was checked and when we
> spy it shows as checked.
>
> issue is while executing the check box shows as 0 i.e Unchecked.
>
> I couldn't identify what might be wrong here.
> could anyone please suggest/guide me how can we make this as pass or is
> there a way to capture the correct property.
>
> Thank you,
> L V Prasad. K
>
> --
> --
> 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.
>

-- 
-- 
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.

Reply via email to