Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Removed
CONTENTS

1. Conditional structure
2. Test case level step
3. Error Handling

How to insert conditional blocks
Task level IFELSE blocks
Adding IF-ELSE conditional block to task
Adding Expression for IF step
Forming expression for IF /ELSE IF:
Adding ELSE IF block after IF
Adding multiple ELSE IF blocks:
Adding ELSE block after IF step
Changes on TestCase screen
UI changes
Adding task step on TC screen
Test case level step (TC step) on TestCase screen
Adding a TC step and Task step
Storing execution status of TC step
IF ELSE blockson Test case screen
Adding IF-ELSE blocks to TestCase
Adding tasks in Test Case level IF-ELSE blocks
Adding IF-ELSE blocks to Task in TC
Execution flow of conditional (IF-ELSE) blocks
Qualitia behavior in case of invalid expression:

OnError settings at step level
OnError settings for dry run
OnError settings for Suite execution

Improvements in existing Reports to support new features
Summary Report
Test Case Detail Report for Conditional structure

...

Qualitia gives provision to execute a step, a group of steps, tasks, or a group of tasks based on different conditions.

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.
  • It is mandatory to add expression to evaluate for IF and ELSE IF steps. You cannot save these tasks 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.
  • 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:

Child pages (Children Display)