Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

mkirank (1219)

  (email not shown publicly)

I am from India, I am currently located in Dallas, Some of you may have met/seen me at YAPC::2005 []
my node on PerlMonks []

Journal of mkirank (1219)

Tuesday February 13, 2007
10:01 PM

Getting started with selenium

Version Details

Active Perl version 5.8.7
Selenium RC 0.9.0

1. Install Java 1.5
2. Install Alien-SeleniumRC via ppm
3. Install Test-WWW-Selenium via ppm
4. Install the selenium-IDE firefox extension
5. Install the xpath checker

Creating tests
1. Using selenium IDE create tests (helpful to some extent in generating the code) ,
       and save the tests . Do not forget to set the format to perl in Options->format
2. Start the selenium server I have manually installed Selenium RC so I go to the directory (Alien-SeleniumRC has a script)
, If you want to work with frames start selenium with a -multiWindow option (eg: java -jar selenium-server.jar -multiWindow)
3.Run your tests

Xpath Checker is used to get the Xpath

Example: $sel->click_ok("xpath=/html/body/table[2]/tbody/tr/td/form/table/tbody/tr[9]/td[ 3]/a");

For Pugs like setup which displays the results in HTML

1. Install Method::Alias via ppm (required for Test-TAP-Model)
2. Download and install from CPAN (via commandline could not find ppm) Test-TAP-Model-0.06
3. Install Petal via PPM (required for Test-TAP-HTMLmatrix)
4. Install Petal-utils via PPM (required for Test-TAP-HTMLmatrix)
5. Download and install from CPAN Test-TAP-HTMLMatrix-0.05 (commandline Install)
6. Install YAML via ppm
7. Install Html-Template via ppm
8. Install Regexp-Common via ppm
9. Install

get the following scripts from the Pugs repository

run the /some/sandbox/dir with selenium tests /some/www/file.html
For Data Driven Tests Luke Closs has written some Modules

Check out Wiki Tests
Monday December 18, 2006
07:01 PM

Anyone using Mac book Pro

I am planning on buying a Mac book Pro . I have never used a mac before and this will be my first mac. There seems to be some problems with the mac book pro machines as per this and this . Do you know of some one who has bought this ?. Any suggestions ?
Sunday October 08, 2006
07:55 PM

Not many perl talks at this conference

Though I am registered here for sometime ,this is my first Journal entry .. Yay!

some thoughts
FOSS.IN Is one of the biggest Open source conference in India , I had a chance to attend this in 2003. Its a pretty nice conference and each year speakers from around the world are invited to speak here, last year among their speakers were Alan Cox and Rasmus Lerdorf
I was looking at the schedules in 2005 and 2004 and was disappointed not to find any Perl talks (hope there is one this year), there are Ruby ,Python and PHP talks , there is a Ruby Conf scheduled to be held soon (I'm going to miss all of these :-( ).. I know there are some pretty good Ruby ,PHP and Python hackers there but not too many working on perl
I guess this is a pretty good market for Perl books and training {hint}. I know some trainers there who claim to know "PERL" and recommend some "PERL" books
Unlike here in the US we do not get Perl books as soon as they are released, it takes a few months , I had to order Higher Order Perl and Perl Best practices through amazon to be shipped in july last year and its pretty expensive to do it that way .
I am curious to know how perl books sell in India compared to other languages ?.

Some Interesting Links
Column in LWN by Jonathan Corbet was one of the speakers at the event, this give a pretty good Insight on the Indian software community
Take a look at This Video this line is to register for the conference .