Example of Adding Records Using XPATHContains

Refer to the following example for TestCase configuration:

<ns:TestStep>
  <ns:Name>AddRecord1</ns:Name>
  <ns:Type/>
  <ns:SOAPUILookup>
    <ns:TestSuite>Master Suite</ns:TestSuite>
    <ns:TestCase>CommonActions</ns:TestCase>
    <ns:TestStep>Add Record</ns:TestStep>
  </ns:SOAPUILookup>
  <ns:ExternalProperties>
  </ns:ExternalProperties>
  <ns:TestStepProperties>
      <ns:Assertions>
       <ns:Assertion>
         <ns:Name>Assertion1</ns:Name>
         <ns:Type>XPATHContains</ns:Type>
         <ns:Properties>
            <ns:Property>
               <ns:Key>PATH</ns:Key>
               <ns:Value>//ns:SuccessCount/text()</ns:Value>
            </ns:Property>
            <ns:Property>
               <ns:Key>EXPECTEDCONTENT</ns:Key>
               <ns:Value>2</ns:Value>
            </ns:Property>
         </ns:Properties>
       </ns:Assertion>
      </ns:Assertions>
  </ns:TestStepProperties>
</ns:TestStep>