Hi Shivaraju,
If you are using ActivePerl on Windows, you have several ways to point Perl to the location of the Selenuim Perl driver. One way to do so is by adding the following instruction at the beginning of you Perl script:
BEGIN {
push(@INC,"[your_path]/selenium-remote-control-1.0.1/selenium-perl-client-driver-1.0.1/lib");
}
Another way is to add push(@INC,"[your_path]/selenium-remote-control-1.0.1/selenium-perl-client-driver-1.0.1/lib"); to the
sitecustomise.pl file in your ~/perl/site/lib directory.
As to the necessary Selenium modules, when you use Selenium IDE (FireFox plug-in), it automatically adds the following set of Selenium modules to the Perl scripts that it generates:
use Test::WWW::Selenium;
use Test::More "no_plan";
use
Test::Exception;
I have not tried removing any of these. If you use just WWW::Selenium instead of Test::WWW::Selenium, you will lose all the reporting/logging capabilities of Selenium commands execution success/failure (that is, you can use all the commands, like sel->click() or sel->is_element_present(), but not sel->click_ok() nor sel->is_element_present_ok(), for instance).
Best,
Mark