4041424344454647
UIAElement element = driver.findElement(c); element.tap(); Criteria fieldC = new AndCriteria(new TypeCriteria(UIATextField.class), new NameCriteria("Normal")); UIATextField textfield = (UIATextField) driver.findElement(fieldC); return textfield; }
58596061626364656667686970
@Test public void typeBasic() { String message = "Francois 1234"; UIATextField textfield = getTextField(); textfield.tap(); Keyboard keyboard = driver.getKeyboard(); keyboard.sendKeys(message); Assert.assertEquals(textfield.getValue(), message); }
4546474849505152
525354555657585960
} @Test public void typeBasic() { String message = "François 1234"; UIATextField textfield = getTextField(); textfield.sendKeys(message); Assert.assertEquals(textfield.getValue(), message); }