Forum Discussion
naveen8944
6 years agoContributor
Having individual assertions is the standard approach. But if you still wish to do that, you can't do that on Contains assertion. But you can use XPath assertion and have Contains function
Your declaration would be:
contains(//*:ResponseFiled, "ValueToValidate1") and contains(//*:ResponseField, "ValueToValidate2")
Expected would be: true
Hope that helps
Related Content
- 7 years ago
Recent Discussions
- 22 days ago