Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Bulk Execution is throwing Appium WebDriveexception and StaleElementReferenceException

Aberta
#623 8 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 3 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
python

Direção de pesquisa

O relatório não identifica nenhum arquivo do repositório, teste ou ponto de entrada. Comece reproduzindo a execução em massa de mais de 50 scripts com o ambiente listado de Appium, Robot Framework, cliente Python e um dispositivo Android real, enquanto coleta os logs do cliente e do servidor. Para considerar o trabalho concluído, seria necessário isolar a causa das falhas do servidor e de stale-element e confirmar que a suíte não para mais de forma fatal.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
Python
Estrelas
1.8k
Forks
570
Merge médio
1d 10h
PRs com merge (30d)
24

Preparar o ambiente

Ainda não verificamos os arquivos de configuração deste projeto. Comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de appium/python-client

Todas as issues de appium/python-client

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.