| || |
How to create a checkpoint on Select box
Our application was developed in Flex, In that one page shows the 10 data fields.If i select master select check box(select all), it will select all 10 check boxes.
In my sceanario there is a test case that if i select a master check box it has to select all check boxes.when i am creating a checkpoint,But it is creating page checkpoint,For this scenario how to create a checkpoint.
Re: How to create a checkpoint on Select box
you can try some thing like this
...checkbox("blah").set "ON" ' master select box on
if Allboxeschecked then
msgbox "All check boxes checked"
msgbox "One or more check boxes not checked"
for i=0 to 9 ' for all the 10
if ...Checkbox("name:=thesubcheckboxes", "index:="&i).getroproperty(checked) <> 1 then
Allboxeschecked = false
Allboxeschecked = true
hope this helps