Examples of pinchOpenFromToForDuration()


Examples of org.uiautomation.ios.client.uiamodels.impl.augmenter.IOSTouchScreen.pinchOpenFromToForDuration()

  public void testPinchOpen() {
    Point openFrom = new Point(856, 612);
    Point openTo = new Point(756, 612);

    IOSTouchScreen iosTouchScreen = IOSDriverAugmenter.augment(driver);
    iosTouchScreen.pinchOpenFromToForDuration(openFrom, openTo, 1);

    waitForElement(driver, By.xpath("//UIAStaticText[contains(@name, 'scale: 10.000')]"), 6);

    Assert.assertTrue(driver.findElementByXPath("//UIAStaticText[contains(@name, 'scale: 10.000')]")
                          .isDisplayed());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.