Assertion to be added to check a value present in one of the two xpaths
If I want to add an assertion for a value but it can be present in one of the two xpaths of the response so I was thinking of adding OR assertion of the Compound assertion but it is getting failed.
eg : I want to fetch an amount and the value can be either in buyer tag or seller tag.So I have added value assertion for the xpath having buyer tag and then again another for seller tag then I have added OR assertor and grouped the above value assertion. But the thing is if the amount is present in the buyer tag it will get validated but as we have given OR assertor it will get failed because Seller does not have that amount. So I was thinking of IF ELSE assertor but it is not present. What can be alternative solution ??
NOTE: Both the buyer and seller tags are generated in the response but we need to check if one of the either tags has that amount value mentioned in the Datasource excel .