Exemple #1
0
 private TestResult InitializeTestStep()
 {
     navigationWindow = WindowUtil.CreateNavigationWindow(this.filename, this.callingAssembly, new LoadCompletedEventHandler(navigationWindow_LoadCompleted));
     return(TestResult.Pass);
 }
Exemple #2
0
 /// <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());
 }