The first screen of my app is a mandatory language selector which have two AppCompatSpinners with different ids. I can see the clicks from the robo script, but the spinners won’t open, so the next action to click the spinner list item fails… Any idea why?
- I've tried removing any other events but the click to open the spinner, but it didn't work
- The script was recorded using Android Studio and a real device.
This is the view hierarchy:
RelativeLayout
--> ImageView
--> LinearLayout
----> ImageView
----> AppCompatSpinner
----> AppCompatSpinner
----> Button
And this is the script
[
{
"eventType": "VIEW_CLICKED",
"timestamp": 1563530585,
"replacementText": "",
"actionCode": -1,
"delayTime": 0,
"canScrollTo": false,
"elementDescriptors": [
{
"className": "android.support.v7.widget.AppCompatSpinner",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 1,
"resourceId": "<package ommited>:id/country_selector_spinner",
"contentDescription": "",
"text": ""
},
{
"className": "android.widget.LinearLayout",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 1,
"resourceId": "",
"contentDescription": "",
"text": ""
},
{
"className": "android.widget.RelativeLayout",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 0,
"resourceId": "",
"contentDescription": "",
"text": ""
}
]
}
]