Setting cacheable="false" didn't make a difference, though I don't
know whether I'm using Tellurium Core or Tellurium New Engine. Do you
know where I could find that information?
I've also tried defining a new UI module just for that input box,
making sure to "defineUi" after the element was visible on the page,
with no luck.
Lastly, here's a stack trace from trying to type to my mystery
element, and the locator I'm using:
InputBox(uid: "inputField", cacheable: "false", clocator:
[id:"unique_id"])
com.thoughtworks.selenium.SeleniumException: ERROR: Element
uimcal={"rid":"page.inputField","locator":"jquery=#unique_id"} not
found
at
com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:
97)
at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:
91)
at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite
$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:
229)
at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:
52)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:
128)
at
org.telluriumsource.component.connector.CustomSelenium.getBundleResponse(CustomSelenium.groovy:
257)
at sun.reflect.GeneratedMethodAccessor92.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
88)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
.... and lots more, but this seemed like the important bit.
Thanks for the help, btw!
On Jan 5, 12:49 pm, Jian Fang <
john.jian.f...@gmail.com> wrote:
> Hi Matt,
>
> Are you using Tellurium Core to generate runtime locators or using Tellurium
> new engine
> for group locating?
>
> Since the input field is hidden initially, Tellurium new Engine may have
> problem to locate
> it. You could set the "cacheable" attribute of the Input field to be false
> to see if you can
> workaround this problem.
>
> If it is the former case, please post the error stack here.
>
> Thanks,
>
> Jian
>
> >
tellurium-use...@googlegroups.com<
tellurium-users%2Bunsu...@googlegroups.com>
> > .