NAME
WWW::Selenium::Utils - helper functions for working with Selenium
SYNOPSIS
use WWW::Selenium::Utils qw(generate_suite);
# convert .wiki files to .html and create TestSuite.html
generate_suite( selenium_dir => "/var/www/selenium",
quiet => 0,
);
DESCRIPTION
This package contains utility functions for working with Selenium.
SUBROUTINES
generate_suite
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.
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
DIAGNOSTICS
If you set the quiet
option to 0 when calling generate_suite, the function will print lines detailing what it is doing.
DEPENDENCIES
Uses CGI.
BUGS AND LIMITATIONS
There are no known bugs in this module. Please report problums to Luke Closs (cpan@5thplane.com). Patches are welcome.
AUTHOR
Luke Closs (cpan@5thplane.com)
LICENCE AND COPYRIGHT
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.