Tuesday, July 7, 2009

Configuring Perl client for Selenium RC

For those trying to use python as the programming language in Selenium RC, the documentation is in the below link:

http://seleniumhq.org/docs/05_selenium_rc.html

For Perl, use the below steps:

Asssuming Selenium RC is downloaded and selenium server is running as per the steps in the above link.

1) download perl and install it. Let's say it is now installed in C:Perl.
2) C:\Documents and Settings\Desktop\selenium-remote-control-1.0-bet
a-2-dist\selenium-remote-control-1.0-beta-2\selenium-perl-client-driver-1.0-beta
-2>perl Makefile.pl
3) C:\Documents and Settings\Desktop\selenium-remote-control-1.0-bet
a-2-dist\selenium-remote-control-1.0-beta-2\selenium-perl-client-driver-1.0-beta
-2>nmake
4) C:\Documents and Settings\Desktop\selenium-remote-control-1.0-bet
a-2-dist\selenium-remote-control-1.0-beta-2\selenium-perl-client-driver-1.0-beta
-2>nmake install

With this you are all set to export your cases as Perl and execute them.

1 comment: