Skip to content

Instantly share code, notes, and snippets.

@RohitSurwase
Created October 20, 2019 12:57
Show Gist options
  • Save RohitSurwase/8a17190e8184e9d83f5c53451acffa48 to your computer and use it in GitHub Desktop.
Save RohitSurwase/8a17190e8184e9d83f5c53451acffa48 to your computer and use it in GitHub Desktop.
Example of a Robo Script.
[
{
"eventType": "VIEW_CLICKED",
"timestamp": 1570986000016,
"replacementText": "",
"actionCode": -1,
"delayTime": 0,
"canScrollTo": false,
"elementDescriptors": [
{
"className": "androidx.appcompat.widget.AppCompatImageView",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 1,
"resourceId": "com.package.name:id/ivNext",
"contentDescription": "",
"text": ""
},
{
"className": "android.widget.FrameLayout",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 2,
"resourceId": "com.package.name:id/navigation_layout",
"contentDescription": "",
"text": ""
},
{
"className": "android.widget.FrameLayout",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 2,
"resourceId": "com.package.name:id/buttons_layout",
"contentDescription": "",
"text": ""
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment