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.
B) touch() : Touch the center of the visible bounds of the UI element.
C) dragTo() : Drags this object to arbitrary coordinates.
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. F) swipeUp() : Performs the swipe up action on the UiObject. Similarly, the swipeDown() , swipeLeft() , and swipeRight() methods perform corresponding actions.
Correct Answer:
Verified
Q6: With a room database. When performing queries,
Q7: To automate UI tests with Android Studio,
Q8: What do you want from Room when
Q9: Filter logcat messages. If in the filter
Q10: When your code execution reaches the breakpoint,
Q12: For example, we have a file in
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents