That is wired. I don't see any reason why "$Confirmation" does not work because the text is only a String variable in Java/Groovy. Are you using XPath or jQuery selector as the locator?
On Wed, Nov 18, 2009 at 7:19 PM, super fan 911 <[email protected]>wrote: > I spend almost entire day trying to fix this: > > TextBox(uid: "confirmation", clocator: [tag: "h3", text: > "$Confirmation"]) > > In the end, it turns out the double quote was the root cause. I had > to change to this, > > TextBox(uid: "confirmation", clocator: [tag: "h3", text: > '$Confirmation']) > > Can you explain why that's the case? > > - Super Fan 911 > > On Nov 17, 5:02 pm, Jian Fang <[email protected]> wrote: > > Look here, > > > > http://code.google.com/p/aost/wiki/UserGuide070AppendixB#How_to_do_At... > > > > You can use > > > > TextBox(uid: "confirmation", clocator: [tag: "h3", text: > "$Confirmation"]) > > > > On Tue, Nov 17, 2009 at 6:15 PM, super fan 911 <[email protected] > >wrote: > > > > > We have a page that returns a message after it processes a job, the > > > returned message is dynamic like this: > > > > > "Confirmation xyz" > > > > > So, my current UI definition looks like this: > > > > > TextBox(uid: "confirmation", clocator: [tag: "h3", text: "Confirmation > > > 123"]) > > > > > '123' changes dynamically, how can i tell tellurium to do partial > > > match. ie. ignore anything after 'Confirmation' > > > > > - Super fan 911 > > > > > -- > > > > > 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]> > <tellurium-users%[email protected]<tellurium-users%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/tellurium-users?hl=. > > -- > > 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=. > > > -- 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=.
