---
sourceDocument: Brazil Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/integrate-applications

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Windows Connector methods

# Windows Connector methods {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read  
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 {#connectors-windows-methods__section_k2h_5ft_wrb}

[Connector level methods](https://www.servicenow.com/docs/0lCD7~0G~FAPCNMtMwNGpQ#connectors-windows-methods__connector-level-windows)

[Window level methods](https://www.servicenow.com/docs/0lCD7~0G~FAPCNMtMwNGpQ#connectors-windows-methods__windows-screen-level-methods)

[Element level
methods](https://www.servicenow.com/docs/0lCD7~0G~FAPCNMtMwNGpQ#connectors-windows-methods__windows-element-level-methods)

## Connector level methods {#connectors-windows-methods__connector-level-windows}

## CloseMainWindow {#connectors-windows-methods__section_ffv_1kz_hrb}

Closes the active window of the application.

## GetMainWindowHandle {#connectors-windows-methods__section_n4w_pg1_3rb}

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

## GetMainWindowTitle {#connectors-windows-methods__section_jy5_wqd_vrb}

Retrieves the title of the active window of the application.

## SetWorkingDirectory {#connectors-windows-methods__section_sg1_srd_vrb}

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

Input
:   [Path](https://www.servicenow.com/docs/CKoUhHVpAXH41daZGlt0Kg#method-parameter-windows__Path-windows)

## Start {#connectors-windows-methods__section_d51_vsd_vrb}

Starts the application.

Input
:   [Path](https://www.servicenow.com/docs/CKoUhHVpAXH41daZGlt0Kg#method-parameter-windows__Path-windows)
    [Args](https://www.servicenow.com/docs/CKoUhHVpAXH41daZGlt0Kg#method-parameter-windows__Args-windows)

## Terminate {#connectors-windows-methods__section_g13_rtd_vrb}

Terminates the application.

## Window level methods {#connectors-windows-methods__windows-screen-level-methods}

## Focus {#connectors-windows-methods__section_w42_cgt_wrb}

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

## GetFields {#connectors-windows-methods__section_ymk_2gt_wrb}

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 (![Method settings icon.]()).
2. Select the form elements.
3. Update the form element data type.
4. Click OK.
{#connectors-windows-methods__ol_r1y_wm5_nsb}

Output
:   [Form element data](https://www.servicenow.com/docs/CKoUhHVpAXH41daZGlt0Kg#method-parameter-windows__GetFields-output-formelementdata)

## GetScreenShot {#connectors-windows-methods__section_j1s_hgt_wrb}

Captures the screenshot of the screen.

Output
:   [Return (Bitmap)](https://www.servicenow.com/docs/CKoUhHVpAXH41daZGlt0Kg#method-parameter-windows__GetScreenShot-return-Bitmap)

## IsCreated {#connectors-windows-methods__section_u35_d3t_wrb}

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

Inputs
:   [MatchAllChildren](https://www.servicenow.com/docs/m1gO8~SMxhXv4huuvPFXqg#application-level-method-parameters__common-parameter-input-matchallchildren)

Outputs
:   [Return (Boolean)](https://www.servicenow.com/docs/m1gO8~SMxhXv4huuvPFXqg#application-level-method-parameters__common-parameter-output-return-boolean-iscreated)

## Maximize {#connectors-windows-methods__section_sm2_p3t_wrb}

Maximizes the window.

## Minimize {#connectors-windows-methods__section_lt1_q3t_wrb}

Minimizes the window.

## SendKeys {#connectors-windows-methods__section_xsy_r3t_wrb}

Simulates keystrokes on web pages and windows.

Inputs
:   [Keys](https://www.servicenow.com/docs/m1gO8~SMxhXv4huuvPFXqg#application-level-method-parameters__common-parameter-inputs-keys)
:   [ClearExistingValue (Boolean)](https://www.servicenow.com/docs/m1gO8~SMxhXv4huuvPFXqg#application-level-method-parameters__common-parameter-input-ClearExistingValue)
:   [TypeDelay](https://www.servicenow.com/docs/m1gO8~SMxhXv4huuvPFXqg#application-level-method-parameters__common-parameter-input-typedelay)

## SetFields {#connectors-windows-methods__section_xlq_bjt_wrb}

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 (![Method settings icon.]()).
2. Select the form elements.
3. Update the form element data type.
4. Click OK.

{#connectors-windows-methods__ol_ltf_qqd_vsb}

Input
:   [Form data field](https://www.servicenow.com/docs/CKoUhHVpAXH41daZGlt0Kg#method-parameter-windows__setfields-input-Formdatafield)

## WaitForCreate {#connectors-windows-methods__section_r1l_2jt_wrb}

Sets delay before a web page or a window loads.

Inputs
:   [timeoutInSeconds](https://www.servicenow.com/docs/m1gO8~SMxhXv4huuvPFXqg#application-level-method-parameters__common-parameter-input-timeoutInSeconds)
:   [MatchAllChildren](https://www.servicenow.com/docs/m1gO8~SMxhXv4huuvPFXqg#application-level-method-parameters__common-parameter-input-matchallchildren)

Outputs
:   [Return (Boolean)](https://www.servicenow.com/docs/m1gO8~SMxhXv4huuvPFXqg#application-level-method-parameters__common-parameter-output-Return-Boolean-waitforcreate)

## Element level methods {#connectors-windows-methods__windows-element-level-methods}

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

## Click {#connectors-windows-methods__section_tvp_l4c_xrb}

Performs a click operation.

## IsCreated {#connectors-windows-methods__section_dd1_q4c_xrb}

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

Outputs
:   [Return (Boolean)](https://www.servicenow.com/docs/kbH0VyyRRzlsmkoCTI5Skw#element-level-method-parameters__parameter-common-output-iscreated)

## SendKeys {#connectors-windows-methods__section_hld_x4c_xrb}

Simulates keystrokes on web pages and windows.

Inputs
:   [Keys (String)](https://www.servicenow.com/docs/kbH0VyyRRzlsmkoCTI5Skw#element-level-method-parameters__parameter-common-sendkeys-keys-string)
:   [ClearExistingValue](https://www.servicenow.com/docs/kbH0VyyRRzlsmkoCTI5Skw#element-level-method-parameters__parameters-common-input-clearexistingvalue)
:   [TypeDelay (Double)](https://www.servicenow.com/docs/kbH0VyyRRzlsmkoCTI5Skw#element-level-method-parameters__parameters-common-input-typedelay)

## SetPassword {#connectors-windows-methods__section_c2b_zss_vzb}

Automate entering password securely in the password field of a Windows application.  
To provide inputs to the fields see [Configure port properties](https://www.servicenow.com/docs/ED3jBpqtlHH8p~yFFmyRBQ "Configure how data is passed to the input fields of a component or method in RPA Desktop Design Studio.").{#connectors-windows-methods__table_jrs_nts_vzb__entry__7}

| Parameter | Description | Data Port type | Data type | Default value | Mandatory? | Notes |
|-|-|-|-|-|-|-|
| Password | Accepts the password as a secured string. | Data In | Secured string | None | Yes | Since 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. |
| UseSendKeys | SendKeys is a method used to send keyboard inputs such as characters, numbers, and symbols to text boxes inside an application. | Data In | Boolean | False | Yes | Tip: If the SetPassword method fails to input the password in the password field, set the value to True and execute the method again. |
[Table 1. SetPassword method parameters]

{#connectors-windows-methods__table_jrs_nts_vzb}

