Android device has a Screen unlock settings view open, how do I directly
perform tap operations on this active screen without minimizing this
screen? I have specified app package name for native settings to :
APP_PACKAGE, “com.android.settings”);
You can’t guarantee the values that will be available if you are testing multiple different brands of android devices, so you are left with checking by text value. In this case, you should be able to find all elements by resource id that match “android:id/title”. Cycle through them until you find the one with the correct text, then click that element
@willosser
Thanks for the reply,
This works by specifying the app package and activity from the other post…