Re: [Catalyst] Using Selenium to test Catalyst app
You need to be running the Selenium-RC server yourself. You can get that from http://www.openqa.org/ -- -Scott McWhirter- | -konobi- On Tue, Jan 27, 2009 at 19:15, Daniel Austin wrote: > Hi > > Is anyone successfully using Test::WWW::Selenium::Catalyst? > > I can't get the module to install on Fedora. Looking at "reports > JROCKWAY/Test-WWW-Selenium-Catalyst-0.02.tar.gz" in cpan suggests that most > people can't. Have had a look at the doco and checked firefox-bin is in my > path and LD_LIBRARY_PATH is set but no joy. > > The actual error message I'm getting is > > Can't start selenium: Error requesting > http://localhost:/selenium-server/driver/: > > If I go to that URL in a browser Selenium responds but with a 403 error > "Forbidden for proxy". > > Have used Selenium successfully for both Rails and Java projects but I > confess that I find its internals opaque. > > Any ideas? Am running Perl 5.10.0. > > Thanks > > Dan > > > ___ > List: Catalyst@lists.scsys.co.uk > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ > Dev site: http://dev.catalyst.perl.org/ > > ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Using Selenium to test Catalyst app
On Wed, Jan 28, 2009 at 2:15 PM, Daniel Austin wrote: > Hi > > Is anyone successfully using Test::WWW::Selenium::Catalyst? > > I can't get the module to install on Fedora. Looking at "reports > JROCKWAY/Test-WWW-Selenium-Catalyst-0.02.tar.gz" in cpan suggests that most > people can't. Have had a look at the doco and checked firefox-bin is in my > path and LD_LIBRARY_PATH is set but no joy. > I edited the module to remove the bits which launched seleniumrc. It now works very nicely talking to selenium running in a vm. - Chris ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Using Selenium to test Catalyst app
> > > I edited the module to remove the bits which launched seleniumrc. It > now works very nicely talking to selenium running in a vm. > > I had luck grabbing the latest version of selenium-server.jar and copying that over $perl_dir/Alien/SeleniumRC/selenium-server.jar ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Using Selenium to test Catalyst app
On 28 Jan 2009, at 17:47, michael reddick wrote: I edited the module to remove the bits which launched seleniumrc. It now works very nicely talking to selenium running in a vm. I had luck grabbing the latest version of selenium-server.jar and copying that over $perl_dir/Alien/SeleniumRC/selenium-server.jar Given that _multiple_ people are hacking this to work correctly, wouldn't it make sense to send patches back to the author(s) so that it 'just works' for everyone else? Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Using Selenium to test Catalyst app
> > Given that _multiple_ people are hacking this to work correctly, wouldn't > it make sense to send patches back to the author(s) so that it 'just works' > for everyone else? Yes. In my case downloading the latest selenium-server.jar and installing it in Alien::SeleniumRC's module directory worked. I've e-mailed the author of Alien::SeleniumRC with the tip (thanks Michael). Dan ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Using Selenium to test Catalyst app
2009/1/29 Tomas Doran > Given that _multiple_ people are hacking this to work correctly, wouldn't > it make sense to send patches back to the author(s) so that it 'just works' > for everyone else? > So I volunteered to co-maintain Alien::SeleniumRC and the author has kindly given access. I've updated the selenium-server.jar and uploaded to CPAN. Should work for everyone now "out of the box." If you've got other hacks you think people would benefit from send 'em through. Dan ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Using Selenium to test Catalyst app
On 17 Feb 2009, at 02:04, Daniel Austin wrote: So I volunteered to co-maintain Alien::SeleniumRC and the author has kindly given access. I've updated the selenium-server.jar and uploaded to CPAN. Should work for everyone now "out of the box." You sir are a legend. I look forward to it 'just working' when I get to the point of wanting browser based acceptance tests for one of my applications in a couple of months. Cheers t0m ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/