Saturday, June 8, 2019

UiPath: UiDemo Level 3 Advance Training Assignment working code

Check out my latest assignment completed on UiDemo Level 3 Advance Training first assignment. It took me more than 8 hours work to complete as there were issue in ReFramework which took most of my time in figuring out issue. You can download the complete project from GitHub @zpaya repository.

Sunday, June 2, 2019

What does Automation Framework should have?

Building Productive automation framework requires -

  1. Proper Exception handling
  2. Recovery abilities
  3. Effective logging
  4. Reporting Functionality
  5. High Maintainability
  6. Extensibility
  7. Reusability
  8. Ease of Development.


UiPath MCQ: Level 2 - Orchestrator Training


Provide you feedback under comment section -

1. Machine Templates only work for:
Active Directory users and Attended Floating Robots

2. Assets can be:
- Global
- Per Robot

3. Select only the specifications that are mandatory when deploying a process:
- The package name The package version
- The package version
- The environment

4. Where can the parameters be modified from in the Orchestrator?
- Processes -> Parameters
- Jobs -> Start Job -> Parameters

5. What happens if an active package version in Orchestrator is deleted?
Active packages cannot be deleted

6. A Robot is executing a workflow that uses the "Log Message" activity with the 'Info' level. If the log level of the robot is set to 'Error', does the Info log appear on the Orchestrator Robots > Logs page?
- No, only the log messages of type 'Error' and 'Critical' are displayed on the Orchestrator Robots > Logs page
- View all published packages
- Delete package versions

7. How can a job be initialized using Orchestrator?
- Manually, from the Jobs page
- At specific times, using Schedules

8. Which of the following data types can be stored as Assets?
- Integer
- String
- Credential
- Boolean

9. Where can you check whether a job was scheduled or manually started?
- Jobs > Source Column will have Manual or scheduler name

10. How can the processes in a schedule be assigned to the robots in a specific environment?
- Processes can run on all the robots in an environment
- Processes can run on specific robots in an environment, depending on the user's choice

11. What is the easiest way to manage the Items that were assigned to you for Review?
- By using the Review Requests Menu

12. How can a process be allocated to three different robots?
- By creating a job and selecting all three robots
- By scheduling the process and adjusting the settings in the Execution Target tab accordingly

13. How can a process that has more package versions be updated?
By going to Processes, selecting the targeted process, clicking View Versions and selecting the desired option

14. What filter types are available for Jobs?
- State
- Source

15. Which command instructs a robot to gracefully terminate the running process?
NOT THIS ONE - Stop

16. What is the mandatory field required to complete when creating a new Machine Template?
Template Name

17. There are 3 robots in the "ABC" environment. How can the execution of a package be assigned to all 3 of them?
NOT THIS ONE - By adding all 3 robots and the package in the same environment

18. What are the statuses that can be set manually for the transactions that failed due to an application exception?
NOT THIS ONE - It's not possible to set the status of any failed transaction manually

19. Which of the following Properties can be used as Filters for the Review Requests Menu?
- Priority
- Queue
- Revision
- Status

20. How are Robot Keys generated?
Orchestrator generates unique Robot Keys during the robot provisioning process

21. Can the parameters of the main workflow be inserted from the Orchestrator?
Yes

22. Can a Machine Template name be changed?
Yes, only if there are Edit rights on Machines.

23. Select the charts included in the Orchestrator Dashboard:
- Robots
- Job results
- Transactions

24. Is using the 'Publish' button in Studio the only way to upload a package to Orchestrator?
No. Packages can also be published via the Packages page in Orchestrator

25. How can you see only the jobs that ran on attended robots?
NOT THIS ONE - By selecting "Attended" from the Robot Filter in the Jobs menu.

26. Which of the steps below are required in order to establish a connection between a robot and Orchestrator?
- Provisioning the Robot in Orchestrator
- Configuring the Robot on the local machine using the Orchestrator URL and the Robot key

