We published a custom library on Connect supporting on this:
Introduction
Also here in the Forum we do often request and share information about UiElement attributes and / or selector details. It is done often by screenshots but also the requests for more / complete information is causing the repetition of all the manual steps again.
In the following sections the modelling of a workflow is presented and the resulting process will help to retrieve and collect information of 1 or more UiElement(s) in a batch mode.
Creating a Batch Inspection Process
Setting up the dependency
-
ensure the Connect feed is enabled:
-
Click on Connect, Filter with Reply.Get and select Reply.GetUiElementInfoActivities
-
Click on Install, Save, Agree to the Open Source Licence and include it into your project
Modelling
- open the auto created Main sequence
- drag and drop the Reply > UiElement > Batch Get UiElement Info to the Main.xaml
- Configure the activity:
doLogging - Controlling if it writing logs
InfoDataTable - the Datatable populated with the results from the UiElement Inspections
Lets assume we want to write the info to an EXCEL file
- configure a write range as we following
BatchResult.xlsx - the Path/Filename to the output Excel
Scheet1 - the worksheet name
dtElementInfo - the datatable variable from above
Publishing / Deployment
as usual:
Execution
-
run the Bot
Kindly note: the Process Name will be as configured by your UiPath Project settings and can differ -
Indicate the item of interest:
the well known hot keys are working: F2 Pausing, F4 Changing the Automation Framework -
Confirm if you want to indicate an addtional element or end the batch:
Once it is done refer to the created Excel, stored on the location you have configured within the modelling
Thats All
Downloads
- the tutorial project: Tutorial_ReplyGetUiElementInfo_BatchMode.zip (23.0 KB)
- Main XAML only: Main.xaml (5.3 KB)
Feedback / Ressources
General Questions / Modelling / Configurations:
Open a new Topic here in the Forum
Bugs / non Functions:
Open a new Topic here in the Forum along with the information to replicate it
Reviews:
Project Page: Reply - Get UiElement Info Activities - RPA Component | UiPath Marketplace
Documentation:
Project Page: Reply - Get UiElement Info Activities - RPA Component | UiPath Marketplace