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].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to