public static void ForceCloseADSApp(this Ranorex.Host host) { try { host.KillApplication(Config.ProcessID); } catch (Exception ex) { throw new Exception("Close ADS App Failed : " + ex.Message); } }
public static void OpenADSApp(this Ranorex.Host host) { try { Config.ProcessID = host.RunApplication(Config.AppPath, "", "", true); } catch (Exception ex) { throw new Exception("Open ADS App Failed : " + ex.Message); } }
public static bool CloseSQLdm(this Ranorex.Host host) { host.CloseApplication(Config.ProcessID); return(true); }
public static bool OpenSQLdm(this Ranorex.Host host) { Config.ProcessID = host.RunApplication(Config.AppPath, "", "", true); return(true); }