SlideShare a Scribd company logo
1 of 10
Hands-On with
UiPath Studio Web
Practical Task Demonstrations
2
Vajrang Billlakurthi
Transformation Leader
@Vajrang IT Services Pvt Ltd
Swathi Nelakurthi
Associate Automation Developer
@Vajrang IT Services Pvt Ltd
3
Studio Web Tenant Access
https://forms.office.com/r/pMKwTRDkkw
4
• Overview:
- This UiPath automation project aims to extract temperature data for cities provided in a spreadsheet and write
the extracted data into the corresponding temperature column in the same spreadsheet.
- Web scraping is utilized to retrieve temperature information from Google's search results.
- Note: During code execution, user interaction is required to grant consent for all cookies.
• Requirements:
- Navigate to www.google.com using a web browser.
- Access each city name provided in the spreadsheet.
- Search for the temperature of each city on Google.
- Extract the temperature value.
- Write the extracted temperature into the temperature column of the spreadsheet
• Variables Used:
- CurrentRow (Type: DataRow): Variable to represent the current row being processed in a loop
- Text Value (Type: String): Variable is dynamically generated by the activity and contains extracted temperature
1. City Temperature Tracker with Web Scraping
5
• Navigate to Google:
- Use the Use Browser activity to navigate to the Google website.
• Nest all browser-related activities inside the Use Browser activity.
• Iterate Through Each City:
- Use For Each Row in Spreadsheet activity to iterate through each city name in the spreadsheet.
• CurrentRow: Autogenerated variable holding each city name.
• Search for Temperature:
- Use Type Into activity to input the search query for the current city's temperature.
• Type this *: Provide "Temperature in "+CurrentRow("Cities").ToString+"[k(enter)]"
Workflow Overview
6
• Extract Temperature Data:
- Manually search for any city's temperature to indicate the location for web scraping.
- Use Get Text activity to extract the temperature value from the Google search results.
• Text Value: Autogenerated variable holding the extracted temperature.
• Write Temperature to Spreadsheet:
- Use Write Cell activity to write the extracted temperature into the temperature column of the spreadsheet.
- Determine the cell to write based on the Column, Current Row Index, and desired row position
• Cell: Provide "B"+(CurrentRowIndex+2).ToString
• What to Write: Provide Text Value Variable containing the extracted temperature
7
• Overview:
- This UiPath project offers an interactive exercise where users guess a randomly generated number within a
specified range.
- The automation guides users through the guessing process, providing feedback on each attempt and
congratulating them upon successful guess.
- It utilizes Boolean variables, random number generation, delay, Get Asset, and conditional logic to create an
engaging guessing game.
• Requirements:
- Generate a random number within a specified range.
- Prompt the user to guess the randomly generated number.
- Orchestrator Assets are utilized to store the guess value
- Provide feedback to the user based on their guess.
- Allow the user to retry the guessing game if desired.
2. Guessing Random Numbers in a Sequence
8
• Variables Used:
- isRetry (Type: Boolean): Controls the retry mechanism. Default value set to True.
- Output (Type: Integer): Autogenerated variable that stores the generated random number.
- Value (Type: Integer): Autogenerated variable that stores the guessed number retrieved from Orchestrator
Asset.
• Variable Setup:
- Create a Boolean variable named isRetry with a default value of True, , aiming to keep retrying until you
correctly guess the randomly generated number.
• Generate Random Number:
- Use Random Number activity to generate a random number within a specified range.
- Set Min and Max values accordingly.
• The Output variable is autogenerated that stores the generated random number.
Workflow Overview
9
• Interactive Guessing Loop:
- Implement a Do While activity to engage users in the guessing process.
• Within the loop.
- Delay activity for 15 seconds to provide time for the user to input their guess at Orchestrator Asset
(e.g., 15 seconds).
• Retrieve the user's guess using a Get Asset activity.
- Set the folder path and choose the appropriate asset name (e.g., "Guess Number").
- Value autogenerated variable to store the user's guess.
• Use If activities to compare the guessed number with the generated random number.:
• If the guess is greater than the random number,
- Use log Message activity to display a warning message to try a lower number
• If the guess is lesser than the random number,
- Use log Message activity to display a warning message to try a higher number.
10
• If the guess matches the random number,
- Use log Message activity to congratulate the user on their correct guess
- Use Set Variable activity to set 'isRetry' to False to exit the loop.
- Condition *:
• Provide Isretry variable
- Loop Continuation:
• The loop continues as long as isRetry remains True, allowing users to retry the guessing game if desired.
• Analysis:
• The project effectively engages users in a guessing game, providing clear instructions and feedback.
• It demonstrates the use of Boolean variables, random number generation, delay, Get Asset, and
conditional logic.
• Through the interactive exercise, users experience practical application of UiPath automation techniques.

