Skip to content

Instantly share code, notes, and snippets.

@JakeGinnivan
Created January 2, 2013 10:40
Show Gist options
  • Select an option

  • Save JakeGinnivan/4433696 to your computer and use it in GitHub Desktop.

Select an option

Save JakeGinnivan/4433696 to your computer and use it in GitHub Desktop.
public class SomeScreen
{
public string Text {get;set;} // Will look for a UI element called Text and return it's value
public void Ok() { } // Finds a control called ok, and clicks it
// Other conventions
public string Text2
{
get{return Get<TextBox>("Something").Text; } //overrides convention
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment