Closed erdncyz closed 2 months ago
@erdncyz Worth checking in appium group. Is this happening all the time.
@sudharsan-selvaraj ?
Hi @saikrishna321 @sudharsan-selvaraj ,
Yes, it happens all the time. Do you recommend me to install the old version of appium? Or if there is an appium version you recommend, I can install it and try it.
@erdncyz always recommend the latest. Not that I'm aware. Check with appium team
@saikrishna321 ı created a ticket for appium. Thank you so much..
Hi @saikrishna321 @sudharsan-selvaraj
My ticket is like this " Please provide your full Appium server log. Also it seems like you have the device-farm plugin active. Please check if the behavior is reproducible without this plugin.
" came a response and I didn't encounter any halts when I tried it.
What has changed at ur end for this issue to happen ?
@saikrishna321 @sudharsan-selvaraj
My created issue for appium : https://github.com/appium/appium/issues/20456
I started encountering this problem after updating Appium and the plugin. I also made wda_resign, but I don't think it has anything to do with it.
My gist : https://gist.github.com/erdncyz/56a1ac4c4b170f7c9979710f493f2373
@erdncyz can try with previous version
Hi @saikrishna321
the same problem please help me ?
New gist : https://gist.github.com/erdncyz/2f85aa42f57f790d99edd84c3f575386
Problem is remaining @saikrishna321 Can you help me please ?
New gist : https://gist.github.com/erdncyz/631b129584f630cde6b9b578901b2c09
Give it a try with 9.2.3
and let us know if the issue is still reproducible.
Hi @saikrishna321 @sudharsan-selvaraj ,
The problem continues :(
https://gist.github.com/erdncyz/e145c7b21f57c31b75a325dd2d5651bf
Last error message :
[e70a55d7][XCUITestDriver@7af6] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. at XCUITestDriver.doNativeFind (/Users/techqaautomation2/.appium/node_modules/appium-xcuitest-driver/lib/commands/find.js:143:13) at processTicksAndRejections (node:internal/process/task_queues:95:5) at XCUITestDriver.findNativeElementOrElements (/Users/techqaautomation2/.appium/node_modules/appium-xcuitest-driver/lib/commands/find.js:97:12) at XCUITestDriver.findElOrEls (/Users/techqaautomation2/.appium/node_modules/appium-xcuitest-driver/lib/commands/find.js:24:14) at XCUITestDriver.findElOrElsWithProcessing (/Users/techqaautomation2/node_modules/@appium/base-driver/lib/basedriver/commands/find.ts:60:12) at XCUITestDriver.findElement (/Users/techqaautomation2/node_modules/@appium/base-driver/lib/basedriver/commands/find.ts:75:12) [e70a55d7][device-farm-main] Intercepted response for session e70a55d7-b368-433c-9545-b9071d25dc48 with method findElement {} e70a55d7-b368-433c-9545-b9071d25dc48 [e70a55d7][device-farm-main] Saving log entry for session e70a55d7-b368-433c-9545-b9071d25dc48 with eventId undefined [e70a55d7][HTTP] <-- POST /wd/hub/session/e70a55d7-b368-433c-9545-b9071d25dc48/element 404 380 ms - 1014 [b9a4fb05][AndroidUiautomator2Driver@2914] Performed fast reset on the installed 'com.digiturk.tod.mobil' application (stop and clear) [b9a4fb05][AndroidUiautomator2Driver@2914] Performing shallow cleanup of automation leftovers [b9a4fb05][AndroidUiautomator2Driver@2914] No obsolete sessions have been detected (socket hang up) [b9a4fb05][ADB] Running '/Users/techqaautomation2/Library/Android/sdk/platform-tools/adb -P 5037 -s R58M80VSEZF shell am force-stop io.appium.uiautomator2.server' [b9a4fb05][ADB] Running '/Users/techqaautomation2/Library/Android/sdk/platform-tools/adb -P 5037 -s R58M80VSEZF shell am force-stop io.appium.uiautomator2.server.test' [b9a4fb05][AndroidUiautomator2Driver@2914] Starting UIAutomator2 server 7.0.22 [b9a4fb05][AndroidUiautomator2Driver@2914] Using UIAutomator2 server from '/Users/techqaautomation2/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.0.22.apk' and test from '/Users/techqaautomation2/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [b9a4fb05][AndroidUiautomator2Driver@2914] Waiting up to 30000ms for UiAutomator2 to be online... [b9a4fb05][ADB] Creating ADB subprocess with args: ["-P","5037","-s","R58M80VSEZF","shell","am","instrument","-w","-e","disableAnalytics","true","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] [b9a4fb05][AndroidUiautomator2Driver@2914] Matched '/status' to command name 'getStatus' [b9a4fb05][AndroidUiautomator2Driver@2914] Proxying [GET /status] to [GET http://127.0.0.1:53451/status] with no body [b9a4fb05][AndroidUiautomator2Driver@2914] socket hang up techqaautomation2@TECHs-Mac-mini ~ %
Hi @saikrishna321 @sudharsan-selvaraj
ı tried with 9.2.8 version and problem continues.
My gist : https://gist.github.com/erdncyz/6902663a7c3a850f8d6d03e7e498cffd
@sudharsan-selvaraj @saikrishna321 this issue are fixed with XCUITEST updated
Thank you very much..
While running, appium suddenly stops and does not print any errors. When I examine it, it seems to suddenly stop while searching for the locater.
Appium 2.11.3 Appium plugin list 9.2.1 Uiautomator 3.7.7 Xcuitest 7.24.15