Se |
|
Deprecated: polluting the root namespace. |
_acs-automated-testing__d_selenium |
|
|
_acs-automated-testing__i_selenium |
|
|
aa::coverage::proc_coverage |
|
Calculates the test proc coverage of a particular package. |
aa::coverage::proc_coverage_level |
|
Calculates the level (high, medium, low...) of proc coverage from a
particular value. |
aa::coverage::proc_covered_p |
|
Checks if the proc 'proc_name' is covered by any automated test. |
aa::coverage::proc_list |
|
Creates a list of the procs belonging to a particular package, with its
current automated testing covered status, excluding deprecated, callback
contracts and not public procs. |
aa::percentage_to_color |
|
Calculates background and foreground color from a percentage. |
aa_add_rollback_test |
|
Add a test statement that is to be executed after a rollback block. |
aa_call_component |
|
Executes the chunk of code associated with the component_id. |
aa_check_leftovers |
|
#
# Perform cleanup tests to check for object/command leaks in
# either the called functions or in the test itself. |
aa_display_result |
|
Displays either a pass or fail result with specified explanation
depending on the given response. |
aa_end_rollback_block |
|
End a block of code that is to be rolled back in the db |
aa_equals |
|
Tests that the affirm_actual is equal to affirm_value.<p>
Call this function within a testcase, stub or component. |
aa_error |
|
Writes an error message to the testcase log.<p>
Call this function within a testcase, stub or component. |
aa_example_write_audit_entries |
|
|
aa_example_write_audit_entry |
|
|
aa_execute_rollback_tests |
|
Execute all test statements from a rollback block. |
aa_export_vars |
|
Called from an initialization class constructor or a component to
explicitly export the specified variables to the current testcase. |
aa_false |
|
Tests that affirm_expr is false. |
aa_get_first_url |
|
Procedure for getting the URL of a mounted package with the
package_key. |
aa_in_rollback_block_p |
|
Return 1 if we are in a block of code that is to be rolled back in the db
and 0 otherwise. |
aa_indent |
|
try to make it easier to read nested test cases. |
aa_log |
|
Writes a log message to the testcase log. |
aa_log_final |
|
|
aa_log_result |
|
Log a test result |
aa_register_case |
|
Registers a testcase with the acs-automated-testing system. |
aa_register_component |
|
Registers a reusable code component. |
aa_register_init_class |
|
Registers an initialization class to be used by one or more testcases. |
aa_run_testcase |
|
|
aa_run_with_teardown |
|
Execute code in test_code and guarantee that code in
teardown_code will be executed even if error is thrown. |
aa_runseries |
|
Runs a series of testcases. |
aa_section |
|
Writes a log message indicating a new section to the log files. |
aa_selenium_init |
|
Setup a global Selenium RC server connection |
aa_silence_log_entries |
|
Silence expected messages in the system log. |
aa_start_rollback_block |
|
Start a block of code that is to be rolled back in the db |
aa_stub |
|
Stubs a function. |
aa_test::get_test_doc |
|
Returns an XML doc with statistics for the most recent test results
on the server. |
aa_test::parse_install_file |
|
Processes the xml report outputted from install.sh for display. |
aa_test::parse_test_file |
|
Processes the xml report with test result data for display. |
aa_test::test_file_path |
|
|
aa_test::write_test_file |
|
Writes an XML file with statistics for the most recent test results
on the server. |
aa_test::xml_report_dir |
|
Retrieves the XMLReportDir parameter. |
aa_test_end |
|
Clear the flag indicating that a regressoin test is running. |
aa_test_running_p |
|
Check, if the regression test is currently running. |
aa_test_start |
|
Set the start flag of the regression test case. |
aa_true |
|
Tests that affirm_expr is true.<p>
Call this function within a testcase, stub or component. |
aa_unstub |
|
Copies (back) a proc with "_unstubbed" suffix to its supposedly
unpostfixed original name. |
aa_used_application_memory |
|
Return the currently used application memory. |
acs::test::confirm_email |
|
Confirms user email |
acs::test::detail_link |
|
Create a detail link, which is useful for web-requests, to
inspect the result in case a test fails. |
acs::test::dom_html |
|
Parses HTML into a tDOM object and executes some code. |
acs::test::find_link |
|
Find the first link based on the provided label and return the href. |
acs::test::follow_link |
|
Follow the first provided label and return the page info. |
acs::test::form_get_fields |
|
Get the fields from a form. |
acs::test::form_is_empty |
|
Check, if the form is empty |
acs::test::form_reply |
|
Send a (POST) request to the specified URL based on the
provided form_content which has the form of a dict. |
acs::test::form_set_fields |
|
Set the fields in a form. |
acs::test::get_form |
|
Locate the HTML forms matching the XPath expression and
retrieve its HTML attributes and the formfields in form of a
Tcl dict. |
acs::test::get_url_from_location |
|
Determine the URL based on the location field provided from
the result dict (as returned from acs::test::http). |
acs::test::http |
|
Run an HTTP request against the actual server inside test
cases. |
acs::test::login |
|
Login (register operation) in a web session |
acs::test::logout |
|
Logout from the current web session |
acs::test::reply_contains |
|
Convenience function for test cases to check, whether the
resulting page contains the given string. |
acs::test::reply_contains_no |
|
Convenience function for test cases to check, whether the
resulting page does not contain the given string. |
acs::test::reply_has_status_code |
|
Convenience function for test cases to check, whether the
reply has the given status code. |
acs::test::require_package_instance |
|
Returns a test instance of specified package_key mounted under
specified name. |
acs::test::selenium::Se |
|
Driver to control the test web tool Selenium. |
acs::test::set_user |
|
When (login) cookies are given as member of "session", use
these. |
acs::test::url |
|
|
acs::test::user::create |
|
Create a test user with random email and password for testing. |
acs::test::user::delete |
|
Remove a test user. |
acs::test::visualize_control_chars |
|
Quotes and therefore makes visible control chars in input lines |
acs::test::xpath::equals |
|
Test whether provided selectors (first element of the pair)
return the specified results (second element of the pair). |
acs::test::xpath::get_form |
|
Locate the HTML forms matching the XPath expression and
retrieve its HTML attributes and the formfields in form of a
Tcl dict. |
acs::test::xpath::get_form_values |
|
Obtain form values (input fields and textareas) in form of a
dict (attribute value pairs). |
acs::test::xpath::get_name_attribute |
|
|
acs::test::xpath::get_text |
|
Get a text element from tdom via XPath expression. |
acs::test::xpath::non_empty |
|
Test if provided selectors return nonempty results |
ad_page_contract_filter_proc_aa_test_category |
|
Checks whether a category value has is valid. |
ad_page_contract_filter_proc_aa_test_view_by |
|
Checks whether a view_by value has a value of "testcase", "package" or
"category" |
twt::do_request |
|
Takes a URL and invokes tclwebtest::do_request. |
twt::log |
|
TWT proc for writing a Notice message to the web server log. |
twt::server_url |
|
Get the URL of the server (like ad_url) using the IP number of the server. |
twt::user::create |
|
Create a test user with random email and password for testing |
twt::user::delete |
|
Remove a test user. |
twt::user::login |
|
tclwebtest for logging the user in. |
twt::user::logout |
|
tclwebtest for logging the user out. |