Weekend Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ac4s65

Android Tests.

Android Tests. You can use the childSelector() method to nest multiple UiSelector instances. For example, the following code example shows how your test might specify a search to find the first ListView in the currently displayed UI, then search within that ListView to find a UI element with the text property Apps.

What is the correct sample?

A.

val appItem: UiObject = device.findObject( UiSelector().className(ListView.class)

.instance(1)

.childSelector(

UiSelector().text("Apps")

)

)

B.

val appItem: UiObject = device.findObject( UiSelector().className("android.widget.ListView")

.instance(0)

.childSelector(

UiSelector().text("Apps")

)

)

C.

val appItem: UiObject = device.findObject( UiSelector().className("android.widget.ListView")

.instance(

UiSelector().text("Apps")

)

)

Associate-Android-Developer PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now Associate-Android-Developer pdf
Get 65% Discount on All Products, Use Coupon: "ac4s65"