GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HTTP::WebTest::Plugin::Click(3) User Contributed Perl Documentation HTTP::WebTest::Plugin::Click(3)

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

    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

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

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.

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.

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 (c) 2001-2003 Ilya Martynov. All rights reserved.

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

HTTP::WebTest

HTTP::WebTest::API

HTTP::WebTest::Plugin

HTTP::WebTest::Plugins

2003-09-05 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.