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