Search

Design Actions

Last Updated: May 10, 2022

Articles

The UI Controls and Actions performed during recording are auto-listed in Actions tab.
You can edit the UI Controls and the actions, as per the automation flow.

Actions in Web UI Node

Navigate to the Actions tab, select one of the following options from the first drop-down:

  • UI Event: Select the appropriate UI Event from the recorded UI events in the second drop-down. Based on the recorded UI Control, Actions are listed in the third drop-down.
  • UI Component: A set of UI Controls are saved to reuse. Select the UI component from the second drop-down.
  • Screen: All the recorded modules are listed. Select the Module from the second drop-down.
  • Call Function: To select predefined or user-defined Functions from the second drop-down.
    To know more about how to use Functions, click here.
  • Set Variable: To set the value for Variables to use in further steps. The value set can either be a constant or another variable.
    Image description

ToolBar Options

The Tool Bar of Actions tab contains the following options:

  1. Click the Start Recording button to open the Jiffy UILearn floating window and start the familiarization of the User Interface(UI).
  2. Select the line(s) of action to be copied and click the Image description Copy icon to copy the line(s) of action.
  3. Select the line(s) of action and click the Image description Cut icon to cut the line(s) of action.
  4. Select the line(s) of action and click the Image description Comment icon to comment on the line(s) of action. The line(s) of actions that are not in use or not required can be commented.
  5. Select the commented line(s) of action and click the Image description Uncomment icon to uncomment.
  6. Click the Image descriptionDebug icon to debug the task execution.
  7. Click the Image description Select all or Deselect all icon to select or deselect all the lines of action at once.

Click the check-boxes near each line of action to select them.

Additional Options

Against each line of action, the following options are provided.

  1. Click the Image description icon to add new lines of action.
  2. Click the Image description icon to remove the lines of action.
  3. Click the Image description icon.
    1. Click the Paste below button to paste the cut/copied line(s) of action at the desired location.
    2. Click the Execute Till button to execute the task till the selected line of action.
      • If no lines are executed in the Actions Tab, debugging starts from the first line of action till the selected line of action.
      • Else, debugging starts from the last line of action executed, to the selected line of action. This helps to check the errors during task execution. Image description
  4. Click the Image description icon to add a control statement (If), loop (While) or iteration (Iterate-on). Image description
    1. While: Enables to design a series of steps that are to be executed repeatedly based on a given condition.
    2. If: The if statement allows you to control if the steps will be executed or not based on whether a given condition is true or false. If the condition specified in If option is satisfied, the steps following If step gets executed.
    3. Iterate On: Iterate On option is used to add a “for each” condition to a group of statements so that the group of statements is repeated for the multiple values of the table being iterated on.

If the first line of action in the loop is selected, all the lines inside the loop get selected automatically.

To add a While/If/Iterate On step:

  1. Click the required option from the drop-down.
  2. Provide the condition by adding the required comparison operator and values.
  3. Click Image description icon and add steps for the While/If/Iterate On options. Image description

    The indentation of the steps will be done automatically.

    To execute the steps till the counter variable holds a value less than or equal to 5 and to assign a value to a variable if the counter is equal to 1, the steps can be designed as following: Image description

To come out from the While/If/Iterate On step:

Click the drop-down and click + < option to exit out. Image description

Confidence and Index

When the UI Control is captured through text or image recording, two additional parameters Confidence and Index need to be provided.

Confidence

Confidence defines the percentage of match for the UI Control during task execution against the one which is familiarized. It gives flexibility during execution even if the UI Controls do not match 100%. The values to be provided can range from zero to one.

If an 80% match is required, enter 0.8.

Index

Index value defines the occurrence of an element in case if it is repeated on the same page.

On a webpage, Submit button is appearing twice. To select the second occurrence, enter index as two.

Click the Image description icon beside the UI Control to enter the parameters.

Image description

If no values are entered, the Confidence and Index are automatically set to 0.9(90%) and zero, respectively.

Did you find what you were looking for?