Printer FriendlyEmail Article Link

How to call different procedures when a step response is empty and non-empty in iTest

Answer

One of the way to acheive this requirement is:

We could use Regex "\\S" in the analysis rule to verify whether the step has the response or not.

If the step contains response, it will go to When True condition then use "Call procedure" action to call the procedure.

If the response does not exists, it will go to When False condition then use "Call procedure" action to call another procedure.

Note: Please change the Match type to "Regex" in Extractor properties of "contains" in the analysis rule.

Example:

 

 


Product : iTest Enterprise