ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 22 - Associate Android Developer discussion

Report
Export

Once your test has obtained a UiObject object, you can call the methods in the UiObject class to perform user interactions on the UI component represented by that object. You can specify such actions as: (Choose four.)

A.
click() : Clicks the center of the visible bounds of the UI element.
Answers
A.
click() : Clicks the center of the visible bounds of the UI element.
B.
touch() : Touch the center of the visible bounds of the UI element.
Answers
B.
touch() : Touch the center of the visible bounds of the UI element.
C.
dragTo() : Drags this object to arbitrary coordinates.
Answers
C.
dragTo() : Drags this object to arbitrary coordinates.
D.
moveTo() : Move this object to arbitrary coordinates.
Answers
D.
moveTo() : Move this object to arbitrary coordinates.
E.
setText() : Sets the text in an editable field, after clearing the field's content. Conversely, the clearTextField() method clears the existing text in an editable field.
Answers
E.
setText() : Sets the text in an editable field, after clearing the field's content. Conversely, the clearTextField() method clears the existing text in an editable field.
F.
swipeUp() : Performs the swipe up action on the UiObject. Similarly, the swipeDown(), swipeLeft(), and swipeRight() methods perform corresponding actions.
Answers
F.
swipeUp() : Performs the swipe up action on the UiObject. Similarly, the swipeDown(), swipeLeft(), and swipeRight() methods perform corresponding actions.
Suggested answer: A, C, E, F
asked 18/09/2024
Pranoy Bej
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first