shilpi_agarwal
9 years agoContributor
check already running application exist
TestedApps.prowin.Run -- Runs the application named "prowin". Now I need to check whether the application is already running or not before writing above statement in script? If not running then abov...
- 9 years ago
The process has an "Exists" property, check that it does not exist before starting your application. The following script will check that "MyApplication" does not exist before running it:
if(!Sys["WaitProcess"]("MyApplication")["Exists"])
{
TestedApps["MyApplication"]["Run"]();
}https://support.smartbear.com/viewarticle/65867/