Thank you yadav, looping from 0-2 worked fine.
On 28 January 2014 12:37, Akhalesh Yadav <[email protected]>wrote: > As per my understanding there are something wrong with looping concept to > identify each objects, please use childobject method and use for loop 0 to > 2 and get check property of each checkbox with their text values. > if still you did not find solution then plz share your line of code. > > Thanks.. > Akhalesh > > > On Mon, Jan 27, 2014 at 7:37 AM, Ravi kiran <[email protected]>wrote: > >> 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. >> > > > > -- > 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. > -- -- 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.
