Grails-Write Selenium code inside a EasyB scenario.

Posted by WaZ on Stack Overflow See other posts from Stack Overflow or by WaZ
Published on 2010-04-27T16:13:15Z Indexed on 2010/04/27 23:23 UTC
Read the original article Hit count: 212

Filed under:
|
|

I am trying to write some selenium inside my scenario's. However, when I try to start Selenium using the following code:

before "start selenium", {
given "selenium is up and running", {
selenium = new DefaultSelenium("localhost",
4444, "*firefox", "http://www.google.com.my/")
selenium.start()
}

I get an error:

Error running easyb tests: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, : 7: unable to resolve class DefaultSelenium 

I am trying to implement something like this http://www.theserverside.com/news/thread.tss?thread_id=55184

Much appreciated.

© Stack Overflow or respective owner

Related posts about grails

Related posts about selenium