EdTheTester
8 years agoNew Contributor
Using wildcards in Contains Assertion
Hi all I am brand new to SoapUI and am trying to start with some basic coverage. The problem I am currently having is I am trying to assert the contents of an XML response but it contains data t...
- 8 years ago
Why dont you use regular expressions
You need to check the regular expressions
Here is another link that has some info
- 8 years ago
Thanks sanj
It looks like this will be exactly what I need!
Apologies if this was a bit of a dumb question, I've only worked on automation in C# using selenium up until yesterday which is a bit different.
- 8 years ago
You can also try XPath Match Assertion with wildcards
e.g. XPath expression //option[@id='1']
expected result with wildcards <option id="1" bid="1" rv="2" desc="Standard cover" monthly="*" annual="*">No</option>