Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 610 Bytes

documentation.md

File metadata and controls

22 lines (17 loc) · 610 Bytes

What is UIAutomator2 or XCUITest drivers

It allows to create User interface tests that invokes user interaction across multiple apps, which let's us to verify correct behaviour of our app when user flows into others apps or to the system UI.

SendKeys

  • # Using Actions class
    Actions a = new Actions(getDriver());
    getDriver.findElementByClassName("Xpath");
    a.sendKeys("Test");
  • # Using Keyboard
    getDriver().getKeyboard().sendKeys(username);
  • # Using Default SendKeys
    getDriver().findElement(inputField).sendKeys("");