Assert.assertEquals(actual, expected);
}
@Test
public void findElementElement() {
UIAApplication app = (UIAApplication) driver.findElement(By.tagName("UIAApplication"));
NameCriteria
criteria =
new NameCriteria("sentenceFormat", L10NStrategy.serverL10N, MatchingStrategy.regex);
UIAElement text = app.findElement(criteria);
String actual = text.getName();
Assert.assertEquals(actual, expected);
}