[EMAIL PROTECTED]
wrote on 06/11/2005 12:01:03 AM:
> Therefore, I think we need to find a way to identify a toggle-button
> within a name-group, using a secondary attribute; typically 'value'.
My
> first thought was that this could be done via a second, optional
> argument to the toggle-but
I recently added a couple of commands for dealing with toggle-buttons,
ie. checkboxes and radio-buttons.
check( locator )
uncheck( locator )
assertChecked( locator )
assertNotChecked( locator )
As you can see, they currently just accept a single element-locator
argument.
Now,
Robin Becker wrote:
I was able to use storeValue to obtain the value of a hidden filed
called period, but failed with store and javascript.
... this failed
store|javascript{document.getElementById('period').value}|PERIOD
I think that when your JavaScript expression is eval'ed, "document"
r
Luke Closs wrote:
What about a more general 'skip' feature. Test cases or individual
commands could be skipped based on some test. I see this in perl test
suites all the time, something like:
unless package foo is installed {
skip all tests
}
In the interests of keeping things simple