Questions tagged [python-appium]

Appium Python Client. An extension library for adding Selenium 3.0 draft and Mobile JSON Wire Protocol Specification draft functionality to the Python language bindings, for use with the mobile testing framework Appium.

Appium Python Client.

An extension library for adding Selenium 3.0 draft and Mobile JSON Wire Protocol Specification draft functionality to the Python language bindings, for use with the mobile testing framework Appium.

https://github.com/appium/python-client

295 questions
1
vote
1 answer

InvalidSessionIdException: Message: Session does not exist error while using Switch Application keyword in Robot Framework with Appium library

I'm facing issue while switching to same application on different devices. At first occasion switch is working fine but second time it's failing and giving below error: InvalidSessionIdException: Message: Session does not exist Open Application on…
1
vote
0 answers

How to run Appium python tests in parallel on devicefarm

Is is possible to run my appium python tests in parallel on aws devicefarm, i know we can select multiple devices from the aws device pool but that runs the same time on all selected devices, i wanted to distribute my tests on multiple devices,
1
vote
0 answers

Python Appium - ResourceWarning: Enable tracemalloc to get the object allocation traceback

I tried to run an Appium test case (python) via Pycharm to automated test case on Wearable device. Source code below: import time from appium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by…
1
vote
1 answer

Appium error : appium-python script cannot connect to the app, whereas Appium Desktop does

I am trying to automate some tasks on an android emulator, and faces a very strange problem : my Appium + Python script cannot even launch the application, whereas everything works fine with Appium Desktop. Here are the details : First, I launch my…
1
vote
0 answers

Integrate python appium with robot framework (passing Appium driver to multiple python definitions)

No keyword with name error using python appium with Robot Framework. I am new to this appium Library and started learning the integration with Robot Framework with Python appium Library. Really Appreciate your response . AndriodLibrary.py import…
1
vote
1 answer

How to start appium server from my python code with AppiumService()?

I am running some test on real Android device. I installed APpium server via pm. I can run Appium server with Windows command line 'appium'. I try to start the appium server from my python code with these lines of code: appium_service =…
Gauthier Buttez
  • 1,005
  • 1
  • 16
  • 40
1
vote
1 answer

How to close Appium driver properly in Python?

I am using Python 3.7 with Appium 1.15.1 on real Android Device. When my script finish the job, I close the driver with these lines: if p_driver: p_driver.close() but I get this error ouput: File…
Gauthier Buttez
  • 1,005
  • 1
  • 16
  • 40
1
vote
1 answer

Dynamic wait in winapp driver

I am using winapp-driver with python for to connect wirelless ssid in windows client. There i am using implicit and explicit wait but both are not working. Seems driver is running on default timeout even if implicit wait is set to 5 sec def…
Dcode
  • 223
  • 1
  • 14
1
vote
2 answers

How to send "special characters" with Python Actions Send_keys?

I am making a code in Python 3.7 for testing an application in Appium. I am trying to send a text in an input field of an application. The text is in French with special characters (é, è, à, etc.). My code managed to type character by character, one…
Gauthier Buttez
  • 1,005
  • 1
  • 16
  • 40
1
vote
1 answer

Issue with Appium server: error: more than one device/emulator'; Code: '1'”

The problem I try to run 1 test on multiple Android smartphones in parallel for app Instagram with Python. I have the very popular issue: “Encountered internal error running command: Error executing adbExec. Original error: 'Command …
Gauthier Buttez
  • 1,005
  • 1
  • 16
  • 40
1
vote
2 answers

Not able to locate element in appium by using xpath ends-with for iOS app created using react native

I am automating the flow of iOS app made using react native. I am able to find elements by XPath normally but when trying the ends-with syntax, it is unable to find the element. I am using python language, below is the example of code snippet I am…
SRM21
  • 453
  • 5
  • 14
1
vote
1 answer

Appium terminate vs close

In Appium, what is the technical difference between the driver.terminate_app(bundleId) and driver.close_app() methods?
simpleuser
  • 1,617
  • 25
  • 36
1
vote
2 answers

Appium Submit Url

I am using Python and Android Chrome. And my WebDriver is created using WebDriver.Remote(host, caps) I actually want to use Chrome in incognito mode but it seems not possible according to the question here. But are there any workaround? For example,…
1
vote
1 answer

How to handle missing screens in Chrome

I'm facing a problem while executing my test cases for a native app. The thing is when I launch Chrome then the flow is like Accept & Continue > Next > No Thanks > url to my web app. Sometimes the Next screen is missing and the No Thanks screen is…
Gaurav Marothia
  • 163
  • 2
  • 2
  • 14
1
vote
0 answers

Appium Server is throwing 'UiAutomator exited unexpectedly with code 134, signal null' error

I am getting error 'UiAutomator exited unexpectedly with code 134, signal null' in the appium server logs. What is the error code 134 ? could not find any reference for it. Environment - Appium version: 1.14.0 Desktop OS/version used to run Appium:…