Skip Operations
Last updated
Last updated
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 |
|
Note:
If the input is positive, then the execution skips the specified number of steps in the input and executes the steps present after that.
If the input is 0, execution continues in sequential order.
There are certain rules to be followed in JumpBy –ve. Please go through the “JumpBy Negative” screenshots given below.
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.
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 |
|
Note:
jumpTo target test case should be present as part of the scenario being executed in the test suite.
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.
It works only in execution and not on debug.
The “stop” keyword can be used to avoid executing the same test case multiple times.
The “jumpTo” backward test case is supported only for Emerson CBU.
Consider two scenarios in a test suite and two test scripts in each scenario.
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).
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.
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.