press item below the applicable discount item icon launch the ok item scroll to ok
{"activity_name": "com.photon.android.bjsrestaurant/com.photon.android.bjsrestaurant.Bjs_MainActivity", "activity": {"root": {"scrollable-horizontal": false, "draw": false, "ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [160, 562, 1280, 1913], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 1120, 1351], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"scrollable-horizontal": false, "draw": true, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [160, 562, 1280, 1913], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 1120, 1351], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"resource-id": "android:id/content", "adapter-view": false, "pointer": "e639aee", "children": [{"scrollable-horizontal": false, "draw": true, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [160, 562, 1280, 1913], "visibility": "visible", "content-desc": [null], "rel-bounds": [0, 0, 1120, 1351], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"scrollable-horizontal": false, "draw": true, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "clickable": false, "pressed": "not_pressed", "focusable": false, "long-clickable": false, "enabled": true, "bounds": [178, 1077, 1262, 1432], "visibility": "visible", "content-desc": [null], "rel-bounds": [18, 515, 1102, 870], "focused": false, "selected": false, "scrollable-vertical": false, "children": [{"text": "Applicable discount item is not present in the cart", "resource-id": "com.photon.android.bjsrestaurant:id/common_message", "adapter-view": false, "pointer": "f6d7a25", "scrollable-horizontal": false, "ancestors": ["android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [63, 35, 1021, 144], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "font-family": "default", "class": "android.widget.TextView", "visible-to-user": true, "package": "com.photon.android.bjsrestaurant", "enabled": true, "bounds": [241, 1112, 1199, 1221], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "com.photon.android.bjsrestaurant:id/ok_btn_layout", "adapter-view": false, "pointer": "a7277fa", "children": [{"text": "OK", "resource-id": "com.photon.android.bjsrestaurant:id/ok_btn", "adapter-view": false, "pointer": "8a771ab", "scrollable-horizontal": false, "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [300, -9, 783, 114], "draw": false, "focusable": true, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "font-family": "default", "class": "android.widget.Button", "visible-to-user": true, "package": "com.photon.android.bjsrestaurant", "enabled": true, "bounds": [478, 1256, 961, 1370], "pressed": "not_pressed", "scrollable-vertical": false}], "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 179, 1084, 320], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.LinearLayout", "visible-to-user": true, "package": "com.photon.android.bjsrestaurant", "enabled": true, "bounds": [178, 1256, 1262, 1397], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "c85ce1c", "class": "android.widget.RelativeLayout", "visible-to-user": true}, {"resource-id": "com.photon.android.bjsrestaurant:id/close_imageView_without_title", "adapter-view": false, "pointer": "92fb008", "scrollable-horizontal": false, "ancestors": ["android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [1029, 480, 1120, 571], "draw": false, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": true, "abs-pos": true, "class": "android.widget.ImageView", "visible-to-user": true, "package": "com.photon.android.bjsrestaurant", "enabled": true, "bounds": [1189, 1042, 1280, 1133], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "bb1ab8f", "class": "android.widget.RelativeLayout", "visible-to-user": true}], "scrollable-horizontal": false, "ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 1120, 1351], "draw": true, "focusable": false, "long-clickable": false, "visibility": "visible", "focused": false, "clickable": false, "abs-pos": true, "class": "android.widget.FrameLayout", "visible-to-user": true, "package": "android", "enabled": true, "bounds": [160, 562, 1280, 1913], "pressed": "not_pressed", "scrollable-vertical": false}, {"resource-id": "android:id/action_mode_bar_stub", "adapter-view": false, "pointer": "f2093a1", "scrollable-horizontal": false, "ancestors": ["android.view.View", "java.lang.Object"], "selected": false, "content-desc": [null], "rel-bounds": [0, 0, 0, 0], "draw": true, "focusable": false, "long-clickable": false, "visibility": "gone", "focused": false, "clickable": false, "abs-pos": true, "class": "android.view.ViewStub", "visible-to-user": false, "package": "android", "enabled": true, "bounds": [160, 562, 160, 562], "pressed": "not_pressed", "scrollable-vertical": false}], "adapter-view": false, "abs-pos": true, "pointer": "2fa4069", "class": "android.widget.FrameLayout", "visible-to-user": true}], "adapter-view": false, "abs-pos": true, "pointer": "c3472f0", "class": "com.android.internal.policy.PhoneWindow$DecorView", "visible-to-user": true}, "added_fragments": [], "active_fragments": []}, "is_keyboard_deployed": false, "request_id": "1452"}
{"ancestors": ["android.widget.FrameLayout", "android.view.ViewGroup", "android.view.View", "java.lang.Object"], "class": "com.android.internal.policy.PhoneWindow$DecorView", "bounds": [160, 562, 1280, 1913], "clickable": false, "children": [{"ancestors": ["android.view.ViewGroup", "android.view.View", "java.lang.Object"], "class": "android.widget.FrameLayout", "bounds": [160, 562, 1280, 1913], "clickable": false, "children": [{"iconClass": "close", "ancestors": ["android.view.View", "java.lang.Object"], "resource-id": "com.photon.android.bjsrestaurant:id/close_imageView_without_title", "clickable": true, "class": "android.widget.ImageView", "bounds": [1189, 1042, 1280, 1133], "componentLabel": "Icon"}, {"text": "Applicable discount item is not present in the cart", "resource-id": "com.photon.android.bjsrestaurant:id/common_message", "ancestors": ["android.view.View", "java.lang.Object"], "clickable": false, "class": "android.widget.TextView", "bounds": [241, 1112, 1199, 1221], "componentLabel": "Text"}, {"text": "OK", "resource-id": "com.photon.android.bjsrestaurant:id/ok_btn", "ancestors": ["android.widget.TextView", "android.view.View", "java.lang.Object"], "clickable": true, "class": "android.widget.Button", "bounds": [478, 1256, 961, 1370], "componentLabel": "Text Button", "textButtonClass": "ok"}], "componentLabel": "Modal"}]}