cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Windows Title

AbhishekGera
Level 2
Hi All,

I am new to the community and looking for some guidance on one of the engagement I am working with on Blue prism. I was working on an application whose windows title keep on changing from one screen to another. Whenever I try to attach the application, it fails everytime. There are so many attach stages I have created.
Is there any simple mechanism to handle it?

------------------------------
Abhishek Gera
------------------------------
1 BEST ANSWER

Best Answers

Hi @Abhishek Gera,

Thanks for sharing the screenshot. You have to use the field as "Window Title" rather than just "Title"​. Blue Prism looks for the specific field name before it tries to attach to the application. Please try changing the title and let me know if it works.

------------------------------
Ritansh Jatwani
Manager
Deloitte
Gurgaon
*If you find this post helpful mark it as best answer
------------------------------

View answer in original post

7 REPLIES 7

Hi @Abhishek Gera,

Welcome to the community 🙂
​In order to handle such a scenario, please use the concept of "Window Titles (as collection)". Pass the different titles in the collection and Blue Prism itself will try to attach with all the entries one by one. If the window title matches, it will attach otherwise it will throw the error. PFB the screenshot for the same

14177.png

------------------------------
Ritansh Jatwani
Manager
Deloitte
Gurgaon
*If you find this post helpful mark it as best answer
------------------------------

Thanks @RitanshJatwani for the quick response.
I already tried doing that but it threw the below error:

14178.png

------------------------------
Abhishek Gera
------------------------------

Hi @Abhishek Gera,

It seems you are missing the windows title. Can you please confirm the name of the field which you are using in the "Windows Title" collection?​

------------------------------
Ritansh Jatwani
Manager
Deloitte
Gurgaon
*If you find this post helpful mark it as best answer
------------------------------

Hello @RitanshJatwani,

​Yes, below is the screenshot of the collection I am using:

14183.png
14184.png

------------------------------
Abhishek Gera
------------------------------

Hi @Abhishek Gera,

Thanks for sharing the screenshot. You have to use the field as "Window Title" rather than just "Title"​. Blue Prism looks for the specific field name before it tries to attach to the application. Please try changing the title and let me know if it works.

------------------------------
Ritansh Jatwani
Manager
Deloitte
Gurgaon
*If you find this post helpful mark it as best answer
------------------------------

Awesome @RitanshJatwani. Thanks for the quick help. It was really helpful 🙂

------------------------------
Abhishek Gera
------------------------------

Riku
Level 2

Two alternatives comes to mind. You can read open windows. Example https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---general or depends the case you may not need window title at all and handle it with child index and process name.



------------------------------
Riku

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