The document explains the concept and functionalities of an object repository in UI automation, highlighting its role in managing, reusing, and enhancing the reliability of UI elements. Key features include centralized management of UI activities, enhanced element capture tools, and prerequisites for using the repository with specific UiPath packages. It also provides references and a practical challenge for further learning and application.
2
Definition: Object Repository
âąThe Object Repository ensures the management, reusability, and reliability of UI
elements by capturing them as objects in a DOM-like repository, sharable across
projects. It allows for creating and reusing UI taxonomies inside and across
automation projects.
âą The Object Repository allows the reusing of UI elements inside and across
automation projects.
âą With Object Repository you can import UI libraries for your application and use
the UI elements contained inside across your automation projects.
3.
3
Key Features ofObject Repository
âą UI elements across the project are managed, updated, and modified from a
centralized place.
âą View a list of all your UI activities inside your process by using the UI Activities
tab inside Object Repository panel.
âą Quickly capture elements you need in your automation with the Capture
Elements wizard.
âą Increased selector reliability with the help of the Capture Elements recorder that
captures elements, together with their anchors.
4.
4
Pre Requisites
âą TheObject Repository works with
UiPath.UIAutomation.Activities package
versions 2020.10 and above in projects that
use the Modern Design Experience. Note that
UIAutomationNext package has been
deprecated as of 20.10. The activities from
UIAutomationNext are now found in the
UIAutomation package.
âą The Use Modern for new projects toggle
controls the default design experience for new
projects. Modern experience is a new way of
designing automation with wizards, recorders,
and activities part of the packs enhanced for
Object Repository support. This toggle is on a
global level, meaning that if enabled, all new
projects are created within the context of
modern design experience.
âą When the Object Repository enforced toggle is
set to Yes, activities part of the UIAutomation
pack need to reference elements from the
Object Repository.
6
References to learnmore
You can learn more about Object Repository from the below links.
https://docs.uipath.com/studio/docs/about-object-repository
https://academy.uipath.com/courses/object-repository
https://docs.uipath.com/studio/docs/creating-an-object-repository
https://docs.uipath.com/studiox/docs/object-repository
https://docs.uipath.com/studio/docs/reusing-objects-ui-libraries