Versions Compared

Key

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

On Error Settings for Dry Run

On the Test Cases screen, the second column of grid indicates "OnError" settings. Refer to the following screenshot, three options can be set for "OnError".

...

  1. ExitTCIteration
    1. If the test step fails, Qualitia skips the current iteration of the test case and execute next iteration. If there is only one TC iteration, then the test case execution stops.
  2. ExitTask
    1. If any step of this task fails, Qualitia skips all following steps and executes next task.
  3. Continue
    1. If any step of this task fails, Qualitia does not exit and Continues execution of next steps and tasks.

OnError Settings for Suite Execution

On the Suite Suites screen, you can set following OnError optionsflags as per the test case requirements:

  1. ExitSuite: In case of any failure at any TC level or task level step of any task of a TestCaseTest Case, the suite execution will be stopped.
  2. ExitTCIteration: In case of any failure, execution will be skipped for the current iteration of the test case and execution will be continued for next iteration. If there is only one test case iteration, then the test case execution will stop and next Test Case in suite will be executed.
  3. Continue: Continue execution of suite in case of any failures.

...

Combination of OnError setting on the Test Cases and Suite Screen

...

  • If on the Suites screen, user specifies value as "Continue" and on the Test Cases screen, values specified are "ExitTask" or "ExitTCIteration", then settings specified on the Test Cases screen will be applicable.
  • For values other than "Continue", the setting on Suites screen overrides the settings specified on the Test Cases screen.
  • If any task in a Test Case has "ExitTestCaseExitTCIteration" / "ExitTask" / "Continue" on the Test Cases screen, but has "ExitSuite" on Suites screen, then in case of any error in Test Case (excluding invalid expression), Qualitia will effectively exists the suite execution.

On Error Condition

 

Overriding Screen

Result

TC Screen

Suite Screen

Setting

 

Continue

Continue

TC

Continue

ExitTask

Continue

TC

ExitTask

ExitTestCase

ExitTCIteration

Continue

TC

ExitTestCase

ExitTCIteration

Continue

ExitTestCase

ExitTCIteration

Suite

ExitTestCase

ExitTCIteration

ExitTask

ExitTestCase

ExitTCIteration

Suite

ExitTestCase

ExitTCIteration

ExitTestCase

ExitTCIteration

ExitTestCase

ExitTCIteration

Suite

ExitTestCase

ExitTCIteration

Continue

ExitSuite

Suite

ExitSuite

ExitTask

ExitSuite

Suite

ExitSuite

ExitTestCase

ExitTCIteration

ExitSuite

Suite

ExitSuite