Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AddressXception/d554c351bce0be491bc1274861a80f62 to your computer and use it in GitHub Desktop.
Save AddressXception/d554c351bce0be491bc1274861a80f62 to your computer and use it in GitHub Desktop.
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