activities
latest
false
UiPath logo, featuring letters U and I in white

UI Automation Activities

Last updated Dec 20, 2024

Open Application

UiPath.Core.Activities.OpenApplication

A container that launches a specified application and performs multiple actions within it. Optionally, it can pass a list of arguments to the application.

Properties

Input
  • Selector - Text property used to find a particular UI element when the activity is executed. It is actually an XML fragment specifying attributes of the GUI element you are looking for and of some of its parents.
  • FileName - The full file path where you can find the executable file of the application you want to open. For example, if you want to open Excel, the path should look like C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE.
  • Arguments - The parameters that can be passed to the application at startup. You can use this property to open a specific file with the application you want to open. For example, if you want to open a specific Excel workbook, you can add its full path in this property field. The path should look like C:\Users\currentuser\Documents\Sample.xlsx
    Note: If the file you want to open contains spaces in its name, you have to write the path between two sets of quotation marks. For example, if the file is named Sample file.xlsx, the path should look like ""C:\Users\currentuser\Documents\Sample file.xlsx"".
Common
  • DisplayName - The display name of the activity.
  • TimeoutMS - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).
  • 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.

    Note: If this activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.
Output
  • ApplicationWindow - The found active window. This field supports only Window variables.
Options
  • WorkingDirectory - Path of the current working directory. This field accepts only string variables.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
  • Properties

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.