Quality Assurance & Compliance Flashcards
7 cards from real AAD practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Quality Assurance & Compliance flashcards as text
Which Espresso action simulates typing text into an EditText without clearing existing content?
Answer: typeText()
`typeText()` appends typed characters to any existing text, while `replaceText()` clears the field first.
What does Android Lint's `baseline.xml` file allow a development team to do?
Answer: Suppress existing lint warnings to focus on new issues only
A lint baseline records current warnings so future runs only report newly introduced issues.
In Android's Data Safety form on Play Console, what must be declared if your app uses a third-party SDK that collects user data?
Answer: The data collected by the SDK must be disclosed in your app's Data Safety section
Google requires that data collected by third-party SDKs integrated in your app be disclosed in your own Data Safety section.
Which test double returns pre-configured values but does not verify how it was called?
Answer: Stub
A stub provides canned answers to calls but does not perform interaction verification like a mock does.
What is the role of `UiAutomator` compared to `Espresso` in Android testing?
Answer: UiAutomator can test across multiple apps and system UI; Espresso is limited to one app
UiAutomator is designed for cross-app UI testing including system dialogs, while Espresso targets in-app testing.
Which Android testing approach uses `Robolectric` to run instrumented-style tests on the JVM?
Answer: Local unit tests with Android framework simulation
Robolectric simulates the Android framework on the JVM so tests that require Android APIs can run without a device.
Which Play Store policy violation can result in immediate app removal for apps targeting children?
Answer: Including personalized ads without parental consent
Serving personalized ads to children without verified parental consent violates the Families Policy and can cause removal.