public override void KillApplication(TestApplication testApplication, KillApplicationConext context){ ScreenCaptureCommand.Stop(); if (_easyTestCommandAdapter != null) { _easyTestCommandAdapter.Disconnect(); } CloseApplication(mainProcess,true); foreach (var additionalProcess in _additionalProcesses){ CloseApplication(additionalProcess, true); } }
public override void KillApplication(TestApplication testApplication, KillApplicationConext context) { ScreenCaptureCommand.Stop(); if (_easyTestCommandAdapter != null) { _easyTestCommandAdapter.Disconnect(); } CloseApplication(mainProcess, true); foreach (var additionalProcess in _additionalProcesses) { CloseApplication(additionalProcess, true); } }
public override void KillApplication(TestApplication testApplication, KillApplicationConext context) { ScreenCaptureCommand.Stop(); webBrowsers.KillAllWebBrowsers(); var isSingleWebDev = testApplication.ParameterValue <bool>(ApplicationParams.SingleWebDev); if (!testApplication.ParameterValue <bool>(ApplicationParams.DontKillWebDev) && _process != null) { if (isSingleWebDev) { if (context != KillApplicationConext.TestNormalEnded) { IISExpressServerHelper.Stop(_process); } } else { IISExpressServerHelper.Stop(_process); } } }
public override void KillApplication(TestApplication testApplication, KillApplicationConext context){ testApplication.ClearModel(); testApplication.DeleteParametersFile(); ScreenCaptureCommand.Stop(); webBrowsers.KillAllWebBrowsers(); var isSingleWebDev = testApplication.ParameterValue<bool>(ApplicationParams.SingleWebDev); if (!testApplication.ParameterValue<bool>(ApplicationParams.DontKillWebDev)&&_process!=null) { if (isSingleWebDev) { if (context != KillApplicationConext.TestNormalEnded) { IISExpressServerHelper.Stop(_process); } } else { IISExpressServerHelper.Stop(_process); } } }