public WindowsRootWindow GetRootWindow() { if (this.appWindow != null) { return(this.appWindow); } return(this.appWindow = this.testContext.GetRoot(appTitle)); }
public NotepadApp(ITestContext testContext, string appTitle) { this.testContext = testContext; this.appTitle = appTitle; this.appWindow = InitializeRoot(); }