As Hari pointed out, wildcard works for the clocator and please read the FAQ here,
http://code.google.com/p/aost/wiki/UserGuide070AppendixB#How_to_do_Attribute_Partial_Matching_in_Tellurium On Tue, Nov 3, 2009 at 3:24 AM, 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 -~----------~----~----~----~------~----~------~--~---
