Printer FriendlyEmail Article Link

iTest : What is the difference between contain extractor of type regex and regex extractor in analysis rules?

  • iTest

  • The contains extractor of type regex returns the value 1 (True) if it matches the regular expression specified in the extractor properties, with the response of that step. Else it returns 0 (False). So if the match is found in any of the step, it will display execution message for that step.
  • Whereas the regex extractor finds all matches to the specified regular expression in every step it returns the value based on the extraction group number specified in the extractor properties. If it is not able to find the match in any of the step then  it shows match not found and the test case fails.

Product : Velocity Portfolio,Velocity iTest