Trunk code use Selenium 1.0 Beta 2 and Groovy 1.5.7 or higher. Could you please try use the new selenium-server.jar and selenium-java-client- driver.jar?
Thanks, Jian On Feb 14, 4:50 am, Theyagarajan S <[email protected]> wrote: > On Sat, Feb 14, 2009 at 3:31 AM, <[email protected]> wrote: > > > I added two methods to DslContext > > > dragAndDrop(String uid, String movementsString), for example, > > dragAndDrop "test.button", "+70,-300" > > > dragAndDropTo(String sourceUid, String targetUid), for example, > > dragAndDropTo "test.button", "dst.container" > > > The code is updated in the trunk and a new jar file is uploaded to > > >http://groups.google.com/group/tellurium-users/web/tellurium-0.6.0.jar > > > But I cannot test it. Please test it for us and let us know if you > > have any problems. > > It actually didnt work. It threw an error > java.lang.NoClassDefFoundError: > org.openqa.selenium.server.RemoteControlConfiguration > at > org.tellurium.server.SeleniumServerDaemon.class$(SeleniumServerDaemon.groovy) > at > org.tellurium.server.SeleniumServerDaemon.run(SeleniumServerDaemon.groovy:70) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) > at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) > at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912) > at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756) > at > org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:778) > at > org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758) > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170) > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:198) > at > org.tellurium.server.EmbeddedSeleniumServer.setUpSeleniumServer(EmbeddedSeleniumServer.groovy:35) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) > at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) > at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912) > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78) > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:112) > at > org.tellurium.server.EmbeddedSeleniumServer.runSeleniumServer(EmbeddedSeleniumServer.groovy:46) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86) > at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230) > at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912) > at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756) > at > org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:778) > at > org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758) > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170) > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:198) > at > org.tellurium.framework.TelluriumFramework.start(TelluriumFramework.groovy:94) > at org.tellurium.test.java.TelluriumJavaTestCase.setUpForClass(Unknown > Source) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > 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 com.intellij.rt.junit4.Junit4ClassSuite.run(Junit4ClassSuite.java:99) > at > com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) > > it works fine in 0.5 though > > > > > > > Thanks, > > > Jian > > > On Feb 13, 9:37 am, [email protected] wrote: > > > We will add this api to Tellurium DslContext so that you can call in > > > your > > > UI module. Hopefully, it will be done by tonight. > > > > Thanks, > > > > Jian > > > > On Feb 13, 12:51 am, Theyagarajan S <[email protected]> wrote: > > > > > Hi, > > > > iam using the dragAndDrop (xpath,co-ordinates) API in selenium to test > > for > > > > mouse movements.is that API accessible from tellurium ? it throws a > > method > > > > not found exception . How are the selenium APIs made accessible ? > > -- > Theyagarajan S > Engineer ,www.BankBazaar.com > > Instantly get customized loan rate quotes from India's leading financial > institutions onwww.BankBazaar.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
