Ok, I will try out your code. Which version of Tellurium are you using? 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.
