I guess, a list if UID's would be better.

It seems, that it is an issue 449 "449: Add findByXXXX methods to UI
module" - commented that issue.

Thanks for a great tool and a quick reply!

On 22 окт, 20:34, Jian Fang <[email protected]> wrote:
> Good question. We haven't thought of this yet. Seems you need two
> enhancements to Tellurium UI module, i.e.,
>
> 1) Add custom attribute to UI objects
> 2) a "find" method that return the UI objects satisfying some search
> criteria
>
> My question is what do you want Tellurium to return for the find method,
> a list of UIDs or a list of the UI objects themselves?
>
> I would suggest you create an issue in the following Tellurium issue page as
> a feature request,
>
> http://code.google.com/p/aost/issues/list
>
> we could add this feature to 0.8.0 snapshot.
>
> Thanks,
>
> Jian
>
>
>
>
>
>
>
> On Fri, Oct 22, 2010 at 1:02 PM, Roignac <[email protected]> wrote:
> > Hi everyone,
>
> > During my tests, I'm checking whether required element are present on
> > the page, so I'm storing a humn-readable element name and its UID in
> > the Hashmap and check it later. This solution works pretty fine, but
> > it not really convinient.
>
> > Is there a way to add a user-defined element in UI declaration, e.g.:
>
> > ui.Container(uid: "SearchModule", clocator: [tag: "td"], group:
> > "true") {
> >      InputBox(uid: "Input", clocator: [title: "Google Search"],
> > required: "true")
> >      SubmitButton(uid: "Search", clocator: [name: "btnG", value:
> > "Google Search"], someAttribute: "some value")
> >      SubmitButton(uid: "ImFeelingLucky", clocator: [value: "I'm
> > Feeling Lucky"], someOtherAttribute: "some other value" )
> >    }
>
> > Is there any way of finding all elements with specified attributes
> > (e.g. which have "required" == true) and reading other attributes
> > (e.g. reading someAttribute)?
>
> > --
> > 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%2Bunsubscribe@ 
> > googlegroups.com>
> > .
> > 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