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):
%3 test_create_folder_with_page create_folder_with_page (test xowf) acs::test::get_form acs::test::get_form test_create_folder_with_page->acs::test::get_form test_create_form_with_form_instance create_form_with_form_instance (test xowiki) test_create_form_with_form_instance->acs::test::get_form test_markup_parsing markup_parsing (test acs-automated-testing) test_markup_parsing->acs::test::get_form acs::test::dom_html acs::test::dom_html (public) acs::test::get_form->acs::test::dom_html acs::test::xpath::get_form acs::test::xpath::get_form (public) acs::test::get_form->acs::test::xpath::get_form acs::test::login acs::test::login (public) acs::test::login->acs::test::get_form file_storage::test::add_file_to_folder file_storage::test::add_file_to_folder (private) file_storage::test::add_file_to_folder->acs::test::get_form file_storage::test::create_new_folder file_storage::test::create_new_folder (private) file_storage::test::create_new_folder->acs::test::get_form file_storage::test::delete_current_folder file_storage::test::delete_current_folder (private) file_storage::test::delete_current_folder->acs::test::get_form file_storage::test::delete_first_file file_storage::test::delete_first_file (private) file_storage::test::delete_first_file->acs::test::get_form

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_data
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: