Use Local Desktop Automation

The Local Desktop Automation feature helps you design and run your robots on the same computer as the devices you wish to automate, which accelerates and facilitates the process of Desktop Automation. Local Desktop Automation is only supported on the Windows operating system.

To enable Local Desktop Automation, follow these steps:

  1. Install the Desktop Automation Service and Design Studio on the same computer, which is also the computer that runs the applications you wish to automate. For more information, see the Kofax RPA Installation Guide.
    Tip If your computer is set up with dual monitors, you can open the automated applications on one monitor and Design Studio on the other for convenience.
  2. Configure the Desktop Automation Service as described in Configure Desktop Automation Service. When specifying the properties in the Desktop Automation Service configuration window, we recommend that you select the Single User option to set up a direct connection to the automated applications from Design Studio. Do not forget to type labels to use for mapping.

When finished, follow these steps:

  1. Create a mapping to the Desktop Automation Service installed on a local computer.
    1. Right-click the project you are working on and click New > Automation Device Mapping.
    2. Fill in the fields as described in Map Automation Device and click Finish.
  2. Open Design Studio.
  3. Create a Desktop Automation robot.

    1. Click File > New Desktop Automation Robot.

    2. Specify the name of the robot and select a project. Click Finish.

      The new robot appears on a new tab in the editor window. At this point, you cannot edit the Desktop Automation workflow as you need to first call the new robot from a web automation robot.

  4. Open an existing web automation robot or create a new one by clicking File > New Robot.
  5. Insert an action step.

    1. Click Select an Action on the Action tab and choose Call Desktop Automation Workflow.

    2. In the Workflow drop-down list, select the Desktop Automation robot created in Step 4.

      On the same tab, configure input values and output mappings.

      • In the Required Devices property, click the plus icon, select Static Reference, and then select the mapping you made in Step 1.

      • Click OK.

  6. Execute the newly added action step by clicking Toggle Execution on the toolbar.

    After you execute the Call Desktop Automation Workflow step, you can edit the workflow itself. To do so, click Step Into DA Robot on the toolbar.

    The tab with your Desktop Automation robot is opened and the editor is now active. You can now start designing the Desktop Automation Workflow. A notification is shown that the Local Desktop Automation mode is enabled.

  7. In the Recorder View, select a tab with the application to automate. It must already be open on the computer, or you can add an Open action step to your robot that opens the application. Now you can create steps that you wish to perform on the application.
    • If you need to automate application elements that disappear when you remove the pointer, such as context and drop-down menus, use a Bundle step. A Bundle step connects a number of steps that you perform on the automated application and turns them into a sequence that will be executed in order, starting with the first step.

      • To wrap existing steps in a Bundle step, in the Automation Workflow view, select the steps containing the use of disappearing elements, right-click the group, and then click Surround with Bundle step. Also, you can insert a Bundle step directly inside the workflow and then add the necessary steps to it.

      • To insert a Bundle step that contains a right-click or left-click action or points to an application component, in the Recorder View, right-click the required component of an application and click Smart Focus Menu Click. Click Right, Left, or Hover, respectively.

      To add action steps to the Bundle step, right-click the flow point inside it and make a selection. Some steps are not available inside the Bundle step, but you can add them to your robot before or after the Bundle step.

      Tip To execute a Bundle step from its beginning to a particular flow point inside it, double-click the flow point or right-click it and then click Execute to here. If you use the Step Over or Start Execution buttons on the toolbar, the Bundle step is always executed from beginning to end.
    • You can immediately execute and stream newly added action steps. Prior to adding a step or a number of steps, under the Recorder View, click Auto Execute (the circle on the button becomes red). If a step opens a new application or a dialog box, a respective tab appears in the stream view and becomes the active tab. To stop auto execution, click Auto Execute again.

  8. When you are automating several applications in your robot, switch the focus among them. By default, when the execution starts, the focus is set on the first application being automated in the robot. To change or switch the focus to the other automated applications, add a Click action step to each of them. You can add a step that clicks inside the application, or one that clicks the application on the Windows taskbar.
  9. Save the changes. To execute the created workflow, in the Automation Workflow, click the Start Execution button.

    When the workflow execution starts, the focus is instantly switched to the automated applications, and the stream status is changed to LIVE, which is shown in the bottom right corner of the Recorder View.

    When the execution is completed, to return the focus to the Desktop Automation workflow, click inside it. The stream status will be changed to PAUSED. When the stream is paused, the application status is not updated in the Recorder View.

    Note During the execution of the Desktop Automation steps, the keyboard and mouse are automatically blocked to prevent accidental interaction with the execution, and then unblocked when it is completed. If you need to use the keyboard and mouse during the execution, press Esc.
A robot created in the Local Desktop Automation mode can then be edited and run on a remote computer, just like any other robot.