Forum Discussion

WesWhit's avatar
WesWhit
Occasional Contributor
8 months ago

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 ...
  • WesWhit's avatar
    8 months ago

    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');
      };