agupta1
16 years agoContributor
XPath Assertion
I want to add an XPath assertion that tries to validate against an expression. For example:
In Declare box I add the following XPath expression
//Count/text()
However, I want to validate this against (in the Expected Result box)
${Properties#UnreadMessagesCount} + 1
The above gives an error.
Is there any way, I can perform some calculation in the Expected Result box?
In Declare box I add the following XPath expression
//Count/text()
However, I want to validate this against (in the Expected Result box)
${Properties#UnreadMessagesCount} + 1
The above gives an error.
Is there any way, I can perform some calculation in the Expected Result box?