ui-automation

Java wrapper for ms-uiautomation

View on GitHub

Discovery

ComboBox cb1 = window.getCombobox(Search.getBuilder("AutomatedCombobox1").build());
String oldTxt = cb1.text();
cb1.setText("Replacements");
String txt = cb1.text();

Methods

Name

Gets the name of the button control

Value

Gets the value of the button, i.e. the text associated with it