WesWhit
2 years agoContributor
Checking Whether a TestedApp is Running or Not
I am desktop testing, and my application has an option to either close or restart itself or one of the connected applications. I am trying to create a check as to whether the closed/restarted app is running or not but I have be unsuccessful.
Has anyone had any luck with this? any help would be greatly appreciated, thank you.
- thank you rraghvani I have got it now. - function gdpIsNotRunning() 
 {
 gdp = Sys.Process("GraphicsDisplayProcessor");
 
 if(gdp.Exists === false){
 Log.Checkpoint('GDP window is closed');
 }
 else{
 Log.Error('GDP Window is open');
 };