XPath
Last updated
Last updated
XPath assertion allows to verify the response message with an XPath expression match.
This assertion interface is as follows:
This assertion interface is as follows:
Text - the text to find the value in;
Path - an XPath selector;
Expected value - the value that should be matched.
To fix an error, the XPath selector value is assigned to the expected value.
The assertion has the xpath
type in the file. The type description can be found in Assertion file representation Assertion file representation documentation in the #/definitions/ScriptAssertion
definition.