Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Bulk Execution is throwing Appium WebDriveexception and StaleElementReferenceException

Offen
#623 8 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 3 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python

Rechercherichtung

Der Bericht identifiziert keine Repository-Datei, keinen Test und keinen Einstiegspunkt. Beginne damit, die Bulk-Ausführung von mehr als 50 Skripten mit der aufgeführten Umgebung aus Appium, Robot Framework, Python-Client und echtem Android-Gerät zu reproduzieren und dabei Client- und Server-Logs zu sammeln. Als abgeschlossen gilt die Arbeit, wenn die Ursache der Server- und stale-element-Fehler isoliert und bestätigt wurde, dass die Suite nicht mehr fatal abbricht.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Python
Sterne
1.8k
Forks
570
Ø Merge
1 T. 10 Std.
Gemergte PRs (30 T.)
24

Entwicklungsumgebung

Die Einrichtungsdateien dieses Projekts haben wir noch nicht geprüft. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus appium/python-client

Alle Issues in appium/python-client

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.