More Related Content

Similar to UiPath Studio Web workshop series - Day 5

Understanding Business APIs through statistics
Understanding Business APIs through statisticsUnderstanding Business APIs through statistics
Understanding Business APIs through statistics
WSO2
 
November 2013 HUG: Real-time analytics with in-memory grid
November 2013 HUG: Real-time analytics with in-memory gridNovember 2013 HUG: Real-time analytics with in-memory grid
November 2013 HUG: Real-time analytics with in-memory grid
Yahoo Developer Network
 
Guidelhhghghine document final
Guidelhhghghine document finalGuidelhhghghine document final
Guidelhhghghine document final
nanirao686
 
IEEE.BigData.Tutorial.2.slides
IEEE.BigData.Tutorial.2.slidesIEEE.BigData.Tutorial.2.slides
IEEE.BigData.Tutorial.2.slides
Nish Parikh
 
Flink Forward San Francisco 2019: Building Financial Identity Platform using ...
Flink Forward San Francisco 2019: Building Financial Identity Platform using ...Flink Forward San Francisco 2019: Building Financial Identity Platform using ...
Flink Forward San Francisco 2019: Building Financial Identity Platform using ...
Flink Forward
 

Similar to UiPath Studio Web workshop series - Day 5 (20)

Hadoop Summit SJ 2016: Next Gen Big Data Analytics with Apache Apex
Hadoop Summit SJ 2016: Next Gen Big Data Analytics with Apache ApexHadoop Summit SJ 2016: Next Gen Big Data Analytics with Apache Apex
Hadoop Summit SJ 2016: Next Gen Big Data Analytics with Apache Apex
 
Understanding Business APIs through statistics
Understanding Business APIs through statisticsUnderstanding Business APIs through statistics
Understanding Business APIs through statistics
 
November 2013 HUG: Real-time analytics with in-memory grid
November 2013 HUG: Real-time analytics with in-memory gridNovember 2013 HUG: Real-time analytics with in-memory grid
November 2013 HUG: Real-time analytics with in-memory grid
 
Guidelhhghghine document final
Guidelhhghghine document finalGuidelhhghghine document final
Guidelhhghghine document final
 
Apache Big Data 2016: Next Gen Big Data Analytics with Apache Apex
Apache Big Data 2016: Next Gen Big Data Analytics with Apache ApexApache Big Data 2016: Next Gen Big Data Analytics with Apache Apex
Apache Big Data 2016: Next Gen Big Data Analytics with Apache Apex
 
Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...
Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...
Using Metrics for Fun, Developing with the KV Store + Javascript & News from ...
 
IMCSummit 2015 - Day 1 Developer Track - Implementing Operational Intelligenc...
IMCSummit 2015 - Day 1 Developer Track - Implementing Operational Intelligenc...IMCSummit 2015 - Day 1 Developer Track - Implementing Operational Intelligenc...
IMCSummit 2015 - Day 1 Developer Track - Implementing Operational Intelligenc...
 
Spark Summit EU talk by Ram Sriharsha and Vlad Feinberg
Spark Summit EU talk by Ram Sriharsha and Vlad FeinbergSpark Summit EU talk by Ram Sriharsha and Vlad Feinberg
Spark Summit EU talk by Ram Sriharsha and Vlad Feinberg
 
IEEE.BigData.Tutorial.2.slides
IEEE.BigData.Tutorial.2.slidesIEEE.BigData.Tutorial.2.slides
IEEE.BigData.Tutorial.2.slides
 
Large scale Click-streaming and tranaction log mining
Large scale Click-streaming and tranaction log miningLarge scale Click-streaming and tranaction log mining
Large scale Click-streaming and tranaction log mining
 
Online learning with structured streaming, spark summit brussels 2016
Online learning with structured streaming, spark summit brussels 2016Online learning with structured streaming, spark summit brussels 2016
Online learning with structured streaming, spark summit brussels 2016
 
Flink Forward San Francisco 2019: Building Financial Identity Platform using ...
Flink Forward San Francisco 2019: Building Financial Identity Platform using ...Flink Forward San Francisco 2019: Building Financial Identity Platform using ...
Flink Forward San Francisco 2019: Building Financial Identity Platform using ...
 
What you need to know for postgresql operation
What you need to know for postgresql operationWhat you need to know for postgresql operation
What you need to know for postgresql operation
 
Treasure Data Summer Internship 2016
Treasure Data Summer Internship 2016Treasure Data Summer Internship 2016
Treasure Data Summer Internship 2016
 
Architectual Comparison of Apache Apex and Spark Streaming
Architectual Comparison of Apache Apex and Spark StreamingArchitectual Comparison of Apache Apex and Spark Streaming
Architectual Comparison of Apache Apex and Spark Streaming
 
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {2013-20...
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {2013-20...Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {2013-20...
Project Management (Practical Qustion Paper) [CBSGS - 75:25 Pattern] {2013-20...
 
Building Streaming Applications with Streaming SQL
Building Streaming Applications with Streaming SQLBuilding Streaming Applications with Streaming SQL
Building Streaming Applications with Streaming SQL
 
Using Apache Pulsar to Provide Real-Time IoT Analytics on the Edge_David
Using Apache Pulsar to Provide Real-Time IoT Analytics on the Edge_DavidUsing Apache Pulsar to Provide Real-Time IoT Analytics on the Edge_David
Using Apache Pulsar to Provide Real-Time IoT Analytics on the Edge_David
 
Lec16-CS110 Computational Engineering
Lec16-CS110 Computational EngineeringLec16-CS110 Computational Engineering
Lec16-CS110 Computational Engineering
 
Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)Performance analysis(Time & Space Complexity)
Performance analysis(Time & Space Complexity)
 

More from DianaGray10

UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
DianaGray10
 

More from DianaGray10 (20)

UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Women in Automation 2024: Career session - explore career paths in automation
Women in Automation 2024: Career session - explore career paths in automationWomen in Automation 2024: Career session - explore career paths in automation
Women in Automation 2024: Career session - explore career paths in automation
 
Automation Ops Series: Session 3 - Solutions management
Automation Ops Series: Session 3 - Solutions managementAutomation Ops Series: Session 3 - Solutions management
Automation Ops Series: Session 3 - Solutions management
 
Efficiencies in RPA with UiPath and CyberArk Technologies - Session 2
Efficiencies in RPA with UiPath and CyberArk Technologies - Session 2Efficiencies in RPA with UiPath and CyberArk Technologies - Session 2
Efficiencies in RPA with UiPath and CyberArk Technologies - Session 2
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 2
UiPath Platform: The Backend Engine Powering Your Automation - Session 2UiPath Platform: The Backend Engine Powering Your Automation - Session 2
UiPath Platform: The Backend Engine Powering Your Automation - Session 2
 
Women in Automation 2024: Technical session - Get your career started in auto...
Women in Automation 2024: Technical session - Get your career started in auto...Women in Automation 2024: Technical session - Get your career started in auto...
Women in Automation 2024: Technical session - Get your career started in auto...
 
Unleashing the power of AI in UiPath Studio with UiPath Autopilot.
Unleashing the power of AI in UiPath Studio with UiPath Autopilot.Unleashing the power of AI in UiPath Studio with UiPath Autopilot.
Unleashing the power of AI in UiPath Studio with UiPath Autopilot.
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6
 
UiPath Clipboard AI: "A TIME Magazine Best Invention of 2023 Unveiled"
UiPath Clipboard AI: "A TIME Magazine Best Invention of 2023 Unveiled"UiPath Clipboard AI: "A TIME Magazine Best Invention of 2023 Unveiled"
UiPath Clipboard AI: "A TIME Magazine Best Invention of 2023 Unveiled"
 
UiPath Studio Web workshop series - Day 4
UiPath Studio Web workshop series - Day 4UiPath Studio Web workshop series - Day 4
UiPath Studio Web workshop series - Day 4
 
Automation Ops Series: Session 2 - Governance for UiPath projects
Automation Ops Series: Session 2 - Governance for UiPath projectsAutomation Ops Series: Session 2 - Governance for UiPath projects
Automation Ops Series: Session 2 - Governance for UiPath projects
 
Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

UiPath Studio Web workshop series - Day 5

  • 1. Hands-On with UiPath Studio Web Practical Task Demonstrations
  • 2. 2 Vajrang Billlakurthi Transformation Leader @Vajrang IT Services Pvt Ltd Swathi Nelakurthi Associate Automation Developer @Vajrang IT Services Pvt Ltd
  • 3. 3 Studio Web Tenant Access https://forms.office.com/r/pMKwTRDkkw
  • 4. 4 • Overview: - This UiPath automation project aims to extract temperature data for cities provided in a spreadsheet and write the extracted data into the corresponding temperature column in the same spreadsheet. - Web scraping is utilized to retrieve temperature information from Google's search results. - Note: During code execution, user interaction is required to grant consent for all cookies. • Requirements: - Navigate to www.google.com using a web browser. - Access each city name provided in the spreadsheet. - Search for the temperature of each city on Google. - Extract the temperature value. - Write the extracted temperature into the temperature column of the spreadsheet • Variables Used: - CurrentRow (Type: DataRow): Variable to represent the current row being processed in a loop - Text Value (Type: String): Variable is dynamically generated by the activity and contains extracted temperature 1. City Temperature Tracker with Web Scraping
  • 5. 5 • Navigate to Google: - Use the Use Browser activity to navigate to the Google website. • Nest all browser-related activities inside the Use Browser activity. • Iterate Through Each City: - Use For Each Row in Spreadsheet activity to iterate through each city name in the spreadsheet. • CurrentRow: Autogenerated variable holding each city name. • Search for Temperature: - Use Type Into activity to input the search query for the current city's temperature. • Type this *: Provide "Temperature in "+CurrentRow("Cities").ToString+"[k(enter)]" Workflow Overview
  • 6. 6 • Extract Temperature Data: - Manually search for any city's temperature to indicate the location for web scraping. - Use Get Text activity to extract the temperature value from the Google search results. • Text Value: Autogenerated variable holding the extracted temperature. • Write Temperature to Spreadsheet: - Use Write Cell activity to write the extracted temperature into the temperature column of the spreadsheet. - Determine the cell to write based on the Column, Current Row Index, and desired row position • Cell: Provide "B"+(CurrentRowIndex+2).ToString • What to Write: Provide Text Value Variable containing the extracted temperature
  • 7. 7 • Overview: - This UiPath project offers an interactive exercise where users guess a randomly generated number within a specified range. - The automation guides users through the guessing process, providing feedback on each attempt and congratulating them upon successful guess. - It utilizes Boolean variables, random number generation, delay, Get Asset, and conditional logic to create an engaging guessing game. • Requirements: - Generate a random number within a specified range. - Prompt the user to guess the randomly generated number. - Orchestrator Assets are utilized to store the guess value - Provide feedback to the user based on their guess. - Allow the user to retry the guessing game if desired. 2. Guessing Random Numbers in a Sequence
  • 8. 8 • Variables Used: - isRetry (Type: Boolean): Controls the retry mechanism. Default value set to True. - Output (Type: Integer): Autogenerated variable that stores the generated random number. - Value (Type: Integer): Autogenerated variable that stores the guessed number retrieved from Orchestrator Asset. • Variable Setup: - Create a Boolean variable named isRetry with a default value of True, , aiming to keep retrying until you correctly guess the randomly generated number. • Generate Random Number: - Use Random Number activity to generate a random number within a specified range. - Set Min and Max values accordingly. • The Output variable is autogenerated that stores the generated random number. Workflow Overview
  • 9. 9 • Interactive Guessing Loop: - Implement a Do While activity to engage users in the guessing process. • Within the loop. - Delay activity for 15 seconds to provide time for the user to input their guess at Orchestrator Asset (e.g., 15 seconds). • Retrieve the user's guess using a Get Asset activity. - Set the folder path and choose the appropriate asset name (e.g., "Guess Number"). - Value autogenerated variable to store the user's guess. • Use If activities to compare the guessed number with the generated random number.: • If the guess is greater than the random number, - Use log Message activity to display a warning message to try a lower number • If the guess is lesser than the random number, - Use log Message activity to display a warning message to try a higher number.
  • 10. 10 • If the guess matches the random number, - Use log Message activity to congratulate the user on their correct guess - Use Set Variable activity to set 'isRetry' to False to exit the loop. - Condition *: • Provide Isretry variable - Loop Continuation: • The loop continues as long as isRetry remains True, allowing users to retry the guessing game if desired. • Analysis: • The project effectively engages users in a guessing game, providing clear instructions and feedback. • It demonstrates the use of Boolean variables, random number generation, delay, Get Asset, and conditional logic. • Through the interactive exercise, users experience practical application of UiPath automation techniques.