What a great solution. Thank you so much!
Lori
On Feb 10, 2009, at 1:58 PM, Soula, William wrote:
The below will set all checkboxes on a page, edit the xpath to get
the elements you want.
<repeat xpath="//inp...@type='checkbox']"
counterName="currentCheckbox" description="Click all checkboxes on a
page">
<setCheckbox xpath="$currentCheckbox" checked="true"/>
</repeat>
-----Original Message-----
From: [email protected] [mailto:[email protected]
] On Behalf Of Lori Bergan
Sent: Tuesday, February 10, 2009 12:03 PM
To: [email protected]
Subject: [Webtest] Looping
How can I loop through elements in canoo? I want to loop through a
bunch of checkboxes and click them before submitting. I can get the #
of checkboxes and select them but I haven't determined how to do the
looping. (I don't see do/while or for/each steps listed as options)
Thanks,
Lori
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest