Hi all

How to write the groovy for the Assert and Dropdown field.

1. I have a page where i have to select "Country" and on recording the
script in trump its code is as follows:

TextBox(uid: "76", clocator: [tag: "option", text: "India", value:
"76"])

and i wrote it this way:

selectByLabel "Section.76", 'India'

but still its not working.

2. For finding the text on the page  i used the  assert command like
this way:
assertTrue(obj.getTitle().contains(Supplier_Update));

but if i have to search the text for the custom messages like
"Supplier updated" what is the way to write the assert command for
this.

Please  share your knowledge if someone have any suggestion.

Thanks

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