Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 1

...

On the task editor screen, click the click Image Added (Add Conditional Block button (Image Removed) to select any of the following conditions:

...

Adding A TC Step and Task Step

...

Image Added

Storing Execution Status of TC Step

...

On the Test Cases screen you can add conditional blocks to task and Test Case. The Test Case level ELSE-IF blocks can contain tasks and the contained tasks in turn can have task level ELSE-IF blocks.

Adding the ELSE-IF Blocks IFBlocks to Test Case

You can add the TC or Task condition using the ELSE-IF button from the Test cases screen.


Image RemovedImage Added

To add TC or Task Condition:

  1. Select TC Step/Task after which you wish to add TC level conditional block.
  2. Click Add Conditional Block >TC Condition > IF.
  3. .Select IF step of block, click the TC Step button to add TC step.
  4. Select recently added TC Step:
    1. Click Add Condition Block >TC Condition >ELSE IF to add TC level ELSE IF block.
    2. Click Add Condition Block >TC Condition > ELSE to add ELSE block.
      Note: If you want to add an Else-If or Else condition, it must be added after the If condition. 

Image RemovedImage Added

Adding Tasks in Test Case Level ELSE-IF Blocks

...

  1. Select TC Step/Task after which you want to add TC level conditional block.
  2. Click Condition >TC Condition > IF.
  3. Select IF step of block and then click New to add new task or Import to add the existing task to the conditional block.
  4. To add Tasks to ELSE-IF or ELSE blocks, select the ELSE-IF or ELSE step of the conditional block .Do one of the following to include  a task:
  5. To add a new task, click the New Task button (Image Removed). 
  6. To add an existing task, click the Import Task button (Image Removed)and then click New or Import.

    Note: If you want to add an Else-If or Else condition, it must be added after If condition. 


Image Added

Adding ELSE-IF Blocks to Task in TC

...

  1. Create a new test case and add required tasks to it. 
  2. Select the step after which the conditional block needs to be added, or the task row to which the block needs to be added.
  3. Click the Add Conditional Block button > Task Condition > IF.
  4. Once If block is added to task, ELSE IF or ELSE blocks can be added by selecting proper task step and using the ELSE-IF button. 
  5. For adding expression, double-click IF or ELSE IF.
  6. Use the syntax of expression is as described earlier.

Execution flow of conditional (ELSE-IF) blocks will be as follows:

...