Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
javascript
javascript

// The following steps are provided as separate parameters
multiStepAction("pressKey('option1')", "changeElementValue('I_7_1', '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("changeElementValue('I_7_1', 'X'); pressKey('Enter')");  // add another step
multiStepAction(steps);

...