how about this?

def test_something 

                begin
                      ie.goto(some_url) 
                       assert_match("mystring",ie.html) 

                        @@log.info "PASS"
                rescue => e
                        @@log.info "FAIL"
                end     
end

this is off the top of my head, would this work?

-Pierre 

-----Original Message-----
From: Sy Ali [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 26, 2005 3:59 PM
To: [email protected]
Subject: Re: [Wtr-general] Is there a method to do ie.contains_html() ?


On 10/26/05, Chris McMahon <[EMAIL PROTECTED]> wrote:
> assert_match("mystring",ie.html)

Could you wrap this up in a bit of code for me?  I don't understand
how to use it.

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to