Forum Discussion

nkpalli's avatar
nkpalli
Contributor
7 years ago

Contains assertion with Use token as regular expression

hello team,

 

I am trying to add a  contain assertion to  verify response value .  For example I have a response : property xyz already has offers generated. So not executing process.   XYZ will change depending on the client we are testing with so will need to add

add a regular expression so that test won't fail .

 

I tried  checking use token as regular expression check box  and in content i had something like this.... but didn't work :

property * already has offer generated. So not executing process

 

Any suggestions ?