Hello Jian,

Thanks for the help! Diagnose and Dump are really helpful.

Turns out I forgot to call defineUi()... so, yeah... *sigh*

On Nov 5, 12:21 pm, Jian Fang <[email protected]> wrote:
> Did you see the call on the inputbox made to the selenium server from the
> log?
>
> If it is the tellurium core side error such as "UI Object could not
> be found", which usually means some problem in your UI module definition.
> Could you post your
> UI module here? A quick test is to call the dump() method.
>
> http://code.google.com/p/aost/wiki/TheDumpMethod
>
> If this was caused by the fact that the Selenium core or Tellurium Engine
> could not
> find the element on the web at run time, you could use the diagnose() method
> to see what was wrong.
>
> http://code.google.com/p/aost/wiki/PracticalUseOfDiagnose
>
> If still the problem still cannot be resolved, please post your UI module,
> error stack, sample html snippet, and test code.
> Thanks,
>
> Jian
>
> On Fri, Nov 5, 2010 at 2:58 PM, Matt <[email protected]> wrote:
> > I've been using tellurium for a few weeks, and so far it's been very
> > helpful. But I've run into a bug that's stumped me.
>
> > I'm writing a test for form containing an input field and two buttons.
> > The form, input field, and button all have unique IDs. So this should
> > be easy...
>
> > Unfortunately the page isn't cooperating. Despite checking for typos
> > and adding pauses to give the page time to load, I get "cannot find UI
> > Object" every time I try to access the input field.
>
> > So I tried running "println(isElementPresent(uid))" on the form to see
> > if it was finding that on the page. This returned "UI Object could not
> > be found" instead of printing the result of the test to console.
>
> > ... which strikes me as odd, since the point of that method is to
> > return true/false if the element is present... it shouldn't fail the
> > test if the element isn't there.
>
> > If anyone knows what might be behind these troubles, I'd very much
> > appreciate the help.
>
> > Thanks!
>
> > --
> > 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]<tellurium-users%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/tellurium-users?hl=en.

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