/// <summary> /// Fires OnCleanUp event. /// Closes the Window. /// </summary> public override bool CleanUp() { bool boolResult = base.CleanUp(); WindowUtil.CloseWindow(window); return(boolResult); }
private TestResult CleanUpTestStep() { WindowUtil.CloseWindow(navigationWindow); return(TestResult.Pass); }
private TestResult InitializeTestStep() { navigationWindow = WindowUtil.CreateNavigationWindow(this.filename, this.callingAssembly, new LoadCompletedEventHandler(navigationWindow_LoadCompleted)); return(TestResult.Pass); }
private TestResult InitializeTestStep() { window = WindowUtil.CreateWindow(isTransparent); return(TestResult.Pass); }
/// <summary> /// Creates the Window. /// Fires OnInitialize. /// </summary> public override bool Initialize() { window = WindowUtil.CreateWindow(); // base.Initialize fires the OnInitialize event. return(base.Initialize()); }
/// <summary> /// Creates the NavigationWindow and navigates to the xaml file passed in the constructor. /// Fires OnInitialize. /// </summary> public override bool Initialize() { navigationWindow = WindowUtil.CreateNavigationWindow(this.xamlFileName, this.callingAssembly); // base.Initialize fires the OnInitialize event. return(base.Initialize()); }