Free ASSOCIATE ANDROID DEVELOPER Exam Braindumps
Associate Android Developer Questions 21–25 (page: 6)

Updated On: 10-Feb-2026

To automate UI tests with Android Studio, you implement your test code in a separate Android test folder. Folder could be named:

  1. app/androidTest/java
  2. app/src/androidTest/java
  3. app/java/androidTest

Answer(s): B



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.)

  1. click() : Clicks the center of the visible bounds of the UI element.
  2. touch() : Touch the center of the visible bounds of the UI element.
  3. dragTo() : Drags this object to arbitrary coordinates.
  4. moveTo() : Move this object to arbitrary coordinates.
  5. 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.
  6. swipeUp() : Performs the swipe up action on the UiObject. Similarly, the swipeDown(), swipeLeft(), and swipeRight() methods perform corresponding actions.

Answer(s): A,C,E,F



If you want to access a specific UI component in an app, use the UiSelector class. This class represents a query for specific elements in the currently displayed UI. What is correct about it? (Choose two.)

  1. If more than one matching element is found, the first matching element in the layout hierarchy is returned as the target UiObject.
  2. If no matching UI element is found, an IOException is thrown.
  3. If more than one matching element is found, the last matching element in the layout hierarchy is returned as the target UiObject.
  4. If no matching UI element is found, a UiAutomatorObjectNotFoundException is thrown.

Answer(s): A,D



Each time your test invokes onView(), Espresso waits to perform the corresponding UI action or assertion until the following synchronization conditions are met: (Choose three.)

  1. The message queue is empty.
  2. The message queue is not empty.
  3. There are some instances of AsyncTask currently executing a task.
  4. There are no instances of AsyncTask currently executing a task.
  5. Some developer-defined idling resources are not idle.
  6. All developer-defined idling res

Answer(s): A,D,F



To run your local unit tests, follow these steps:

1. Be sure your project is synchronized with Gradle by clicking Sync Project in the toolbar.

2. Run your test in one of the following ways (select possible): (Choose three.)

  1. To run a single test, open the Project window, and then right-click a test and click
    Run.
  2. To test all methods in a class, right-click a class or method in the test file and click
    Run.
  3. To run all tests in a directory, right-click on the directory and select Run tests.
  4. To run all tests in Project, open the Project window, and then right-click a test and click
    Run.

Answer(s): A,B,C



Viewing page 6 of 27
Viewing questions 26 - 30 out of 128 questions


Post your Comments and Discuss Google ASSOCIATE ANDROID DEVELOPER exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!