Hi this post is on configuring the Selenium RC to work with perl.
1.Record the Test suite using selenium ide and export it to Perl.
2.Open eclipse IDE and install the perl plugin for eclipse,if there is no plugin for perl in your eclipse previously.
3.Create a perl project in eclipse and copy the exported perl file to the project that was created in eclipse.
4.Install active perl .
5.Perl folder will be created after active perl installation.Add
perl\bin in Path environment variable.
6.Now install perl module for selenium in active perl.
7.Download the perl module for selenium from the following link.
http://search.cpan.org/~lukec/Test-WWW-Selenium-1.22/lib/WWW/Selenium.pm8.Extract the
tar.gz file
9.Now go to the selenium pm directory that was created when we extracted the tar.gz
through command line.The Name of the directory created was "Test-WWW-Selenium-1.13"
10.Execute the makeFile in "Test-WWW-Selenium-1.13" using the following command
in command line.
perl Makefile.pl11.After execution make the make file using command
nmake12.Some dependinces will be installed and once this process completed,install the nmake using command
nmake install13.After nmake and nmake install copy the "Test-WWW-Selenium-1.13" directory to the lib folder of perl
13.Open another command prompt and open Perl package manager using the command "PPM"
14.Perl Package Manager window will be opened.
15.There we will find "Test-WWW-Selenium-1.13" as a package name.
16.Right click on the package name,there we will find an option for installation.
17.Then the package will be marked for installation
18.Click on the Run button which is at the top of perl package manager.
19.Then Selenium module for perl will be installed.
20.Start testing selenium using perl as a scripting language.