We updated the Tellurium core to upgrade to Selenium 1.0.1. Your problem is caused by the fact that Selenium 1.0.1 changed the multiple window flag to a single window flag and our core in trunk has been updated for that. Please update your Maven project to use the latest 0.6.0 snapshot and use custom server server 1.0.1-te.
Thanks, Jian On Mon, Jun 15, 2009 at 2:58 PM, Manoj Chavan <[email protected]>wrote: > Ok.. used org.junit.Assert.assertTrue() to continue. My code used to > compile and execute the tests with out any problem > Once I introduced this assert statement (sounds weird) I am now getting > this error. Nothing in my build/classpaths has changed. > What is missing. > > Regards, > > Manoj > > Configure Embedded Selenium Server using configuration file > groovy.lang.MissingPropertyException: No such property: singleWindow for > class: org.openqa.selenium.server.RemoteControlConfiguration > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:49) > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.setProperty(ScriptBytecodeAdapter.java:485) > at > org.tellurium.server.SeleniumServerDaemon.run(SeleniumServerDaemon.groovy:84) > at org.tellurium.server.SeleniumServerDaemon$run.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.server.EmbeddedSeleniumServer.setUpSeleniumServer(EmbeddedSeleniumServer.groovy:41) > at > org.tellurium.server.EmbeddedSeleniumServer$setUpSeleniumServer.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.server.EmbeddedSeleniumServer.runSeleniumServer(EmbeddedSeleniumServer.groovy:52) > at > org.tellurium.server.EmbeddedSeleniumServer$runSeleniumServer.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:97) > 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) > Configure Selenium Client using configuration file > Jun 15, 2009 11:53:49 AM > com.thoughtworks.selenium.grid.tools.ThreadSafeSeleniumSessionStorage > startSeleniumSession > INFO: Contacting Selenium RC at localhost:4444 > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 5.348 sec > <<< FAILURE! > > > *From:* Manoj Chavan <[email protected]> > *To:* [email protected] > *Sent:* Monday, June 15, 2009 11:11:20 AM > > *Subject:* Re: TrUMP Generated DSL. > > Hi Jian, > I Checked the POM file and see the following in the xml. > > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>4.4</version> > <scope>test</scope> > </dependency> > > How do I use the assert functionality? > > Manoj > > > *From:* Jian Fang <[email protected]> > *To:* [email protected] > *Sent:* Friday, June 12, 2009 5:39:25 PM > *Subject:* Re: TrUMP Generated DSL. > > TelluriumJavaTestCase extends BaseTelluriumJavaTestCase, which does not > extend TestCase. The reason is that we use JUnit 4.4 and higher to > leverage the JUnit annotations such as @Test, @Before, @BeforeClass, and so > on. Please check your pom file to see if you have JUnit 4 included. > > You can use > > *mvn dependency:tree* > > to show the dependency tree. > > Thanks, > > Jian > > On Fri, Jun 12, 2009 at 5:53 PM, Manoj Chavan <[email protected]>wrote: > >> Hi, >> >> Does TelluriumJavaTestCase extend TestCase? I am using >> 'assertTrue/assertEquals' in the test case >> and I am getting 'cannot find symbol; symbol: method >> assertTrue(boolean)/assertEquals(java.lang.String, java.lang.String); >> location : class test.BRHomepage ..... >> I tried "include org.junit.*;" in my header... I dont get any errors >> while building clean, but while executing 'Maven Test'. >> What am I missing. >> >> Regards, >> >> Manoj >> >> >> *From:* Jian Fang <[email protected]> >> *To:* [email protected] >> *Sent:* Wednesday, June 10, 2009 5:36:16 PM >> >> *Subject:* Re: TrUMP Generated DSL. >> >> Glad you got it working. Please let us know if you have any further >> questions. >> >> Thanks, >> >> Jian >> >> On Wed, Jun 10, 2009 at 6:18 PM, Manoj Chavan <[email protected]>wrote: >> >>> Thank you... that was it... dont know how I missed it... >>> Successfully ran my very first Tellurium test case... >>> >>> Manoj >>> >>> >>> *From:* Jian Fang <[email protected]> >>> *To:* [email protected] >>> *Sent:* Wednesday, June 10, 2009 2:55:30 PM >>> >>> *Subject:* Re: TrUMP Generated DSL. >>> >>> Seems you missed the "{" after the Container. The UI module should be >>> ui.Container(uid:"modulartab", colocator:[tag:"div",class: >>> "tabs"]){ >>> >>>> List(uid: "menu", clocator: [tag: "ul", id: >>>> "modular-tab-menu"],separator: "li"){ >>>> UrlLink(uid: "all", clocator: [:]) >>>> } >>>> >>> } >>> >>> Otherwise, the DSL parser cannot parse the UI module correctly. What does >>> "{}" mean here? >>> Actually, it represents a Groovy closure! >>> >>> On Wed, Jun 10, 2009 at 5:07 PM, Manoj Chavan <[email protected]>wrote: >>> >>>> >>>> >>>> Getting NoMethodFound exception for the following UI groovy definition. >>>> >>>> public class BRHomePage extends DslContext { >>>> public void defineUi() { >>>> ui.Container(uid:"modulartab", >>>> colocator:[tag:"div",class:"tabs"]) >>>> List(uid: "menu", clocator: [tag: "ul", id: >>>> "modular-tab-menu"],separator: "li"){ >>>> UrlLink(uid: "all", clocator: [:]) >>>> } >>>> } >>>> } >>>> >>>> >>>> groovy.lang.MissingMethodException: No signature of method: >>>> module.BRHomePage.List() is applicable for argument types: >>>> (java.util.LinkedHashMap, module.BRHomePage$_defineUi_closure1) values: >>>> [[uid:menu, clocator:[tag:ul, id:modular-tab-menu], separator:li], >>>> module.brhomepage$_defineui_closu...@916f80] >>>> at >>>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54) >>>> at >>>> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:78) >>>> 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:154) >>>> at module.BRHomePage.defineUi(BRHomePage.groovy:14) >>>> at test.BRHomePageTestCase.initUi(BRHomePageTestCase.java:21) >>>> 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) >>>> >>>> ----- Original Message ---- >>>> > From: John <[email protected]> >>>> > To: tellurium-users <[email protected]> >>>> > Sent: Wednesday, May 27, 2009 2:16:44 PM >>>> > Subject: Re: TrUMP Generated DSL. >>>> > >>>> > >>>> > You can use a List to represent the li elements. For example, >>>> > >>>> > List(uid: "menu", clocator: [tag: "ul", id: "modular-tab-menu"], >>>> > separator: "li"){ >>>> > UrlLink(uid: "all", clocator: [:]) >>>> > } >>>> > >>>> > Then you can use menu[1], menu[2],... to access each links. Here I >>>> > ignored other div and ul tags, >>>> > you can use Container to represent them if you need them. >>>> > >>>> > Future Trump version will support UI templates and will automatically >>>> > create List or Table for you. >>>> > Please be patient. >>>> > >>>> > Thanks, >>>> > >>>> > Jian >>>> > >>>> > On May 27, 4:50 pm, poweroftesting wrote: >>>> > > Hi, >>>> > > >>>> > > Below is my structure that I captured using the TrUMP plugin and >>>> the >>>> > > resultant >>>> > > generated DSL code. How do I modify to be able to access individual >>>> > > Tabs? >>>> > > Any help is greatly appreciated. >>>> > > >>>> > > Manoj >>>> > > >>>> > > ------------------- HTML Source >>>> > > ------------------------------ >>>> > > >>>> > > >>>> >>>> > > >>>> >>>> > > >>>> >>>> > > >>>> >>>> > > >>>> >>>> > > >>>> * >>>> > > French Open1 >>>> > > >>>> > > >>>> * >>>> > > French Open2 >>>> > > >>>> > > >>>> * >>>> > > French Open3 >>>> > > >>>> > > >>>> * >>>> > > French Open4 >>>> > > >>>> > > >>>> * >>>> > > French Open5 >>>> > > >>>> > > >>>> * >>>> > > French Open6 >>>> > > >>>> > > >>>> * >>>> > > French Open7 >>>> > > >>>> > > >>>> * >>>> > > French Open8 >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > ----------------------- Generated DSL using TrUMP plugin >>>> > > ------------------------- >>>> > > >>>> > > Container(uid: "div0", clocator: [tag: "div", class: "brui-tabs-nav- >>>> > > container"]){ >>>> > > TextBox(uid: "ul1", clocator: [tag: "ul", class: >>>> "brui-tabs-nav"]) >>>> > > >>>> > > } >>>> > >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>> >> >> >> >> >> > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
