acs::test::get_form (public)

 acs::test::get_form body xpath

Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl

Locate the HTML forms matching the XPath expression and retrieve its HTML attributes and the formfields in form of a Tcl dict. This is a convenience function, combining acs::test::dom_html and ::acs::test::xpath::get_form.

Parameters:
body (required)
xpath (required)
Returns:
Tcl dict with form attributes (starting with "@" and fields)
Author:
Gustaf Neumann
See Also:
  • acs::test::dom_html ::acs::test::xpath::get_form

Testcases:
markup_parsing, create_folder_with_page, create_form_with_form_instance
[ show source ]
Show another procedure: