HTTPUnit, JWebUnit et al would probably work, or maybe something like
PureTest from Minq software.
 
-Jonathan


________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Wood
        Sent: November 10, 2005 7:40 PM
        To: [email protected]
        Subject: Re: [Wtr-general] Setting request headers
        
        
        Hmm, I don't know of a way to do this with WATiR.
        
        I would simply do it with a direct HTTP client... YMMV
        
        j.
        
        
        On 11/10/05, Cecil <[EMAIL PROTECTED]> wrote: 

                Hi,
                
                Would someone share an example or supply links
                demostrating how to set and get headers the browser
                will send with the HTTP request?
                
                I'm trying to create tests using watir for a site
                where the returned content differs by header (such as 
                Accept-Language) values.
                
                
                Thanks,
                -Cecil
                
                
                
                
                
                
                __________________________________
                Yahoo! Mail - PC Magazine Editors' Choice 2005
                http://mail.yahoo.com <http://mail.yahoo.com> 
                _______________________________________________
                Wtr-general mailing list
                [email protected]
                http://rubyforge.org/mailman/listinfo/wtr-general
                




        -- 
        "Remember. Understand. Believe. Yield! -> http://ruby-lang.org";
        
        Jeff Wood 


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

Reply via email to