I've already downloaded IntelliJ, community version and the trunk line of the source code. I was just hoping that I could get it to compile in eclipse. I'll try tomorrow to get it working in IntelliJ and see if I can narrow down the problem.
Thanks, KevinO On May 26, 7:33 pm, Jian Fang <[email protected]> wrote: > I cannot figure out the problem until see more detailed stack trace. > > If you like to debug the code, I would suggestion you check out the > whole tellurium project trunk, load up the project to IntelliJ IDEA > (community version is fine), and then create your test case in the core > project. After that, you can debug every line of the code of Tellurium. > There are also many test cases in the core project, which can be used as > examples for you. > > The @Provider is provided by the tellurium injector module, do you have that > jar file in your class path? > > Thanks, > > Jian > > On Thu, May 26, 2011 at 7:36 PM, KevinO <[email protected]> wrote: > > 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. > > -- 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.
