I think everything is working. There are some things I'd still like to do:
- Custom commands are currently exported as commented out which they don't need to be given Grails Selenium RC test cases can call Javascript extension functions directly.
- I haven't yet figured out how to output a command such as
selenium.waitForAlertPresent()
rather thanselenium.waitFor { selenium.isAlertPresent() }
The Firefox plugin is available from Selenium HQ. You will need to have Selenium IDE installed for it to work, obviously. Once installed you should find options
- Export Test Case As -> Grails Selenium RC (JUnit 3)
- Export Test Case As -> Grails Selenium RC (JUnit 4)
Whilst I would certainly not leave the exported test case as is it's a quick way to get started. From the exported script you can easily refactor out some page objects or helper methods.
306 comments:
«Oldest ‹Older 401 – 306 of 306Post a Comment