acs::test::reply_contains_no (public)
acs::test::reply_contains_no [ -prefix prefix ] dict string
Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl
Convenience function for test cases to check, whether the resulting page does not contain the given string.
- Switches:
- -prefix (optional)
- prefix for logging
- Parameters:
- dict (required)
- request reply dict, containing at least the request body
- string (required)
- string to be checked on the page
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- webtest_example
Source code: set result [string match *$string* [dict get $dict body]] if {$result} { aa_false "${prefix}Reply contains no $string (<a href='[detail_link $dict]'>Details</a>)" $result } else { aa_false "${prefix}Reply contains no $string" $result } return [expr {!$result}]XQL Not present: Generic, PostgreSQL, Oracle