cancel
Showing results for 
Search instead for 
Did you mean: 

Bot takes time to highlight elements while using UI mode

SumitRaut
Level 2

I am using msedge and UI mode for process. When the process starts the elements getting identified faster but after some time those same elements take much more time to get recognize. 



------------------------------
Sumit Raut
------------------------------
1 REPLY 1

Hi @Sumit Raut,

In general, UIA mode is slower most of the times and should be used only if no other options are left such as Browser mode or IE mode are not working on top of edge application. If the other two modes are not possible to use, then you can optimize the spying a bit in UIA mode by following the below approaches:

  • Ensure you are using a bare minimum of attributes which can help you to identify the element easily. They should not have any blank values or attributes which can change dynamically such as UIA Width, UIA X, UIA Y etc. When I say bare minimum, it does not have a given number of attributes but should be only relevant ones. Remember more attribute you select you definitely can increase the speed, but it also might cost you the reliability of spying if you do not select them carefully. So always select as much attribute as possible but which always will be able to uniquely identify the element if you want imporved speed.

  • Make sure you are using the Match Index attribute to avoid duplicate elements being found.

  • Please check when you have these spying issues coming, what is your overall memory consumption for the machine. Some background tasks if running at that same time can hamper the speed as well. Your best idea should be to either kill such tasks programmatically or ensure during your run they are not active.

  • Use separate business objects rather than using one business object if you have multiple screens as it will make your application modeler heavy to use and will increase the overall time as well.

  • Ensure you are not using static delays or have configured static wait times as they will also significantly increase time of your overall workflow.


------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please provide a big thumbs up so that the others members in the community having similar problem statement can track the answer easily in future.

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------