Author: Logesh Velu (UiPath Community MVP)
What’s inside: A practical, end-to-end ScreenPlay walkthrough using the UiBank demo app — login → open new Checking account → validate 8-digit account ID & name → navigate to Transfer Funds.
Who it’s for: RPA or Agentic devs, solution designers, and Architect folks who want a fast path from “plain English prompt” to reliable UI actions.
Why watch?
-
See agentic UI automation in action (no brittle selectors).
-
Learn how to write clear prompts and add lightweight guardrails.
-
Pick up best practices for timing, validation, and resilience.
-
Demo flow (what I build on screen)
- Login to UiBank using username + a stored secure password.
- Create New Account: Click Apply For New Account → enter nickname → choose Checking → Apply.
- Validate: Confirm “Congratulations!” page, extract 8-digit account ID, verify account name matches.
- Navigate: Click View Your Accounts → open Transfer Funds.
Sample prompts (you can reuse)
- Login:
Enter the username, use the stored password {{Password}}, and click Sign In. - Create account:
Click "Apply For New Account". Enter "{{Nickname}}" as the nickname, select "Checking" from the Type of Account dropdown, then click "Apply". - Validate success:
Verify the "Congratulations!" page is visible. Extract "Your new account id is:" → save as account_id. Confirm it is exactly 8 digits. Extract "Account Name:" → save as account_name and verify it equals "{{Nickname}}". Fail with a short message if any check fails. - Open transfer:
From the Payment Center, click the "Transfer Funds" link (ignore loan links).
How to reproduce (Studio Web)
- Go to cloud.uipath.com → open Studio Web (app grid).
- Create New → RPA Workflow (a solution + an RPA flow are created).
- Add the ScreenPlay activity and paste the prompts above.
- Tune Delay Before/After or Max steps only if your app is slow.
- Optional final step: add a Logout prompt to end the session cleanly.
Tested with UIAutomation 2025.10.5+ preview. ScreenPlay is in preview—use test data only.
Tips & guardrails
-
Keep one activity to 1–2 actions for accuracy & easy debugging.
-
Name the section/label/button in your prompt for disambiguation.
-
Add simple validations (e.g., 8-digit ID check) and return a brief message on failure.
-
ScreenPlay Overview: Agents - Overview
-
Installing ScreenPlay: Agents - Installing ScreenPlay
-
Best Practices: Agents - Best practices
-
Automation Cloud: https://cloud.uipath.com/
-
UiBank Demo App: UiBank
-
Community Portal: https://community.uipath.com/