Desktop Form Automation
Launch a desktop application, fill form fields, read results, and close
Steps
| # | Activity | What it does |
|---|---|---|
| 1 | LaunchApplication | Launch the desktop application |
| 2 | LeftClick | Click on a form field |
| 3 | KeyboardInput | Type into the form field |
| 4 | GetText | Read text from the application |
| 5 | TerminateApplication | Close the application |
Workflow
appProcess = LaunchApplication("C:\\Program Files\\MyApp\\app.exe")
LeftClick("xPath", xPath="//Edit[@Name='FullName']")
KeyboardInput("xPath", "John Doe", xPath="//Edit[@Name='FullName']")
statusText = GetText("//Text[@Name='Status']")
TerminateApplication(appProcess)