This function executes JavaScript actions across multiple Genie screens.
Parameters:
- step1 - JavaScript statements provided in one string
- step2 - JavaScript statements to be executed on the next screen
Alternatively, the steps can be provided using an array.
Example:
// The following steps are provided as separate parameters multiStepAction("pressKey('option1')", "getObj('I_7_1').value = 'X'; pressKey('Enter')"); // The following steps are identical to the above but are provided using an array var steps = []; // define the array steps.push("pressKey('option1')"); // add a step steps.push("getObj('I_7_1').value = 'X'; pressKey('Enter')"); // add another step multiStepAction(steps);