Forum Discussion

rameshsoapui's avatar
rameshsoapui
Contributor
11 years ago

Wild Card in Xquery expected results

Hi 

 

I am using Xquery for Assertion...in Expected results I am expecting... as below... but for  Total: 2.0,   I want to replace with wild card, how do I replace ? I mean i dont care what is inside quotes, hence I want to using wild card option...please advise how I can put in assertion( Expected Results  section ).... 

 

 

 <SimpleValue Value=" Total: 2.0 "/>

 

 

 

4 Replies

  • Hello,

     

    Apologies for the delay in response.  You should be able to add the wildcard as follows in the expected result.

     

    <SimpleValue Value="*"/>

     

     

    Regards,

    Marcus 

    SmartBear Support