0% found this document useful (0 votes)
44 views1 page

1. Random User API

The document outlines a solution for generating diverse user profiles for testing a social media website prototype using the Random User Generator API integrated with UiPath. It details steps for automating the generation, data management, and writing to Excel, including filtering and sorting functionalities. Key concepts covered include API usage, JSON handling, and error validation in automation workflows.

Uploaded by

gcetly.2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views1 page

1. Random User API

The document outlines a solution for generating diverse user profiles for testing a social media website prototype using the Random User Generator API integrated with UiPath. It details steps for automating the generation, data management, and writing to Excel, including filtering and sorting functionalities. Key concepts covered include API usage, JSON handling, and error validation in automation workflows.

Uploaded by

gcetly.2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Random User API

Problem Statement

Manually creating diverse user profiles for testing purposes is time-consuming and doesn't
reflect real-world scenarios accurately.

Description

Imagine you're tasked with developing a social media website prototype for your college project.
To ensure the platform's functionality and user experience are tested comprehensively, you
need a reliable method to generate and manage realistic user profiles with varying attributes
such as demographics, interests, and network connections.

Solution

To address this challenge effectively using UiPath, you can integrate the Random User
Generator API.

https://randomuser.me/api/

This integration will allow you to automate the generation and management of diverse user
profiles, enhancing the complexity of your automation project.

1. UiPath Integration: Utilize UiPath Studio to create automation workflows that interact
with the Random User Generator API. Use HTTP Request activities to fetch user profiles
dynamically in JSON format.
2. Data Management in UiPath: Implement data parsing and manipulation activities within
UiPath to extract relevant user information from the API response. Store this data in
variables or DataTables for further use in your automation workflows.

Relevant fields: name, gender, address.street.number, address.street.name,


address.city, address.state, address.country, address.postcode, dob.age, email

3. Write to Excel: Extracted data to be written to an excel file.


4. Country filter: Creating separate sheets based on country from your randomly
generated user profiles data in Excel.
5. Sort based on age: Sort whole data based on age of the person.
6. Testing and Validation: Execute and validate your UiPath automation workflows using
the generated user profiles. Ensure that each workflow handles edge cases and
exceptions gracefully, demonstrating robust error handling.

Concepts covered: API, JSON, Deserialize, Datatable, Excel

You might also like