Skip Operations

Keyword: JUMPBY

Description: This keyword or action instructs Avo Assure Client to skip the steps as per the input given and execute the further steps.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

jumpBy

<Count of steps>

NA

  • Text

  • Static values/ Dynamic Variables

  • Input can be positive or negative value

Note:

  1. If the input is positive, then the execution skips the specified number of steps in the input and executes the steps present after that.

  2. If the input is 0, execution continues in sequential order.

  3. There are certain rules to be followed in JumpBy –ve. Please go through the “JumpBy Negative” screenshots given below.

jumpBy Negative Scenario

jumpBy Positive Scenario

Find the snippet of the keyword below:

In the above example, after the test case debug, it skips 3 steps and executes from step number 9.

Keyword: JUMPTO

Description: This keyword or action instructs Avo Assure Client to jump to the test case specified in the input. The test case should be a part of the scenario that is being executed in the test suite.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

jumpTo

<Test case name>

NA

  • Text

  • Static values/ Dynamic Variables

Note:

  1. jumpTo target test case should be present as part of the scenario being executed in the test suite.

  2. jumpTo is allowed forward/backward direction, i.e. the jump can happen to a test case that is present in a position after/before the current test case in the scenario.

  3. It works only in execution and not on debug.

  4. The “stop” keyword can be used to avoid executing the same test case multiple times.

  5. The “jumpTo” backward test case is supported only for Emerson CBU.

“jumpTo forward/backward flow”

Consider two scenarios in a test suite and two test scripts in each scenario.

  1. In Scenario 1, during execution, when it encounters “jumpTo” in Step 2, the control will jump from Step 1 of Script 2 (as given in the input).

  2. Once it completes the execution in Script 2 (Scenario-1), the control will move back to Step 3 of Script 1, and execution will continue till Script 2 and then Scenario 2.

  3. The tester should add the “stop” keyword in Script 1 to avoid re-execution of Script 2. When it encounters the “stop” keyword, the execution of Script 1 will stop and continue from Sript 1 of Scenario 2.

Find the snippet of the keyword below:

In the above example, after execution, when the jumpTo keyword is encountered, the control moves to the “Date_Operations_Stop” testcase, and execution continues. Upon completing the execution of the “Date_Operations_Stop” testcase, the control returns to the original testcase, and the remaining steps are executed till the stop keyword.

Last updated