Last updated by fletcherr 2 years ago
Writing Selenium Tests
Selenium tests should be placed under thetest/selenium directory. As with other test types you can use packages to group your tests if
you wish.You should not extend any of the base test classes in the Selenium API such asThere are several options available for writing Selenium tests: You are not limited to writing Selenium tests as JUnit test cases.SeleneseTestCaseorGroovySeleneseTestCaseas these tests will attempt to create a separate Selenium instance (and open another browser window) for every single test! The plugin starts a Selenium instance for you whengrails test-appruns the functional test phase. Your tests simply need to connect to that running Selenium instance.



