cancel
Showing results for 
Search instead for 
Did you mean: 

Validate assertion with XPath field null

New Contributor

Validate assertion with XPath field null

Hello,

 

How can i make an assertion XPath Match, that validates that a path returns null ?

 

For example:

 

/env:Envelope/env:Body/val:Test/val:Field/text()

 

What should i put in the "expected result" textbox, that validates true when Field it's null (no value returned) ?

1 REPLY 1
New Contributor

Re: Validate assertion with XPath field null

I've figured out.

 

I used boolean(//...) and expected value true

New Here?
Join us and watch the welcome video:
Top Kudoed Authors