public virtual void Dispose() { applicationSession.Save(); if (!CoreAppXmlConfiguration.Instance.KeepOpenOnDispose) { applicationSession.Dispose(); } sessionReport.Finish(); }
/// <summary> /// Kills the application. Read Application.Kill. /// It also saves the application test execution state. This saves the position of the window UIItems which would be loaded next time /// automatically for improved performance. You would need to use InitializedOption.AndIdentifiedBy for specifying the identification of window. /// </summary> public virtual void KillAndSaveState() { Kill(); ApplicationSession.Save(); }
public virtual void Dispose() { applicationSession.Save(); applicationSession.Dispose(); sessionReport.Finish(); }