acs::test::xpath::equals (public)
acs::test::xpath::equals node pairs
Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl
Test whether provided selectors (first element of the pair) return the specified results (second element of the pair).
- Parameters:
- node (required)
- pairs (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- markup_parsing
Source code: foreach {q value} $pairs { try { set result [get_text $node $q] } on error {errorMsg} { aa_true "XPAth exception during evaluation of selector '$q': $errorMsg" 0 throw {XPATH {xpath triggered exception}} $errorMsg } aa_equals "XPath $q:" $result $value }XQL Not present: Generic, PostgreSQL, Oracle