I've just had the latest updates that happened over easter come in,
I've updated my pom's to add the new dependency and update selenium to
1.0.1-te3-SNAPSHOT however my tests are failing on the following, very
simple definition.
ui.Container(uid: "header", locator: "//table[@class =
'outerBox']/tbody/tr[1]") {
Container(uid: "nav", clocator: [tag: "table"]) {
UrlLink(uid: "logout", clocator: [href: "*logout.do"])
}
}
As I've used xpath here I tried adding a call to disableCssSelector()
however this has no effect. Stacktrace is below.
Do I really have to go through and change out all of my XPaths? Or is
there another configuration directive I should try?
Regards,
Jonathan
java.lang.NullPointerException: Cannot invoke method getId() on null object
at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:17)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:54)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
at org.telluriumsource.ui.builder.UiObjectBuilder.internBuild(UiObjectBuilder.groovy:86)
at org.telluriumsource.ui.builder.UiObjectBuilder$internBuild.callCurrent(Unknown
Source)
at org.telluriumsource.ui.builder.ContainerBuilder.build(ContainerBuilder.groovy:16)
at org.telluriumsource.ui.builder.ContainerBuilder$build.call(Unknown
Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.telluriumsource.ui.builder.UrlLinkBuilder$build.call(Unknown
Source)
at org.telluriumsource.dsl.UiDslParser.createNode(UiDslParser.groovy:152)
at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:96)
at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:64)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:129)
--
You received this message because you are subscribed to the Google Groups "tellurium-users" group.
To post to this group, send email to telluri...@googlegroups.com.
To unsubscribe from this group, send email to tellurium-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en.
'{' 'header' ':' INDEX '}' 'as' IDSince the "header" is reserved as a token, ANTLR 3 tried to match the grammar 'header' : index. Similarly,