Skip to content

Instantly share code, notes, and snippets.

@pawelpasterz
Created September 15, 2020 16:46
Show Gist options
  • Select an option

  • Save pawelpasterz/cb0bdab77fc92ba8d83d3394faee3002 to your computer and use it in GitHub Desktop.

Select an option

Save pawelpasterz/cb0bdab77fc92ba8d83d3394faee3002 to your computer and use it in GitHub Desktop.
[
{
"eventType": "VIEW_CLICKED",
"timestamp": 1587381707015,
"replacementText": "exception",
"actionCode": -1,
"delayTime": 0,
"canScrollTo": false,
"elementDescriptors": [
{
"className": "androidx.appcompat.widget.AppCompatButton",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 3,
"resourceId": "com.example.test_app:id/button3",
"contentDescription": "",
"text": "exception"
},
{
"className": "android.widget.LinearLayout",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 0,
"resourceId": "",
"contentDescription": "",
"text": ""
},
{
"className": "androidx.appcompat.widget.ContentFrameLayout",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 0,
"resourceId": "android:id/content",
"contentDescription": "",
"text": ""
}
]
},
{
"eventType": "VIEW_CLICKED",
"timestamp": 1587381710476,
"replacementText": "alert",
"actionCode": -1,
"delayTime": 0,
"canScrollTo": false,
"elementDescriptors": [
{
"className": "androidx.appcompat.widget.AppCompatButton",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 2,
"resourceId": "com.example.test_app:id/button2",
"contentDescription": "",
"text": "alert"
},
{
"className": "android.widget.LinearLayout",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 0,
"resourceId": "",
"contentDescription": "",
"text": ""
},
{
"className": "androidx.appcompat.widget.ContentFrameLayout",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 0,
"resourceId": "android:id/content",
"contentDescription": "",
"text": ""
}
]
},
{
"eventType": "VIEW_CLICKED",
"timestamp": 1587381713879,
"replacementText": "OK",
"actionCode": -1,
"delayTime": 0,
"canScrollTo": true,
"elementDescriptors": [
{
"className": "androidx.appcompat.widget.AppCompatButton",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 3,
"resourceId": "android:id/button1",
"contentDescription": "",
"text": "OK"
},
{
"className": "androidx.appcompat.widget.ButtonBarLayout",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 0,
"resourceId": "",
"contentDescription": "",
"text": ""
},
{
"className": "android.widget.ScrollView",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 3,
"resourceId": "com.example.test_app:id/buttonPanel",
"contentDescription": "",
"text": ""
}
]
},
{
"eventType": "VIEW_CLICKED",
"timestamp": 1587381716602,
"replacementText": "111_toast",
"actionCode": -1,
"delayTime": 1000000,
"canScrollTo": false,
"elementDescriptors": [
{
"className": "androidx.appcompat.widget.AppCompatButton",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 1,
"resourceId": "com.example.test_app:id/button1",
"contentDescription": "",
"text": "111_toast"
},
{
"className": "android.widget.LinearLayout",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 0,
"resourceId": "asdasd",
"contentDescription": "asdasd",
"text": "dasdas"
},
{
"className": "androidx.appcompat.widget.ContentFrameLayout",
"recyclerViewChildPosition": -1,
"adapterViewChildPosition": -1,
"groupViewChildPosition": 0,
"resourceId": "android:id/content",
"contentDescription": "asdasd",
"text": "asdasda"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment