Hi,
I have several cases where I have a list of items, each of which has a
link, button, or checkbox. How do I click on all the
links/buttons/checkboxes when I don't know how many items are in the
list beforehand?
I have tried code like this:
setCheckbox(
xpath: "//table/tbody/tr/td[1]/[EMAIL PROTECTED]'checkbox']",
checked: true)
but this doesn't seem to work. I could store the number of rows in a
property, but I don't think I can access the property from the host
groovy code. Otherwise I could simply use a groovy loop.
Any ideas?
Thanks,
Peter
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest