码迷,mamicode.com
首页 > 其他好文 > 详细

[转]RPA Developer Advanced Certification - Exam #1 UiPath 练习

时间:2019-08-26 21:04:38      阅读:335      评论:0      收藏:0      [点我收藏+]

标签:mat   items   imp   test   api   outside   erro   auto   exce   

本文转自:https://github.com/miyaichi/CertificationExam1

RPA Developer Advanced Certification - Exam #1

Exercise In this exercise, you will create a UiPath automation that performs the steps below. To achieve this, you will use the REFrameWork as the starting template and follow the UiPath development best practices.

The solution has to be scalable, so create two separate projects (sub-processes):

  • One for the Dispatcher (add to queue);
  • Another one for the Performer (consume queue). Make sure you use a connection to an UiPath Orchestrator for testing.

Here are the steps performed by the Robot in the Dispatcher:

  1. Log in to https://www.acme-test.com.
  2. On the landing page, Dashboard, click or hover over the Invoices menu item and then click on Search for Invoice. Click on Display All Invoices.
  3. Scrape the data from the whole table displayed.
  4. For each row in the datatable, Add a queue item containing the Invoice Number, Invoice Item and Total.
  5. Close ACME System 1.

Steps performed by the Robot in the Performer:

  1. Log in to https://www.acme-test.com.
  2. For each Queue Item:
  • Click or hover over the Invoices menu item and then click on Search for Invoice;
  • Type the Invoice Number retrieved from the queue item into the Invoice Number field field;
  • Click on Search;
  • Extract the values for the Invoice Item and Total and compare them with the values from the queue item (check for EXACT match for all fields!);
  • If the values are not matching, this should be categorized as a Business Rule Exception, and the queue item should have the status set accordingly;
  • If the values match, the transaction is successful.

Note: Navigation can be achieved in multiple ways by the robot - choose whichever you find best.

Constraints to follow in the development, using the REFrameWork:

  1. TransactionItem datatype should be a QueueItem. The process should recover and retry 2 times in case of errors in navigation between the Invoice Search and Invoices - Search Results pages. One transaction is the action of navigating to the Invoices Search page, searching for the Invoice Number and scraping the values from the resulting one row table.
  2. Create a separate workflow file for the Login to ACME. File input arguments: URL ; Username ; Password .
  3. Create a separate workflow file for closing ACME.
  4. Add the ACME_URL and ACME_Credential to the Excel Config file.
  5. Populate InitAllApplications.xaml from the Framework folder with Invoking the Login to ACME and navigation to the Work Items.
  6. Populate CloseAllApplications.xaml from the Framework folder with Invoking the Close ACME.
  7. Populate KillAllProcesses.xaml from the Framework folder with killing the process used.
  8. Populate the Process.xaml file with the following actions: Navigation, Searching for Invoice Number, Scraping, Checking if the values match, Handling the Business Rule Exception.

Important Note: Don‘t use external file references outside of the project folder (including Orchestrator Assets). Place all the used files within the project folder, zip that folder and upload it to the UiPath Certification Platform.

Zip ALL the used workflow files AND the output Excel file. Then upload the .zip file to the UiPath Certification Platform.

Good luck!

[转]RPA Developer Advanced Certification - Exam #1 UiPath 练习

标签:mat   items   imp   test   api   outside   erro   auto   exce   

原文地址:https://www.cnblogs.com/freeliver54/p/11414573.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!