Thanks Tiffany!

On Feb 11, 11:28 am, Tiffany Fodor <[email protected]> wrote:
> Hi Matt!
>
> You're on the right track, but verifying text is a bit different.
> Give this a try:
>
> verify(($browser.text.include?("Find Offer")), message="Field not
> active.")
>
> Hope this helps!
>
> -Tiffany
>
> On Feb 11, 7:46 am, Matt <[email protected]> wrote:
>
> > Hi,
>
> > I have another question about the verify method. Can it be used to
> > verify text on a page? I tried using it like this:
>
> > verify(($browser.text("Find Offer").exists?), message="Field not
> > active.")
>
> > Received the following error:
>
> > ArgumentError: wrong number of arguments (1 for 0)
>
> > Thanks!
>
> > Matt

-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to