Dear Michael,

At your code ...

if browser.text.include? ("Michael's group with other participants'.)

The quotings are not matching!

if browser.text.include? "Michael's group with other participants"

Abinoam Jr.

On Thu, Feb 13, 2014 at 6:51 PM, Michael Zawoysky <lists / ruby-forum.com> wrote:
> Hi,
>
> I am new to ruby.  I am using watir classic with ruby 1.9.3.
>
> I want to validate some displayed web page text containing special
> chars.
> ex:
>
> require 'watir'
> I then display the web page.
>
> if browser.text.include? ("Michael's group with other participants'.)
>      puts "verified"
> else
>      puts "not verified"
> end
>
> the script runs into errors when it see's the apostrophe.   How do you
> ignore or validate the apostrophe?
>
> Michael
>
> --
> Posted via http://www.ruby-forum.com/.