27. Which parameters are mandatory to be defined when creating a new environment
Name
Type

28. Which activities can be used to retrieve information from an asset
Get Asset
Get Credential

29. What are the statuses that can be set manually for the transactions that failed due to an application exception?
a). In Review
b). Retry
c).Verified

30. Where can you check whether a job was scheduled or manually started?
a). Go to the Jobs page and check the Source Column.

31. How can a job be initialized using Orchestrator ?
a).Manually, from the Jobs page
b). At specific times, using Schedules

32. What filter type are available for job?
a).State

33.Select only the specifications that are mandatory when deploying a process?
a).The Environment
b).The Package Version
c).The Package Name

34. What is Orchestrator used for?
a).Remotely controlling any number of robots and performing workflow management

35. Which of following data types can be stored as Assets?
a)Integer
b).String
c)Boolean
d)Credential

36. Which options and actions can be triggered on the Packages page?
a)View all published packages
b)Delete package versions
c)Add a new package manually

37. What happens if a new job is triggered while the robot it is assigned to is executing a different process?
a) The new job is left in a ‘Pending’ state until the robot finishes executing the process. The new job is executed as soon as the robot becomes available

38. The schedule 'stop after ' option refer to:
a). The amount of time until the schedule process will be canceled? terminate.

39. Which option can be used to stop a running process?
a)Stop
b).Kill

40. which of the steps below are required in order to establish a connection between a robot and orchestrator?
a).Provisioning the robot in Orchestrator.
b).Configuring the robot on the local machine using the orchestrator URL and Robot Key.

41. Is it possible to reprocess a transaction in a Queue after its failure due to an application exception?
a).Yes, if the Auto-Retry property of the Queue is enabled
b).Yes, it can be retried manually on the Transactions page

42. Can we set up a reviewer for the Failed Transactions?
a)YES

43. A Robot is executing a workflow that uses the “Log Message” activity, with ‘Info’ level specified. If the log level of the Robot is set to ‘Error’, will the Info log appear on the Orchestrator Log page?
a).No, only the log messages of type ‘Error’ and ‘Critical’ will be displayed on the Orchestrator Log page

44. Is it possible to check whether a Robot that is connected to Orchestrator is available or not in real time?
a).Yes, this is possible through the Heartbeat mechanism; the status of each robot is updated on the Robots page

45. How can the processes in a schedule be assigned to the robots in a specific environment?
a).Processes can run on all the robots in an environment
b).Processes can run on specific robots in an environment, depending on the user's choice.
c).Processes can run on a specific number of robots, depending on the user's choice

46. How are Robot Keys generated?
a).Orchestrator generates unique Robot Keys during the robot provisioning process

47. Which Studio activity is linked with the Stop command in Orchestrator?
a).The should stop Activity.

48. What happens if an active package version in Orchestrator is Deleted?
a). That specific Package version and all the processes using it are romoved from Orchestrator.

49. What is the easiest way to manage the item that were assigned to you for Review?
a).By using the Review Request Menu.

50. There are 3 robots in the "ABC" environment. How can the execution of a package be assigned to all 3 of them?
a).By navigating to the Processes page to pair the package with the intended environment, and then going to Jobs, selecting the intended/targeted process, and clicking Start

51. Which parameter are mandatory to be defined when creating a new Robot.
a).Name
b). Type

52. What is a transaction?
a).A set of arguments that was added to a Queue and has been processed by a robot

53. How can a process that has more package versions be updated?
a).By going to process selecting the targeted process clicking manage versions and selecting the desired option.

54.When should the add log fields activity be used?
a).When the standard log message has to be customized by adding new fields to it.

55. Select the charts included in the Orchestrator Dashboard:
a).Robot
b).job results
c). Transactions

56. What happens if the status of a Transaction is not updated within 24 hours?
a).Its status is changed to Abandoned

Read CSV from S3

 import csv def count_records(csv_file):     record_count = 0     first_line = None     last_line = None     # Open the CSV file and read it...