Search

Java UI

Last Updated: Mar 15, 2021

Articles

The Java UI node is used to automate the user interface of any Java Applications.

In the Field Validator Java Application, user interface is automated using Java UI node.

Image description

Configurations of Java UI Node

  1. Click the Java UI node to open the attributes pane.
  2. In the Configurations tab, enter the following details:

    • App: Path of Java application to be automated.
    • App Name: An intuitive name for the application being configured so that it can be reused across similar process automation.
    • Java Path: Path of Java application(.exe) in jiffyservice folder.
    • Cluster: Select Cluster from the drop-down if you wish to run the node on Cluster. Otherwise, leave it blank.

Image description

Properties of Java UI Node

  1.  Navigate to the Properties tab, enter the Name and Description.
  2. Select the options for Run Mode and Take screenshot fields from the drop-down.
  3. Enable Close Application, Close Application on Error, Mark run Failure on Node Fail, Continue on Failure, and Lock After Run options as required. Image description

Record UI of Java Application

There are two ways to record UI of Java Application.

Hover the mouse cursor on the UI element to be recorded and press Press Ctrl key. To know more about how to record UI elements, click here.

Image description

Alternate Way of Recording

  1. Click the Show Object Browser button from the Jautomator tool bar.
    Jiffy Java Object Inspector page opens.
  2. Select the element to be recorded from the tree structure.
  3. Click the Learn Element button.

Image description

Actions in Java UI Node

In the Actions tab, all the recordeded UI events are listed where you can design and modify the actions.

Image description

Variables

All Input/Local variables created for the node are displayed under Variables tab.

Table Definitions

All Default and Custom DataTables created in the task are displayed under Table Definitions tab.

Result of Execution in Java UI Node

After executing task, Result of Execution window is displayed with the following tabs.

  • Input: The input variables mapped to the Java UI node are displayed.
  • Output: Execution status and the values of the output variables in the current node that can be mapped to the succeeding nodes are displayed.
  • Run Info: The Run Details, Configuration Details, and Machine Details are displayed.
    • Run Details include Run ID, Sequence Number, Iteration ID, and Total Node Execution Time (in seconds).
    • Configuration Details include Configuration Name, App, Application Path, Clusters, and Config Level.
    • Machine Details include ID, Name, Host, Port, Iteration Start Time, Iteration End Time, and Iteration Time (in seconds).
  • Step Data: The details and status of the each Line of Action inside the node are displayed.
  • Formatted Output: The table data of the output variable with Type selected as Table is displayed. Image description
Did you find what you were looking for?