Package zope :: Package testing :: Module formparser
[show private | hide private]
[frames | no frames]

Module zope.testing.formparser

HTML parser that extracts form information.

This is intended to support functional tests that need to extract information from HTML forms returned by the publisher.

See formparser.txt for documentation.


Classes
Form A specific form within a page.
FormCollection Collection of all forms from a page.
FormParser  
Input Input element.
Option Individual value representation for a select element.
Select Select element.

Function Summary
  intattr(d, name)
Return attribute as an integer, or None.
  kwattr(d, name, default)
Return attribute, converted to lowercase.
  parse(data, base)
Return a form collection parsed from data.

Function Details

intattr(d, name)

Return attribute as an integer, or None.

kwattr(d, name, default=None)

Return attribute, converted to lowercase.

parse(data, base=None)

Return a form collection parsed from data.

base should be the URL from which data was retrieved.


Generated by Epydoc 2.1 on Fri Jun 24 12:01:23 2005 http://epydoc.sf.net