Just to add to the previous post, one of the best practices is to use If Application Running for applications that do not have any user interface and it looks for them in list of processes running.
If the windows are visible for e.g. notepad, excel, word etc. then you can use If Window Exists etc.
Hope that helps! |