How to Identify whether Windows application already running or not

I want to check whether Windows application already running or not, if it is already running then work with it or else open that application


Use Get Processes activity from which you can get a list of all processes. In that list you can check your specific application.

Hi @nm09011985,
If it’s visible you can use element exist activity
You can use GetProcesses() method to get the list of running processes. And check whether your program is running or not



Hello, thnx for advice.
But in the both option i am not able to find if Element exist then no need to re-open it and if not exist then open it.
same with Get process also.

@nm09011985 - You can use attach window activity. If element will not exist on that then it will throw the exception.


I’d wish to know what’s that “element exist activity” you’re talking about, as I can’t find any activity with that name.


1 Like

In modern design experience, the activity name is Check App State,
If you want to use the classic, in the activities panel, at the top there’s a filter option, click that and enable Classic , then you can see the Element Exists Activity