Hi
   I have used the wild card characters for id. (i.e. id="*pattern1") . I
had used this with XPath Selector.  The JQuerySelector is very flexible and
allows for pattern matching but I have really not used it

Regards
Hari

On Tue, Nov 3, 2009 at 1:54 PM, Liang HE <[email protected]> wrote:

> Hi guys,
>
> In the application I am testing, some of the key values such as text of UI
> elements are not able to be predicted at scripting time. For example, I am
> expecting a text box  to display a random string. The string can be read
> from an external DB which is read only to us.
>
> Can we define ui elements using wildcard or variables?
>
> TextBox(uid: "p2", clocator: [tag: "p", text: "$stringVariable"])
>  or
> TextBox(uid: "p2", clocator: [tag: "Abcd*"])
> TextBox(uid: "p2", clocator: [tag: "Abcd?"])
>
> Thanks,
> Liang
>
> >
>

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