Assert.assertTrue(driver.findElementByXPath("//UIAStaticText[contains(@name, 'Swiped Left')]").isDisplayed());
}
@Test
public void testFlickUp(){
UIAPoint startUpPoint = new UIAPoint(0.5, 0.8);
UIAPoint endUpPoint = new UIAPoint(0.5, 0.4);
((RemoteUIAWebView) driver.findElementsByTagName("UIAWebView").get(0)).flickInsideWithOptions(1, startUpPoint, endUpPoint); //Up
waitForElement(driver, By.xpath("//UIAStaticText[contains(@name, 'Swiped Up')]"), 6);
Assert.assertTrue(driver.findElementByXPath("//UIAStaticText[contains(@name, 'Swiped Up')]").isDisplayed());
}