views:

87

answers:

2

Hi, I am looking for a web page automation tool in Perl. I want to be able to drive different browsers like IE, firefox etc from my test script. I have to automate a product web page with lots of input fields and loads of javascript. I do not want a custom browser like mechanize does. I used to work with Ruby before and there I used Watir. Is there something similar in Perl?

+3  A: 
David Dorward
Thanks, but Mechanize does not support Javascript. The web page(s) that I need to automate are fully dynamic and use a lot of javascript.http://search.cpan.org/~petdance/WWW-Mechanize-1.64/lib/WWW/Mechanize/FAQ.pod#I_have_this_web_page_that_has_JavaScript_on_it,_and_my_Mech_program_doesn't_work.
Anjali
WWW::Mechanize doesn't but the two modules I linked to do.
David Dorward
+3  A: 

Selenium-RC with WWW::Selenium could be what you're looking for. Tim Brockman has written about setting it up here: Selenium and Perl = tears of joy

Anders Lindahl