Re: [Selenium-devel] check/uncheck commands, and proposed extension of the "name=" locator

2005-11-05 Thread David Kemp
[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

[Selenium-devel] check/uncheck commands, and proposed extension of the "name=" locator

2005-11-05 Thread Mike Williams
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,

[Selenium-devel] Re: [Selenium-users] Problem with store

2005-11-05 Thread Mike Williams
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

Re: [Selenium-devel] Idea: a new "unsupported" failure state

2005-11-05 Thread Mike Williams
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