Exp No: 8 Recording Mouse and Keyboard Actions in Uipath
Exp No: 8 Recording Mouse and Keyboard Actions in Uipath
Objective: To automate the process of recording and reproducing mouse and keyboard
actions using UiPath's recording features.
Materials Required:
Procedure:
1
o Verify that the automation performs the desired actions accurately and handles
various conditions.
Sample Input:
Actions: Click a button, type text into a field, press Enter, and select a menu item.
Sample Output:
The recorded sequence reproduces the mouse clicks and keyboard inputs as
performed during the recording session.
Results:
The automation successfully records and replays mouse and keyboard actions,
replicating the steps performed during the recording process.
Notes:
Selectors: Ensure that UI selectors are stable and reliable, as dynamic elements on the
screen may cause issues.
Delay and Timing: Adjust delays and timing settings if the automation needs to wait
for elements to become available or for actions to complete.
2
Exp No: 9 Scraping Data from a Website and Writing to CSV
Objective: To extract data from a website and save it into a CSV file using UiPath's web
scraping and file handling activities.
Materials Required:
Procedure:
3
Sample Input:
Sample Output:
Name,Age,Email
John Doe,30,[email protected]
Jane Smith,25,[email protected]
Results:
The automation successfully scrapes data from the website and writes it to a CSV file
as specified.
Notes:
Selectors and Stability: Ensure that the selectors used in the Data Scraping wizard
are stable and correctly target the desired elements on the website.
Data Validation: Validate the scraped data to ensure accuracy and completeness.
4
Exp No: 10 Implementing Error Handling in UiPath
Objective: To incorporate error handling mechanisms into an RPA process to manage and
respond to exceptions and errors effectively.
Materials Required:
Procedure:
5
Configure the retry logic and conditions to define when to stop
retrying.
7. Save and Test:
o Save the workflow.
o Run the process to test the error handling implementation.
o Simulate errors to ensure that the error handling mechanisms respond
correctly.
8. Verify and Validate:
o Verify that errors are handled as expected.
o Check logs, notifications, or alternative actions to ensure proper error
management.
Sample Input:
An operation that may fail (e.g., accessing a web page, reading a file).
Sample Output:
Results:
The automation process successfully handles errors, logs exception details, and takes
appropriate actions based on the error type.
6
Exp No: 11 Web Scraping Using UiPath
Objective: To extract structured data from a website and store it into a format like CSV or
Excel using UiPath’s web scraping capabilities.
Materials Required:
Procedure:
7
Log or Notify: Add activities to log error details or notify if an error occurs.
7. Save and Run:
o Save the workflow.
o Run the process to test the web scraping and data writing functionalities.
8. Verify Results:
o Open the generated CSV or Excel file to ensure that the data has been correctly
scraped and saved.
o Check that the data matches what was on the website and is correctly formatted.
Sample Input:
Sample Output:
graphql
Copy code
Name,Age,Email
John Doe,30,[email protected]
Jane Smith,25,[email protected]
Results:
The automation successfully extracts data from the website and writes it to the specified
CSV or Excel file.
8
Exp No: 12 Email Query Processing Using UiPath
Objective: To automate the process of reading, processing, and responding to email queries
using UiPath’s email and automation capabilities.
Materials Required:
Procedure:
9
Implement error handling to manage any issues that occur during email
processing or sending.
Log errors or notify stakeholders if something goes wrong.
7. Mark Emails as Read (Optional):
o Update Email Status:
Use activities to mark emails as read or move them to a different folder after
processing.
For example, use the “Move Mail Message” activity to organize processed
emails.
8. Save and Run:
o Save the workflow.
o Run the process to test email reading, processing, and response functionalities.
9. Verify Results:
o Check the email inbox and sent items to ensure that emails are processed and
responses are sent correctly.
o Verify that queries are handled as expected and responses are appropriate.
Sample Input:
Incoming Email:
o Subject: “Request for Information”
o Body: “Please provide the latest sales report.”
o Sender: [email protected]
Sample Output:
Response Email:
o Subject: “Re: Request for Information”
o Body: “Dear [Sender], Please find the latest sales report attached.”
o Attachment: Sales report file
Results:
The automation successfully reads incoming email queries, processes them, and sends
appropriate responses.
10
11