本文转自: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:
- Log in to https://www.acme-test.com.
- 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.
- Scrape the data from the whole table displayed.
- For each row in the datatable, Add a queue item containing the Invoice Number, Invoice Item and Total.
- Close ACME System 1.
Steps performed by the Robot in the Performer:
- Log in to https://www.acme-test.com.
- 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:
- 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.
- Create a separate workflow file for the Login to ACME. File input arguments: URL ; Username ; Password .
- Create a separate workflow file for closing ACME.
- Add the ACME_URL and ACME_Credential to the Excel Config file.
- Populate InitAllApplications.xaml from the Framework folder with Invoking the Login to ACME and navigation to the Work Items.
- Populate CloseAllApplications.xaml from the Framework folder with Invoking the Close ACME.
- Populate KillAllProcesses.xaml from the Framework folder with killing the process used.
- 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!
原文地址:https://www.cnblogs.com/freeliver54/p/11414573.html