NAME

HTTP::WebTest::Plugin::Click - Click buttons and links on web page

SYNOPSIS

plugins = ( ::Click )

test_name = Some test
    click_link = Name of the link
end_test

test_name = Another test
    click_button = Name of the button
end_test

DESCRIPTION

This plugin allows to use names of links and button on HTML pages to build test requests.

TEST PARAMETERS

click_button

Given name of submit button (i.e. <input type="submit"> tag inside of <form> tag) on previosly requested HTML page builds test request to the submitted page.

Note that you still need to pass all form parameters yourself using params test parameter.

Example

See example in HTTP::WebTest::Cookbook.

Given name of link (i.e. <a> tag) on previosly requested HTML page builds test request to the linked page.

Example

See example in HTTP::WebTest::Cookbook.

COPYRIGHT

Copyright (c) 2001,2002 Ilya Martynov. All rights reserved.

This module is free software. It may be used, redistributed and/or modified under the terms of the Perl Artistic License.

SEE ALSO

HTTP::WebTest

HTTP::WebTest::API

HTTP::WebTest::Plugin

HTTP::WebTest::Plugins