Use Application Reliability | Error: "Could not open target application."

When using the ‘Use Application’ Action, many times it will get confused and cause an error to occur. Is there a way that I can make this action more reliable? How can I get it to work 100% of the time? Are there best practices I should be following?

Please let me know your thoughts! :slight_smile:

Hello @grant.walker

It would be better if you can explain the scenario in which the exception is happening. Are you opening a new window or working on an existing window?

I would suggest as a prerequisite you need to close all the windows using automation and in the Use Application activity, provide the property for the session as a New session.


Hi @Rahul_Unnikrishnan,

I am primarily looking for general information/best practices in how to make it more reliable.

In my use case, I am opening a new Java window that uses an Oracle client.
How do I provide the property for the session?

While opening the application in the selector if there are any dynamic elements, like id or some other attribute. Replace it with *. It will help to identify the screen eventhiugh if some attribute changes.