smadji
12 years agoContributor
[Res] assertion fail but should pass
I must be doing something wrong but been at it for hours and can't figure out what I it is.
I am trying to assert between 2 requests and the item that I am asserting should and does return the same results
my error is:
XpathContains comparison failed for path [...], expecting [<str name="workPhone">123456</str>], actual was [123456]
I attempted to retrieve the assertion validation from the response and from the responseAsXml options.
I am trying to assert between 2 requests and the item that I am asserting should and does return the same results
my error is:
XpathContains comparison failed for path [...], expecting [<str name="workPhone">123456</str>], actual was [123456]
I attempted to retrieve the assertion validation from the response and from the responseAsXml options.