Câu 21: Associate Android Developer
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.)
Nội dung câu hỏi
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.)
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. click() : Clicks the center of the visible bounds of the UI element. — đáp án hiện tại
- B. touch() : Touch the center of the visible bounds of the UI element.
- C. dragTo() : Drags this object to arbitrary coordinates. — đáp án hiện tại
- 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. — đáp án hiện tại
- F. swipeUp() : Performs the swipe up action on the UiObject. Similarly, the swipeDown(), swipeLeft(), and swipeRight() methods perform corresponding actions. — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.