That got me a little further. org.telluriumsource.exception.TelluriumException: Cannot start selenium: Could not start Selenium session: I believe that Selenium is error out here: org.telluriumsource.component.connector.CustomSelenium.startSeleniumSession(CustomSelenium.groovy: 66)
I'm trying to get the source code to compile in eclipse so that I can debug this but am getting "The annotation @Provider must define the attribute type" error. I tried this in 0.8.0-RC1 and then updated to 0.8.0-RC2 and got the same error. Thanks for the help. On May 26, 5:01 pm, Jian Fang <[email protected]> wrote: > You should call connectSeleniumServer() before you call connectUrl(). > > The comment out is fine because the Tellurium Injector framework will > automatically inject the instance to the > Selenium connector. > > Try this, > > @BeforeClass > public static void initUi() { > Logon = new LogonModule(); > connectSeleniumServer(); > } > > @Test > public void testEnvironment() { > setCustomConfig(true, 5555, "*firefox", true, ""); > connectUrl("http://localhost/"); > assertEquals("output", "output"); > } > > Thanks, > > Jian > > On Thu, May 26, 2011 at 1:06 PM, KevinO <[email protected]> wrote: > > I have the following code: > > > public class TestingTestCase extends TelluriumJUnitTestCase { > > > //private static Logger logger = > > Logger.getLogger(TestingTestCase.class.getName()); > > private static LogonModule Logon; > > @BeforeClass > > public static void initUi() { > > Logon = new LogonModule(); > > } > > @Test > > public void testEnvironment(){ > > setCustomConfig(true, 5555, "*firefox", true, ""); > > connectUrl("http://localhost/"); > > assertEquals("output","output"); > > } > > } > > > I'm getting a Cannont invoke method open() on null object. It is > > referencing to the method > > org.telluriumsource.component.connector.SeleniumConnector.connectUrl() > > > I noticed in the class that connectSeleniumServer() has the > > instantiation of the sel object comment out. This would lead to the > > issues of that object being null. Have I missed something in setup? > > > The following is my stack trace:http://paste.scsys.co.uk/107533 > > > -- > > You received this message because you are subscribed to the Google Groups > > "tellurium-users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/tellurium-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en.
