Searched refs:uiObject (Results 1 – 1 of 1) sorted by relevance
98 UiObject uiObject = mDevice.findObject(new UiSelector().text(text)); in getVisibleObject() local99 assertTrue("could not find object with text '" + text + "'", uiObject.exists()); in getVisibleObject()100 return uiObject; in getVisibleObject()109 UiObject uiObject = mDevice.findObject(new UiSelector().resourceId(id)); in getVisibleObjectById() local110 assertTrue("could not find object with id '" + id+ "'", uiObject.exists()); in getVisibleObjectById()111 return uiObject; in getVisibleObjectById()121 public void click(UiObject uiObject, String description) { in click() argument123 boolean clicked = uiObject.click(); in click()