As mentioned in some of the previous posts, we are adding Selenium Grid
support to the Tellurium therefore the core is not stable at the moment. Can
you please get a latest version of the parent POM and do mvn clean install,
it should automatically download the jar files necessary for Selenium Grid.

Let me know if it does not work.


Thanks
Haroon

2009/4/23 dazz_x <[email protected]>

>
> same thing for us, but we manage to handle it
> you have to include a new selenium dependency
> groupid : org.openqa.selenium.grid
> artifactid : selenium-grid-tools
> version : 1.0.2
>
> and all works fine
> It's in the maven central repo, I think
>
> dazz
>
> On Apr 23, 1:07 pm, Ernst <[email protected]> wrote:
> > Hi,
> >
> > so I've been working with Tellurium for a few days now, but today
> > everything stopped working.
> > I'm suspecting that Maven pulled in some update but I don't know for
> > sure and what.
> >
> > For example today I can't even run the demo from the wikihttp://
> code.google.com/p/aost/wiki/TenMinutesToTellurium
> >
> > Anyone seen this or has any idea what could be causing this?
> >
> > ~/demo$ more target/surefire-reports/test.GoogleSearchTestCase.txt
> >
> -------------------------------------------------------------------------------
> > Test set: test.GoogleSearchTestCase
> >
> -------------------------------------------------------------------------------
> > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 7.281
> > sec <<< FAILURE!
> > test.GoogleSearchTestCase  Time elapsed: 0 sec  <<< ERROR!
> > java.lang.NoClassDefFoundError:
> > com.thoughtworks.selenium.grid.tools.ThreadSafeSeleniumSessionStorage
> >         at org.tellurium.connector.CustomSelenium.class$
> > (CustomSelenium.groovy)
> >         at
> org.tellurium.connector.CustomSelenium.$get$$class$com$thoughtworks
> > $selenium$grid$tools$ThreadSafeSeleniumSessionStorage
> > (CustomSelenium.groovy)
> >         at org.tellurium.connector.CustomSelenium.startSeleniumSession
> > (CustomSelenium.groovy:33)
> >         at
> org.tellurium.connector.CustomSelenium$startSeleniumSession.call
> > (Unknown Source)
> >         at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall
> > (CallSiteArray.java:43)
> >         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
> > (AbstractCallSite.java:116)
> >         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
> > (AbstractCallSite.java:136)
> >         at
> org.tellurium.connector.SeleniumConnector.connectSeleniumServer
> > (SeleniumConnector.groovy:57)
> >         at org.tellurium.connector.SeleniumConnector
> > $connectSeleniumServer.call(Unknown Source)
> >         at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall
> > (CallSiteArray.java:43)
> >         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
> > (AbstractCallSite.java:116)
> >         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
> > (AbstractCallSite.java:120)
> >         at org.tellurium.framework.TelluriumFramework.start
> > (TelluriumFramework.groovy:102)
> >         at org.tellurium.framework.TelluriumFramework$start.callCurrent
> > (Unknown Source)
> >         at
> > org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent
> > (CallSiteArray.java:47)
> >         at
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent
> > (AbstractCallSite.java:142)
> >         at
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent
> > (AbstractCallSite.java:146)
> >         at org.tellurium.framework.TelluriumFramework.start
> > (TelluriumFramework.groovy:108)
> >         at org.tellurium.test.java.TelluriumJavaTestCase.setUpForClass
> > (TelluriumJavaTestCase.java:23)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >         at
> org.junit.internal.runners.ClassRoadie.runBefores(ClassRoadie.java:
> > 49)
> >         at org.junit.internal.runners.ClassRoadie.runProtected
> > (ClassRoadie.java:36)
> >         at org.junit.internal.runners.JUnit4ClassRunner.run
> > (JUnit4ClassRunner.java:42)
> >         at org.apache.maven.surefire.junit4.JUnit4TestSet.execute
> > (JUnit4TestSet.java:62)
> >         at
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet
> > (AbstractDirectoryTestSuite.java:140)
> >         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute
> > (AbstractDirectoryTestSuite.java:127)
> >         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >         at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess
> > (SurefireBooter.java:345)
> >         at org.apache.maven.surefire.booter.SurefireBooter.main
> > (SurefireBooter.java:1009)
> >
> > test.GoogleSearchTestCase  Time elapsed: 0.007 sec  <<< ERROR!
> > java.lang.NoClassDefFoundError:
> > com.thoughtworks.selenium.grid.tools.ThreadSafeSeleniumSessionStorage
> >         at org.tellurium.connector.CustomSelenium.class$
> > (CustomSelenium.groovy)
> >         at
> org.tellurium.connector.CustomSelenium.$get$$class$com$thoughtworks
> > $selenium$grid$tools$ThreadSafeSeleniumSessionStorage
> > (CustomSelenium.groovy)
> >         at
> org.tellurium.connector.CustomSelenium.getActiveSeleniumSession
> > (CustomSelenium.groovy:55)
> >         at org.tellurium.connector.CustomSelenium
> > $getActiveSeleniumSession.call(Unknown Source)
> >         at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall
> > (CallSiteArray.java:43)
> >         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
> > (AbstractCallSite.java:116)
> >         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
> > (AbstractCallSite.java:120)
> >         at
> org.tellurium.connector.SeleniumConnector.disconnectSeleniumServer
> > (SeleniumConnector.groovy:93)
> >         at org.tellurium.connector.SeleniumConnector
> > $disconnectSeleniumServer.call(Unknown Source)
> >         at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall
> > (CallSiteArray.java:43)
> >         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
> > (AbstractCallSite.java:116)
> >         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call
> > (AbstractCallSite.java:120)
> >         at org.tellurium.framework.TelluriumFramework.stop
> > (TelluriumFramework.groovy:143)
> >         at org.tellurium.test.java.TelluriumJavaTestCase.tearDownForClass
> > (TelluriumJavaTestCase.java:31)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >         at
> org.junit.internal.runners.ClassRoadie.runAfters(ClassRoadie.java:
> > 65)
> >         at org.junit.internal.runners.ClassRoadie.runProtected
> > (ClassRoadie.java:40)
> >         at org.junit.internal.runners.JUnit4ClassRunner.run
> > (JUnit4ClassRunner.java:42)
> >         at org.apache.maven.surefire.junit4.JUnit4TestSet.execute
> > (JUnit4TestSet.java:62)
> >         at
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet
> > (AbstractDirectoryTestSuite.java:140)
> >         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute
> > (AbstractDirectoryTestSuite.java:127)
> >         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >         at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess
> > (SurefireBooter.java:345)
> >         at org.apache.maven.surefire.booter.SurefireBooter.main
> > (SurefireBooter.java:1009)
> >
> > ~/demo$ mvn -e test
> > + Error stacktraces are turned on.
> > [INFO] Scanning for projects...
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Tellurium JUnit Test Project
> > [INFO]    task-segment: [test]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:compile]
> > [INFO] No sources to compile
> > [INFO] [groovy:compile {execution: default}]
> > [INFO]  No sources found to compile
> > [INFO] [resources:testResources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:testCompile]
> > [INFO] No sources to compile
> > [INFO] [groovy:testCompile {execution: default}]
> > [INFO]  No sources found to compile
> > [INFO] [antrun:run {execution: compile-java-test}]
> > [INFO] Executing tasks
> > [INFO] Executed tasks
> > [INFO] [surefire:test]
> > [INFO] Surefire report directory: /home/ernst/demo/target/surefire-
> > reports
> >
> > -------------------------------------------------------
> >  T E S T S
> > -------------------------------------------------------
> > Running test.GoogleSearchTestCase
> > Parse configuration file: TelluriumConfig.groovy
> > Configure UI Object Builders using configuration file
> > Configure widget modules using configuration file
> > Configure event handler using configuration file
> > Configure data accessor using configuration file
> > Configure dispatcher using configuration file
> > Configure Embedded Selenium Server using configuration file
> > Error: No user-extensions.js found at given path: /home/ernst/demo/{}
> > 13:01:18.812 INFO - Java: Sun Microsystems Inc. 11.3-b02
> > 13:01:18.813 INFO - OS: Linux 2.6.28-11-generic i386
> > 13:01:18.814 INFO - v1.0-beta-2 [2571], with Core v1.0-beta-2 [2330]
> > 13:01:18.916 INFO - Version Jetty/5.1.x
> > 13:01:18.917 INFO - Started HttpContext[/selenium-server/driver,/
> > selenium-server/driver]
> > 13:01:18.918 INFO - Started HttpContext[/selenium-server,/selenium-
> > server]
> > 13:01:18.919 INFO - Started HttpContext[/,/]
> > 13:01:18.923 INFO - Started SocketListener on 0.0.0.0:4444
> > 13:01:18.924 INFO - Started org.mortbay.jetty.ser...@9fe84e
> > Configure Selenium Client using configuration file
> > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 7.281
> > sec <<< FAILURE!
> >
> > Results :
> >
> > Tests in error:
> >   test.GoogleSearchTestCase
> >   test.GoogleSearchTestCase
> >
> > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] There are test failures.
> >
> > Please refer to /home/ernst/demo/target/surefire-reports for the
> > individual test results.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.BuildFailureException: There are test failures.
> >
> > Please refer to /home/ernst/demo/target/surefire-reports for the
> > individual test results.
> >         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > (DefaultLifecycleExecutor.java:579)
> >         at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> > (DefaultLifecycleExecutor.java:499)
> >         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> > (DefaultLifecycleExecutor.java:478)
> >         at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> > (DefaultLifecycleExecutor.java:330)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > (DefaultLifecycleExecutor.java:291)
> >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > (DefaultLifecycleExecutor.java:142)
> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:
> > 315)
> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
> > 430)
> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > Caused by: org.apache.maven.plugin.MojoFailureException: There are
> > test failures.
> >
> > Please refer to /home/ernst/demo/target/surefire-reports for the
> > individual test results.
> >         at org.apache.maven.plugin.surefire.SurefirePlugin.execute
> > (SurefirePlugin.java:575)
> >         at org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > (DefaultPluginManager.java:451)
> >         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > (DefaultLifecycleExecutor.java:558)
> >         ... 16 more
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 16 seconds
> > [INFO] Finished at: Thu Apr 23 13:01:24 CEST 2009
> > [INFO] Final Memory: 17M/32M
> > [INFO]
> > ------------------------------------------------------------------------
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to