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
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- markup_parsing, create_folder_with_page, create_form_with_form_instance
Source code: acs::test::dom_html root $body { set form_data [::acs::test::xpath::get_form $root $xpath] } return $form_dataXQL Not present: Generic, PostgreSQL, Oracle