Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Windows Connector methods

The Windows methods in RPA Desktop Design Studio interact with the Windows applications to perform various tasks. The connector provides methods at different levels of the Windows applications.

Windows connector method levels

Connector level methods

Window level methods

Element level methods

Connector level methods

CloseMainWindow

Closes the active window of the application.

GetMainWindowHandle

Retrieves the handle ID of the active window of the application.

GetMainWindowTitle

Retrieves the title of the active window of the application.

SetWorkingDirectory

Sets the working directory of the application for all file operations through the application to be performed in the specified directory.

Start

Starts the application.

Terminate

Terminates the application.

Window level methods

Focus

Sets the focus on a window that is inactive, minimized, or in the background.

GetFields

Returns the data in the form fields of the screen. You must configure the method before using.

To configure, do the following steps.

  1. Click the method settings icon (
Image omitted: component-settings-icon.png
Method settings icon.\).
  1. Select the form elements.
  2. Update the form element data type.
  3. Click OK.

  4. Output

    Form element data

GetScreenShot

Captures the screenshot of the screen.

IsCreated

Returns the Boolean response depending on whether a specific window matches the rules set in the MATCH CHILDREN section of the configuration window.

Maximize

Maximizes the window.

Minimize

Minimizes the window.

SendKeys

Simulates keystrokes on web pages and windows.

SetFields

Sets data in form field types. To set the form fields, you must first configure the method. To configure, do the following steps.

  1. Click the method settings icon (
Image omitted: component-settings-icon.png
Method settings icon.\).
  1. Select the form elements.
  2. Update the form element data type.
  3. Click OK.

  4. Input

    Form data field

WaitForCreate

Sets delay before a web page or a window loads.

Element level methods

These methods are exposed when you double-click an application element under the Global Objects in the Project Explorer.

Click

Performs a click operation.

IsCreated

Checks whether an element matches the rules set in the MATCH CHILDREN window.

SendKeys

Simulates keystrokes on web pages and windows.

SetPassword

Automate entering password securely in the password field of a Windows application.

To provide inputs to the fields see Configure port properties.

ParameterDescriptionData Port typeData typeDefault valueMandatory?Notes
PasswordAccepts the password as a secured string.Data InSecured stringNoneYesSince it accepts the password as a secured string, it only shows the length of the string when you right-click on the parameter and then click Preview Data.
UseSendKeysSendKeys is a method used to send keyboard inputs such as characters, numbers, and symbols to text boxes inside an application.Data InBooleanFalseYesTip: If the SetPassword method fails to input the password in the password field, set the value to True and execute the method again.

Parent Topic:Windows connector