NAME

Socialtext::WikiFixture::Selenese - Executes wiki tables using Selenium RC

DESCRIPTION

This class executes wiki tables using Selenium Remote Control. Test tables contain 3 columns:

| *Command* | *Option1* | *Option2* |

This module will attempt to convert selenese into proper calls to Test::WWW::Selenium, otherwise the calls will be passed straight to Test::WWW::Selenium.

FUNCTIONS

new( %opts )

Create a new fixture object. Options:

host

Mandatory - specifies the Selenium server to connect to

port

Optional - specifies the port of the Selenium server (default: 4444)

browser_url

Mandatory - Passed to WWW::Selenium constructor, specifies where the browser should connect to.

init()

Called by the constructor. Creates a Test::WWW::Selenium object which asks the Selenium Server to launch a browser.

end_hook()

Called by the test plan after testing has finished. Kills the browser.

handle_command()

Called by the test plan to execute each command.

click_and_wait()

Clicks and waits.

text_present_like()

Search entire body for given text

AUTOLOAD

Any functions not specified are passed to Test::WWW::Selenium

AUTHOR

Luke Closs, <luke.closs at socialtext.com>

BUGS

Please report any bugs or feature requests to bug-socialtext-editpage at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Socialtext-WikiTest. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Socialtext::WikiFixture::Selenese

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2006 Luke Closs, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.