cancel
Showing results for 
Search instead for 
Did you mean: 

Activate Application action

SamLima
Level 7

what does Activate Application in navigation stage do?



------------------------------
Sam Lima
------------------------------
1 BEST ANSWER

Best Answers

Hi Sam,

Activate Application action is used to bring the application window to the foreground if the window accidentally might be present at background. It can only be used with Win32 spied elements and it is typically used before actions which would require application window to be set at foreground such as if you are using global send keys or global send key events since they emulate keyboard actions directly on the currently focused element of any screen we wish to automate.

Hence, first we should activate the application so that the screen is visible and is set at foreground before using such activities.

Also, whenever we are performing any kind of image based or surface automation as we call it in Blue Prism, we always need to ensure that our application is on foreground so that images can be recognized properly.



------------------------------
----------------------------------
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

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

View answer in original post

1 REPLY 1

Hi Sam,

Activate Application action is used to bring the application window to the foreground if the window accidentally might be present at background. It can only be used with Win32 spied elements and it is typically used before actions which would require application window to be set at foreground such as if you are using global send keys or global send key events since they emulate keyboard actions directly on the currently focused element of any screen we wish to automate.

Hence, first we should activate the application so that the screen is visible and is set at foreground before using such activities.

Also, whenever we are performing any kind of image based or surface automation as we call it in Blue Prism, we always need to ensure that our application is on foreground so that images can be recognized properly.



------------------------------
----------------------------------
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

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