[Catalyst] Session problems with IE and cookies

David Morel david.morel at amakuru.net
Sat Mar 3 20:21:13 GMT 2007


Le 2 Mar 2007 à 02:15, Kieren Diment a écrit :

> On 02/03/07, Dylan Vanderhoof <DylanV at semaphore.com> wrote:
> I'm not really sure how to write a test case for something that  
> only fails using IE (as best I can tell).
>
> Any suggestions?
>
>
> That's why I suggested HTTP::Recorder.  Then convert the recording  
> to a Test::WWW::Mechanize[::Catalyst] script.
>
> However, as I noted, HTTP::Recorder is a bit buggy and so it might  
> not work :(
>
> And even if it does, it might turn out to be a heisenbug :-((
>

Test::WWW::Selenium is your friend. I setup some front-end tests with  
it, using the Firefox plugin to quickly have a working skeleton then  
looping over this using Test::LectroTest, and I found it very easy to  
run, and incredibly powerful. Much easier than writing T:W:Mechanize  
based tests, all the more so as I never could have Recorder DWIM :)  
You have to use the selenium rc, but the setup is far from complex.

David Morel



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 155 bytes
Desc: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070303/911a8b4c/PGP.pgp


More information about the Catalyst mailing list