appium / appium/python-client

Bulk Execution is throwing Appium WebDriveexception and StaleElementReferenceException

Ouverte
#612 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

NeedsInfo
Langage dominant
Python
Étoiles
1.8k
Forks
570
Merge moyen
1 j 10 h
PR mergées (30 j)
24

Description

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

Appium Logs ->
We will provide

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Le rapport ne mentionne aucun fichier ni test du dépôt, et les logs Appium qu’il indique devoir fournir sont absents. Commencez par obtenir les logs et une reproduction minimale pour l’exécution en masse, puis déterminez si l’échec du serveur ou les erreurs d’éléments obsolètes peuvent être reproduits et isolés. Le travail est considéré comme terminé lorsqu’une cause confirmée et soit un correctif vérifié, soit des détails de reproduction documentés sont disponibles.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
mobile, testing-qa
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
20/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.