Windows Activities

Parent page: PAW Robot/Studio › Activities Module: PAWRobot.Windows Scope: Windows desktop applications — UI Automation, keyboard/mouse, OCR


Overview

The Windows module automates desktop applications (Win32, WPF, UWP) through UI Automation. It provides keyboard/mouse simulation and OCR-based reading.


Prerequisites

  • Windows 10/11 or Windows Server

  • Target application able to run in the same session


Application and Window Management

Activity

Input

Output

Description

Open Application

File Path, Arguments

—

Starts an application

Close Window

Element/Selector

—

Closes a window

Kill Application

Process Name, All Users, Process Id

—

Terminates the process

Get Processes

Results

Lists running processes


Element Operations

Activity

Input

Output

Description

Get Element

Selector, Timeout

Element

Finds a UI element

Element Exists

Selector, Timeout

Element Exists, Element

Existence check

Wait Element To Disappear

Selector, Timeout, Element

Disappeared

Waits for the element to disappear

Core activities (Click Element, Type Into, Get Element Value With Ocr, etc.) are used with the Windows Element reference.


Example Scenario: Opening a Desktop Application

  1. Open Application→ C:\App\ERP.exe

  2. Get Element→ Main window Selector

  3. Click Element→ Menu item

  4. Type Into→ Data entry into a form field


Module-Specific Notes

💡 Tip: If the application opens slowly, increase the Timeout value of the Get Element activity.

💡 Tip: In scenarios that require OCR, use the Get Element Value With Ocr activity.