WWW::Selenium::Utils - helper functions for working with Selenium
use WWW::Selenium::Utils qw(generate_suite); # convert .wiki files to .html and create TestSuite.html generate_suite( test_dir => "/var/www/selenium/tests", quiet => 0, );
This package contains utility functions for working with Selenium.
generate_suite() will convert all .wiki files in selenium/tests to .html, and then create a TestSuite.html file that contains links to all the .html files.
generate_suite()
The .wiki files are much easier to read and write. The format of .wiki files is like this:
title | cmd | opt1 | opt2 | | cmd | opt1 | # comment # empty lines are ignored # comments are ignored too
If you set the quiet option to 0 when calling generate_suite, the function will print lines detailing what it is doing.
quiet
Uses CGI.
There are no known bugs in this module. Please report problums to Luke Closs (cpan@5thplane.com). Patches are welcome.
Luke Closs (cpan@5thplane.com)
Copyright (c) 2005 Luke Closs (cpan@5thplane.com). All rights reserved.
This module is free software; you can redstribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install WWW::Selenium::Utils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Selenium::Utils
CPAN shell
perl -MCPAN -e shell install WWW::Selenium::Utils
For more information on module installation, please visit the detailed CPAN module installation guide.