Program 8: Design and Build a Process for Recording Mouse
and Keyboard Actions
Aim: To use UiPath to automate the Windows Calculator by
recording mouse clicks and keyboard inputs to perform the
operation
Procedure:
Step 1: Launch UiPath Studio
● Open UiPath Studio
● Create a new process named: MouseKeyboardAutomation
● Click Create
Step 2: Choose the Target Application
Use a simple desktop application:
● Example: Notepad or Calculator
● Manually open the application (Win + R → notepad or calc → Enter)
Step 3: Start Basic Recording
● In UiPath, go to the Design tab
● Select Recording → Basic Recording
● The recording panel will appear
Step 4: Perform the Actions to be Recorded
While the recorder is active, perform the following steps:
If using Calculator:
1. Click 2, then 5
2. Click +
3. Click 7, then 5
4. Click =
Step 5: Save and Exit Recording
● Click Save & Exit on the recording panel
● UiPath will auto-generate a sequence with:
○ Click activities (mouse)
○ Type Into activities (keyboard)
○ Send Hotkey activities (keyboard shortcuts)
Step 6: Review and Arrange Activities
● Review the generated workflow
● Optionally insert Delay activities if required for timing
● Optionally use Attach Window to scope actions inside the target app
Step 7: Run the Workflow
● Press Run
● Observe that the workflow mimics all recorded actions step-by-step
Result: A basic recorder in UiPath can effectively capture and replicate both mouse and
keyboard actions. This enables automation of repetitive tasks in desktop applications without
writing code manually.