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 On Wed, Jan 5, 2011 at 2:55 PM, Matt <[email protected]> wrote: > Hello, > > I've been having a lot of success with Tellurium, but I've stumbled > across an input field that I can't seem to get my tests to recognize. > I was wondering if anyone might have an idea for properly locating the > field? > > The facts are these: > * I'm targeting the input field using it's ID attribute, which is > unique (this was the first thing I checked...). > * The input field is initially hidden, and displayed with JavaScript > (Prototype framework) once other portions of the form are filled out. > * "isElementPresent" returns false before and after the input field is > made visible. Every other input field on the page returns "true" when > tested. > * This one input field has an event listener (Prototype "Event") > attached to it, which changes the input field's class when it receives > focus/blur events (why didn't they use CSS onfocus/onblur like they > did on every other input field on the page? No clue...). > > I was wondering if the event listener is somehow keeping Tellurium > from finding the input field? Or if something else could be getting in > the way? Any suggestions on where to look for a solution/get a clearer > idea of what's going wrong would be greatly appreciated! > > I'd love to provide more details, but I'm limited in what I can say > (company policy and all that jazz...). > > Thanks for the help! > - Matt > > -- > 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.
