UiPath RPA Associate (UiRPA) — Question 50
Based on best practices, which steps should a developer perform to upgrade the Ui Path.UI Automation.Activities package from version 19.11.5 to version 21.10.5 in the project?
Answer options
- A. Remove version 19.11.5 of UiPath.UIAutomation.Activities from the project.json file Restart UiPath Studio
- B. Open the Manage Packages window and select Project Dependencies Change UiPath.UI Automation.Activities to version 21.10.5 and save
- C. Open the Manage Packages window and select Settings Modify the Default package sources Restart UiPath Studio
- D. Open the Manage Packages window and select Project Dependencies Uninstall UiPath.UIAutomation.Activities version 19.11.5 and restart UiPath Studio Install the UiPath.UIAutomation.Activities version 21.10.5
Correct answer: D
Explanation
The correct answer is D because it outlines the necessary steps to properly uninstall the outdated package and install the new version, ensuring that all dependencies are updated correctly. Options A and C do not involve the installation of the new version, and B only suggests changing the version without uninstalling the old one, which can lead to conflicts.