Subscribe

UiPath StudioX

The UiPath StudioX Guide

Application Card

UiPath.UIAutomationX.Activities.ApplicationCard

Opens a desktop application or web browser page to use in UI automation. After you add the card and indicate the application window, add the UI automation activities you perform in the application inside the card. If the application is not open, StudioX launches it when the project is executed.

To learn how to use this activity, see Tutorial: Working with UI Automation.

In the Body of the Activity

  • Indicate Application - Identify the application by moving the mouse to its window and clicking it. If the target is a web page in a browser, navigate to the page before you indicate the application.
  • After you indicate the target, click the Options Options button button and then select one of the available options to further configure your target.
    • Indicate Target - Indicate the application again.
    • Highlight Target - View the currently indicated application on your display surrounded in a box.

Properties

Common

  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
  • Display Name - The name displayed for the activity in the Designer panel. A display name is automatically generated when you indicate a target.

Input

  • Target Application - Edit the following settings that are configured by default when you indicate the target application in the body of the activity:
    • Browser Type - Specifies the browser application indicated: IE, Chrome, Firefox, or Edge. If the target application is not a web browser, the value is None.
    • File Path - If the target application is not a web browser, specifies the full path to the executable file of the application. If the target application is a web browser, the value is NULL.
    • Timeout (ms) - Specifies an amount of time (in milliseconds) to wait for the specified element to be found before generating an error.
    • Url - If the target application is a web browser, specifies the URL of the web page to open. If the target application is not a web browser, the value is NULL.

Misc

  • Private - If selected, the data used in the activity is not logged by StudioX.

Options

  • Close - Select when to close the target application at the completion of the execution of the automation: Never (never close the application), IfOpenedByCard (close only if the application was opened by the automation), or Always (close the application every time).
  • Input Mode - Select which method the Robot should use to interact with the target application:
    • Window Messages - Sends a specific message to the target application. This input method can work in the background, is compatible with most desktop apps, but it is not the fastest of the methods.
    • Hardware Events - Simulates the keystrokes by using the hardware driver. This is the slowest method, it cannot work in the background, but it is compatible with all desktop apps.
    • Simulate - Simulates the type using the technology of the target application. This input method is the fastest of the three and works in the background.
  • Open - Select when to open the target application for the execution of the automation: Never (never open the application), IfNotOpen (open only if the application is closed, this is the default selection), or Always (open another instance of the application even if one is already open).

Updated 2 years ago


Application Card


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.