Skip Operations
Keyword: JUMPBY
Description: This keyword or action instructs ICE 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 input is positive, then the execution skips the specified number of steps in the input and executes the steps present after that.
If input is 0, execution continues in sequential order.
There are certain rules to be followed in JumpBy –ve. Please go through “JumpBy Negative” screenshots given below.
jumpBy Negative Scenario
jumpBy Positive Scenario
Find the snippet of the keyword below:
In In the above example after the test case debug, it skips 3 steps and execute from step number 9.
Keyword: JUMPTO
Description: This keyword or action instructs ICE to jump to the test case specified in the input. Test case should be a part of the scenario which 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 which is present in a position after/before the current test case in the scenario.
It works only in execution and not on debug.
“stop” keyword can be used to avoid executing the same test case multiple times.
“jumpTo” backward test case is supported only for Emerson CBU.
“jumpTo forward/backward flow”
Consider there are 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 with 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.
Tester should add “stop” keyword in Script 1 to avoid re-execution of Script 2. When it encounters “stop” keyword, the execution of Script 1 will stop and will continue from Sript 1 of Scenario 2.
Find the snippet of the keyword below:
In In the above example after execution, when the jumpTo keyword is encountered, then the control moves to “Date_Operations_Stop” testcase and execution continues. Upon completing execution of “Date_Operations_Stop” testcase, the control comes back to original testcase and the remaining steps are executed till stop keyword.
Last updated