question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android 1.22-rc.3 is MUCH slower than 1.21 (uiautomator2-server 4.21.1 -> 4.22.0) while performing multiple element searches using UiAutomator location strategy

See original GitHub issue

Still getting details on when this specifically started happening, but I noticed a test that usually takes in the 2 minute range now takes > 9 minutes (sometimes as much as 11 minutes). It still passes, but is MUCH longer than before.

The time difference occurs between appium-uiautomator2-server@4.21.1 and appium-uiautomator2-server@4.22.0

(Unsure why the logcat times don’t match up to the appium log times)

1.23-rc.3 appium log

[2021-09-10T09:18:12-0400] [ALL] [HTTP] --> POST /wd/hub/session/b52b1588-3f66-441c-a0db-ea42a5003287/elements
[2021-09-10T09:18:12-0400] [ALL] [HTTP] {"using":"-android uiautomator","value":"new UiSelector().className(\"android.widget.TextView\").resourceId(\"com.tripadvisor.tripadvisor.prerelease:id/txtHeading\")"}
[2021-09-10T09:18:12-0400] [ALL] [W3C (b52b1588)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().className(\"android.widget.TextView\").resourceId(\"com.tripadvisor.tripadvisor.prerelease:id/txtHeading\")","b52b1588-3f66-441c-a0db-ea42a5003287"]
[2021-09-10T09:18:12-0400] [ALL] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[2021-09-10T09:18:12-0400] [ALL] [BaseDriver] Waiting up to 0 ms for condition
[2021-09-10T09:18:12-0400] [ALL] [WD Proxy] Matched '/elements' to command name 'findElements'
[2021-09-10T09:18:12-0400] [ALL] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:7833/wd/hub/session/29d63bd0-1dad-4c6e-8c46-a9a3818822ae/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().className(\"android.widget.TextView\").resourceId(\"com.tripadvisor.tripadvisor.prerelease:id/txtHeading\")","context":"","multiple":true}
[2021-09-10T09:18:12-0400] [ALL] [HTTP] --> GET /wd/hub/status
[2021-09-10T09:18:12-0400] [ALL] [HTTP] {}
[2021-09-10T09:18:12-0400] [ALL] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[2021-09-10T09:18:12-0400] [ALL] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.22.0-rc.3"}}
[2021-09-10T09:18:12-0400] [ALL] [HTTP] <-- GET /wd/hub/status 200 1 ms - 73
[2021-09-10T09:18:12-0400] [ALL] [HTTP] 
[2021-09-10T09:18:12-0400] [ALL] [HTTP] --> GET /wd/hub/status
[2021-09-10T09:18:12-0400] [ALL] [HTTP] {}
[2021-09-10T09:18:12-0400] [ALL] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[2021-09-10T09:18:12-0400] [ALL] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.22.0-rc.3"}}
[2021-09-10T09:18:12-0400] [ALL] [HTTP] <-- GET /wd/hub/status 200 1 ms - 73
[2021-09-10T09:18:12-0400] [ALL] [HTTP] 
[2021-09-10T09:18:12-0400] [ALL] [WD Proxy] Got response with status 200: {"sessionId":"29d63bd0-1dad-4c6e-8c46-a9a3818822ae","value":[{"ELEMENT":"00000000-0000-0315-ffff-ffff000000dd","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000dd"},{"ELEMENT":"00000000-0000-0315-ffff-ffff000000da","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000da"},{"ELEMENT":"00000000-0000-0315-ffff-ffff000000d8","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000d8"},{"ELEMENT":"00000000-0000-0315-ffff-ffff000000e6","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000e6"},{"ELEMENT":"00000000-0000-0315-ffff-ffff000000e0","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000e0"},{"ELEMENT":"00000000-0000-0315-ffff-ffff000000e3","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000e3"},{"ELEMENT":"00000000-0000-0315-ffff-ffff000000ed","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000ed"}]}
[2021-09-10T09:18:12-0400] [ALL] [W3C (b52b1588)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000dd","ELEMENT":"00000000-0000-0315-ffff-ffff000000dd"},{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000da","ELEMENT":"00000000-0000-0315-ffff-ffff000000da"},{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000d8","ELEMENT":"00000000-0000-0315-ffff-ffff000000d8"},{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000e6","ELEMENT":"00000000-0000-0315-ffff-ffff000000e6"},{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000e0","ELEMENT":"00000000-0000-0315-ffff-ffff000000e0"},{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000e3","ELEMENT":"00000000-0000-0315-ffff-ffff000000e3"},{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000ed","ELEMENT":"00000000-0000-0315-ffff-ffff000000ed"}]
[2021-09-10T09:18:12-0400] [ALL] [HTTP] <-- POST /wd/hub/session/b52b1588-3f66-441c-a0db-ea42a5003287/elements 200 11837 ms - 907

1.23-rc.3 logcat appium/QueryController output

[2021-09-10T09:13:46-0400] [ALL] 09-10 09:13:46.018 31424 31468 I appium  : channel read: POST /wd/hub/session/29d63bd0-1dad-4c6e-8c46-a9a3818822ae/elements
[2021-09-10T09:13:46-0400] [ALL] 09-10 09:13:46.020 31424 31468 I appium  : FindElements command
[2021-09-10T09:13:46-0400] [ALL] 09-10 09:13:46.025 31424 31468 I appium  : method: '-android uiautomator', selector: 'new UiSelector().className("android.widget.TextView").resourceId("com.tripadvisor.tripadvisor.prerelease:id/txtHeading")', contextId: ''
[2021-09-10T09:13:46-0400] [ALL] 09-10 09:13:46.026 31424 31468 I appium  : Waiting up to 10000ms for the device to idle
[2021-09-10T09:13:46-0400] [ALL] 09-10 09:13:46.120 31424 31468 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=0, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3b4f2; boundsInParent: Rect(0, 0 - 896, 84); boundsInScreen: Rect(288, 580 - 1184, 664); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: Boston; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:13:46-0400] [ALL] 09-10 09:13:46.151 31424 31468 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=1, COUNT=1, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3a9af; boundsInParent: Rect(0, 0 - 896, 84); boundsInScreen: Rect(288, 872 - 1184, 956); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: Boston Park Plaza; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:13:46-0400] [ALL] 09-10 09:13:46.172 31424 31468 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=2, COUNT=2, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3a22d; boundsInParent: Rect(0, 0 - 896, 84); boundsInScreen: Rect(288, 1164 - 1184, 1248); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: Boston Harbor Hotel; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:13:46-0400] [ALL] 09-10 09:13:46.204 31424 31468 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=3, COUNT=3, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3d6bb; boundsInParent: Rect(0, 0 - 896, 84); boundsInScreen: Rect(288, 1456 - 1184, 1540); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: boston hotels; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:13:46-0400] [ALL] 09-10 09:13:46.238 31424 31468 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=4, COUNT=4, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3c035; boundsInParent: Rect(0, 0 - 896, 84); boundsInScreen: Rect(288, 1786 - 1184, 1870); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: boston; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:13:46-0400] [ALL] 09-10 09:13:46.270 31424 31468 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=5, COUNT=5, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3cb78; boundsInParent: Rect(0, 0 - 896, 84); boundsInScreen: Rect(288, 2040 - 1184, 2124); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: boston tours and tickets; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:13:46-0400] [ALL] 09-10 09:13:46.298 31424 31468 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=6, COUNT=6, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3f102; boundsInParent: Rect(0, 0 - 896, 84); boundsInScreen: Rect(288, 2332 - 1184, 2416); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: boston tours; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:13:57-0400] [ALL] 09-10 09:13:57.840 31424 31468 I appium  : AppiumResponse: {"sessionId":"29d63bd0-1dad-4c6e-8c46-a9a3818822ae","value":[{"ELEMENT":"00000000-0000-0315-ffff-ffff000000dd","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-ffff-ffff000000dd"},{"ELEMENT":"00000000-0000-0315-ffff-ffff000000da","element-6066-11e4-a52e-4f735466cecf":"00000000-0000-0315-fff…

1.21.0 Appium logs

[2021-09-10T09:28:50-0400] [ALL] [HTTP] --> POST /wd/hub/session/4f0eeea9-df45-4bcd-b631-0851147253cd/elements
[2021-09-10T09:28:50-0400] [ALL] [HTTP] {"using":"-android uiautomator","value":"new UiSelector().className(\"android.widget.TextView\").resourceId(\"com.tripadvisor.tripadvisor.prerelease:id/txtHeading\")"}
[2021-09-10T09:28:50-0400] [ALL] [W3C (4f0eeea9)] Calling AppiumDriver.findElements() with args: ["-android uiautomator","new UiSelector().className(\"android.widget.TextView\").resourceId(\"com.tripadvisor.tripadvisor.prerelease:id/txtHeading\")","4f0eeea9-df45-4bcd-b631-0851147253cd"]
[2021-09-10T09:28:50-0400] [ALL] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[2021-09-10T09:28:50-0400] [ALL] [BaseDriver] Waiting up to 0 ms for condition
[2021-09-10T09:28:50-0400] [ALL] [WD Proxy] Matched '/elements' to command name 'findElements'
[2021-09-10T09:28:50-0400] [ALL] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:7833/wd/hub/session/dc973c72-e635-4c71-ae92-4f48a353ee93/elements] with body: {"strategy":"-android uiautomator","selector":"new UiSelector().className(\"android.widget.TextView\").resourceId(\"com.tripadvisor.tripadvisor.prerelease:id/txtHeading\")","context":"","multiple":true}
[2021-09-10T09:28:50-0400] [ALL] [WD Proxy] Got response with status 200: {"sessionId":"dc973c72-e635-4c71-ae92-4f48a353ee93","value":[{"ELEMENT":"33f0f893-8199-4105-bd1e-a9c5f2357fdd","element-6066-11e4-a52e-4f735466cecf":"33f0f893-8199-4105-bd1e-a9c5f2357fdd"},{"ELEMENT":"fefc90f4-9d11-4ae9-9145-8b33029589c1","element-6066-11e4-a52e-4f735466cecf":"fefc90f4-9d11-4ae9-9145-8b33029589c1"},{"ELEMENT":"a55dbf7c-3095-47dd-9617-5bedab8d406c","element-6066-11e4-a52e-4f735466cecf":"a55dbf7c-3095-47dd-9617-5bedab8d406c"},{"ELEMENT":"cad821e6-e62b-4514-b259-4ca2941c488c","element-6066-11e4-a52e-4f735466cecf":"cad821e6-e62b-4514-b259-4ca2941c488c"},{"ELEMENT":"9a1d0be2-fb0c-4422-bb8e-1abf67d632f9","element-6066-11e4-a52e-4f735466cecf":"9a1d0be2-fb0c-4422-bb8e-1abf67d632f9"},{"ELEMENT":"787c87a8-8359-45ca-be27-5013094d4113","element-6066-11e4-a52e-4f735466cecf":"787c87a8-8359-45ca-be27-5013094d4113"},{"ELEMENT":"fc3e25fc-3a20-45a4-9748-e447238ad13c","element-6066-11e4-a52e-4f735466cecf":"fc3e25fc-3a20-45a4-9748-e447238ad13c"}]}
[2021-09-10T09:28:50-0400] [ALL] [W3C (4f0eeea9)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"33f0f893-8199-4105-bd1e-a9c5f2357fdd","ELEMENT":"33f0f893-8199-4105-bd1e-a9c5f2357fdd"},{"element-6066-11e4-a52e-4f735466cecf":"fefc90f4-9d11-4ae9-9145-8b33029589c1","ELEMENT":"fefc90f4-9d11-4ae9-9145-8b33029589c1"},{"element-6066-11e4-a52e-4f735466cecf":"a55dbf7c-3095-47dd-9617-5bedab8d406c","ELEMENT":"a55dbf7c-3095-47dd-9617-5bedab8d406c"},{"element-6066-11e4-a52e-4f735466cecf":"cad821e6-e62b-4514-b259-4ca2941c488c","ELEMENT":"cad821e6-e62b-4514-b259-4ca2941c488c"},{"element-6066-11e4-a52e-4f735466cecf":"9a1d0be2-fb0c-4422-bb8e-1abf67d632f9","ELEMENT":"9a1d0be2-fb0c-4422-bb8e-1abf67d632f9"},{"element-6066-11e4-a52e-4f735466cecf":"787c87a8-8359-45ca-be27-5013094d4113","ELEMENT":"787c87a8-8359-45ca-be27-5013094d4113"},{"element-6066-11e4-a52e-4f735466cecf":"fc3e25fc-3a20-45a4-9748-e447238ad13c","ELEMENT":"fc3e25fc-3a20-45a4-9748-e447238ad13c"}]
[2021-09-10T09:28:50-0400] [ALL] [HTTP] <-- POST /wd/hub/session/4f0eeea9-df45-4bcd-b631-0851147253cd/elements 200 417 ms - 907

1.21.0 logcat appium/QueryController output

[2021-09-10T09:28:02-0400] [ALL] 09-10 09:28:02.981  4737  4769 I appium  : channel read: POST /wd/hub/session/dc973c72-e635-4c71-ae92-4f48a353ee93/elements
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:02.983  4737  4769 I appium  : FindElements command
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:02.992  4737  4769 I appium  : method: '-android uiautomator', selector: 'new UiSelector().className("android.widget.TextView").resourceId("com.tripadvisor.tripadvisor.prerelease:id/txtHeading")', contextId: ''
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:02.993  4737  4769 I appium  : Waiting up to 10000ms for the device to idle
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.067  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=0, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@39abc; boundsInParent: Rect(0, 0 - 896, 82); boundsInScreen: Rect(288, 580 - 1184, 662); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: Boston; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.092  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=1, COUNT=1, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3c407; boundsInParent: Rect(0, 0 - 896, 82); boundsInScreen: Rect(288, 872 - 1184, 954); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: Boston Park Plaza; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.115  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=2, COUNT=2, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3cf4a; boundsInParent: Rect(0, 0 - 896, 82); boundsInScreen: Rect(288, 1164 - 1184, 1246); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: Boston Harbor Hotel; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.139  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=3, COUNT=3, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3a23e; boundsInParent: Rect(0, 0 - 896, 82); boundsInScreen: Rect(288, 1456 - 1184, 1538); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: boston hotels; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.162  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=4, COUNT=4, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3ad81; boundsInParent: Rect(0, 0 - 896, 159); boundsInScreen: Rect(288, 1748 - 1184, 1907); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: boston massachusetts hotel deals; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.189  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=5, COUNT=5, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3b8c4; boundsInParent: Rect(0, 0 - 896, 82); boundsInScreen: Rect(288, 2140 - 1184, 2222); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: boston; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.220  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=6, COUNT=6, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3e5d0; boundsInParent: Rect(0, 0 - 896, 82); boundsInScreen: Rect(288, 2393 - 1184, 2475); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: boston tours and tickets; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.265  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=0, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@39abc; boundsInParent: Rect(0, 0 - 896, 82); boundsInScreen: Rect(288, 580 - 1184, 662); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: Boston; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.287  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=1, COUNT=1, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3c407; boundsInParent: Rect(0, 0 - 896, 82); boundsInScreen: Rect(288, 872 - 1184, 954); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: Boston Park Plaza; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.305  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=2, COUNT=2, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3cf4a; boundsInParent: Rect(0, 0 - 896, 82); boundsInScreen: Rect(288, 1164 - 1184, 1246); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: Boston Harbor Hotel; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.320  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=3, COUNT=3, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3a23e; boundsInParent: Rect(0, 0 - 896, 82); boundsInScreen: Rect(288, 1456 - 1184, 1538); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: boston hotels; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.336  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=4, COUNT=4, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3ad81; boundsInParent: Rect(0, 0 - 896, 159); boundsInScreen: Rect(288, 1748 - 1184, 1907); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: boston massachusetts hotel deals; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.351  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=5, COUNT=5, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3b8c4; boundsInParent: Rect(0, 0 - 896, 82); boundsInScreen: Rect(288, 2140 - 1184, 2222); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: boston; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.367  4737  4769 I QueryController: Matched selector: UiSelector[CLASS=android.widget.TextView, INSTANCE=6, COUNT=6, RESOURCE_ID=com.tripadvisor.tripadvisor.prerelease:id/txtHeading] <<==>> [android.view.accessibility.AccessibilityNodeInfo@3e5d0; boundsInParent: Rect(0, 0 - 896, 82); boundsInScreen: Rect(288, 2393 - 1184, 2475); packageName: com.tripadvisor.tripadvisor.prerelease; className: android.widget.TextView; text: boston tours and tickets; error: null; maxTextLength: -1; contentDescription: null; viewIdResName: com.tripadvisor.tripadvisor.prerelease:id/txtHeading; checkable: false; checked: false; focusable: false; focused: false; selected: false; clickable: false; longClickable: false; contextClickable: false; enabled: true; password: false; scrollable: false; importantForAccessibility: true; actions: [AccessibilityAction: ACTION_SELECT - null, AccessibilityAction: ACTION_CLEAR_SELECTION - null, AccessibilityAction: ACTION_ACCESSIBILITY_FOCUS - null, AccessibilityAction: ACTION_NEXT_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY - null, AccessibilityAction: ACTION_SET_SELECTION - null, AccessibilityAction: ACTION_SHOW_ON_SCREEN - null]]
[2021-09-10T09:28:03-0400] [ALL] 09-10 09:28:03.380  4737  4769 I appium  : AppiumResponse: {"sessionId":"dc973c72-e635-4c71-ae92-4f48a353ee93","value":[{"ELEMENT":"33f0f893-8199-4105-bd1e-a9c5f2357fdd","element-6066-11e4-a52e-4f735466cecf":"33f0f893-8199-4105-bd1e-a9c5f2357fdd"},{"ELEMENT":"fefc90f4-9d11-4ae9-9145-8b33029589c1","element-6066-11e4-a52e-4f735466cecf":"fefc90f4-9d11-4ae9-914…

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
bennidcommented, Sep 12, 2021

That fixed it! The test passed (and slightly faster than it used to!)

0reactions
mykola-mokhnachcommented, Sep 12, 2021

thanks @bennid I think I know where the issue might be. Please checkout the recent fixes from the same branch and try again

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android 1.22-rc.3 is MUCH slower than 1.21 - Issues/Bugs
Still getting details on when this specifically started happening, but I noticed a test that usually takes in the 2 minute range now...
Read more >
Write automated tests with UI Automator - Android Developers
UI Automator is a UI testing framework suitable for cross-app functional UI testing across system and installed apps. The UI Automator APIs ...
Read more >
UI Automator cannot open successfully - Stack Overflow
I begin to create an environment for auto-testing an Android app. ... And now i cannot open UI Automator successfully. When i try...
Read more >
UIAutomatorViewer Tutorial: Inspect Elements On Android
This Tutorial Explains How to Download, Install & Configure UIAutomator and how to use UIAutomatorViewer to inspect Element on Android ...
Read more >
Part 3 - Install ADB without Android Studio - Real devices
Hi All, In this video, we will see the step by step instructions to connect to real devices, uiautomatorviewer and appium inspector to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found