Updated on 2023-03-14 GMT+08:00

Inserting Logic Control

Background

Logic control is used to orchestrate test scenarios, including:

Wait Time

Wait time allows you to wait for a period of time after performing a test step.

To set the wait time, perform the following steps:

  1. Go to the Scripting tab page and click Sleep.
  2. Enter the wait time. The value must be an integer ranging from 1 to 60.

Group

  1. Go to the Scripting tab page and click Group.
  2. Enter the group name and drag related test steps to the group.

    • You can add test steps, judgment, wait time, and loops to a group.
    • You can drag and orchestrate the sequence of groups in test cases.
    • You can drag and orchestrate the sequence of test steps in a group.
    • You can disable or delete all groups.

Judgment

If you need to determine the subsequent test steps based on the results of the previous test steps, you can use the judgment method.

To set the judgment, perform the following steps:

  1. Go to the Scripting tab page and click if condition.
  2. Add the judgment logic by entering the if condition, and add subsequent test steps to the branch.

    You can add test steps, judgment, wait time, loops, and test keywords to a judgment branch.

The if condition supports referencing local variables and passing parameters. For details about how to use comparison operators, see Comparison Operator Description.

Loop

  1. Go to the Scripting tab page and click Loop.
  2. Set the loop count.

    You can add test steps, judgment, groups, wait time, loops, and test keywords to a loop.