Forum Discussion

styx2000's avatar
styx2000
Frequent Visitor
8 years ago

Wildcards in XPath Assertions, same in every test case

Hi,

 

I use XPath Assertions in my soap service tests.

 

There are two fields in my response that are different every time, one is a timestamp and another one is an id. I currently use wildcards to avoid checking these.

 

This works great, but i was wondering if there is a way to define that on a global level (test suite or project level). Currently i have to do this on every single test case and i have a lot of them.

 

Thanks for your input!

 

EDIT: One more thing: Sometimes i add a simple change to my webservice which alters the response (like a new additional field) and want to update all test cases to match the new response (with the wildcards as mentioned above). Is there a way to do this except for every test case manually?

No RepliesBe the first to reply