Bulk Execution is throwing Appium WebDriveexception and StaleElementReferenceException
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- python
- 領域
- mobile-dev, testing-qa
研究方向
報告沒有指出具體的 repository 檔案、測試或進入點。首先,使用列出的 Appium、Robot Framework、Python client 和 Android 實機環境,重現批次執行 50 個以上 script 的情況,同時收集 client 和 server log。完成這項工作需要隔離 server 和 stale-element 失敗的原因,並確認測試套件不再發生致命停止。
由索引模型根據 Issue 內容生成。
描述
The Problem
(1)WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
(2)StaleElementReferenceException: Message: androidx.test.uiautomator.StaleObjectException
(3)Test execution stopped due to a fatal error
Environment
Appium version : Appium 1.21.0
Desktop OS/version used to run Appium:
Node version : v14.3.0
Npm Version : 6.14.5
Mobile platform/version under test: Android 10 and 11 (Models - OPPO F7, MOTTO G6, SAMSUNG M31 , Goggle Pixel)
Real device or emulator/simulator: Real Devices
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)
robotframework-appiumlibrary : 1.5.0.6
Appium-UIAutomation : 0.1.0
Appium-Python-Client : 1.0.2
robotframework : 3.2.2
robotframework-seleniumlibrary : 4.3.0
webdrivermanager : 0.8.0
Details
(1) product Overview : Telecom application which have functionality to work with SMS,CALLS and CONTACTS for business enterprises solution .
(2) Test running challenges :
(i)Product point of view we are using Robot framework using RIDE as IDE tool for Automating our test suite using Selenium and Appium Library.
(ii)While running more than 50+ scripts appium server stops the response and throw bad server error ,which leads to failures of rest scripts in the suite
(iii)Changing from default to any other port number also not worked out much (e.g; default from 4723 to 4725)
(iv)Also, we have some scenario where we have to do cross platform testing with (Web+Mobile).
(v)We are not only checking the cases within the application as we are doing touch base on Mobile Native application as well like - dealing with network connections to ON or off the wifi ,Data , etc
(vi) we are getting element not found several times where we can see the element is present in the screen, we have tried with all sync options and looks like it is the response from Appium server which Is causing the problem
- 主要語言
- Python
- 星號
- 1.8k
- 分支
- 570
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 25
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
appium/python-client 的其他 Issue
-
難度 5/5 一週以上 新手友好度 25/100
appium/python-client#1230 · 1 則留言 ·
維護者通常 1 天內回覆
-
question
難度 4/5 3-5 天 新手友好度 25/100
appium/python-client#1168 · 9 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 55/100
appium/python-client#1147 · 7 則留言 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 38/100
appium/python-client#1091 · 4 則留言 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 25/100
appium/python-client#1076 · 2 則留言 ·
維護者通常 1 天內回覆
查看 appium/python-client 的全部 Issue
相似的 Issue
-
needs triage
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
openvinotoolkit/openvino_notebooks#3665 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 86/100
維護者通常 1 天內回覆
-
docs
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆
-
benchmark-gap
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