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


HTTP-WebTest documentation  | view source Contained in the HTTP-WebTest distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    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

Top

This plugin lets you use the names of links and buttons on HTML pages to build test requests.

TEST PARAMETERS

Top

click_button

Given name of submit button (i.e. <input type="submit"> tag or <input type="image"> inside of <form> tag) on previously 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 (HTTP::WebTest::Cookbook).

Example

See example in HTTP::WebTest::Cookbook (HTTP::WebTest::Cookbook).

form_name

Give form name attribute (i.e. <form name="foo">) on previously 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.

COPYRIGHT

Top

SEE ALSO

Top

HTTP::WebTest

HTTP::WebTest::API (HTTP::WebTest::API)

HTTP::WebTest::Plugin

HTTP::WebTest::Plugins (HTTP::WebTest::Plugins)


HTTP-WebTest documentation  | view source Contained in the HTTP-WebTest distribution.