Created
April 8, 2016 12:43
-
-
Save AddressXception/d554c351bce0be491bc1274861a80f62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private XamlWindow _window; | |
public string AppId { get; set; } | |
internal IApp StartApp() | |
{ | |
try | |
{ | |
_window = XamlWindow.Launch(AppId); | |
return this; | |
} | |
catch (UITestControlNotFoundException) | |
{ | |
Console.WriteLine( | |
"The Test Framework could not get a handle on the application. " + | |
"Try re-running the tests."); | |
throw; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment