A new version of Qualitia Automation Studio for Web and Mobile 7.2.x is now available. We highly recommend you upgrade. Find more details here.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

The If-Else feature of Qualitia allows executing a step, a group of steps, tasks, or a group of tasks based on different conditions.

Test case level steps help in avoiding adding a task when only a single step needs to be added.

Key Points 

  • You can add If-Else block to a task and test case much like conditional structures used in programming languages, with a limitation that nested IF blocks are not supported.
  • If block has the following structure:
    • IF – ELSE IF –ELSE – ENDIF
    • You can add zero or more occurrences of ELSE-IF and zero or exactly one occurrence of ELSE. Zero or multiple occurrences of IF blocks can be added to a task.
  • IF and ELSE IF steps always have mandatory expression to evaluate. You cannot save task with blank expressions.
  • Expressions are much like the ones used in programming languages.
  • You can form conditions based on the status of previous step, values of environment variables/stored variables and arithmetic, logical and bitwise operators.
  • Test case level step
  • You can avoid adding a task for adding a single step to test case. A step can be directly added to a test case. It is possible to specify object, action and parameters to a TC step just like a task step.

Related Topics:

  • No labels