Forum Discussion
SmartBear_Suppo
16 years agoSmartBear Alumni (Retired)
You can do this already with the Contains assertion, if you use a regular expression. Simply check the box "Use token as Regular Expression" and modify the string to be a regular expression which can contain OR, or many other advanced constructs. For example, you could write something along the lines of:
For more information on the supported syntax of Regular Expressions: http://www.jdocs.com/javase/7.b12/java/util/regex/Pattern.html.
/Dain
eviware support
(?s).*(Kunden eksisterer allerede|<a:customerPrimaryNumberField>[1-9][0-9]*</a:customerPrimaryNumberField>).*
For more information on the supported syntax of Regular Expressions: http://www.jdocs.com/javase/7.b12/java/util/regex/Pattern.html.
/Dain
eviware support