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
0 answers

How to start appium servie via python coding and than run pytest script

I tried from appium.webdriver.appium_service import AppiumService and appAppium = AppiumService() appAppium.start() but code throws an error in windows env. _____________________ ERROR at setup of…
1
vote
2 answers

When I try to check appium version with 'appium -v' I receive command not found. What can I do?

When I try to check appium version with 'appium -v' I receive command not found. What can I do? I tried different options but it's not working
abakunts
  • 25
  • 1
  • 3
1
vote
1 answer
1
vote
0 answers

Unable to launch appium in real devices because of xcodebuild failure: "xcodebuild failed with code 65"

I am trying to launch appium in real devices, but everytimee i run i get this error- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Unable to launch…
1
vote
1 answer

"Desired Capabilities must be a dictionary" error when passing dict into parametrized method

I'm testing mobile applications using Appium and pytest. Following error appears when I'm trying to pass a list of dictionaries through the parametrized pytest mark. WebDriverException: Message: Desired Capabilities must be a dictionary It works…
si13n
  • 15
  • 7
1
vote
1 answer

pytest conforms to naming convention but not collecting tests and results in no tests ran

Whenever I try to run pytest test_clientLogin.py, it results in collecting 0 items and no tests ran despite my module and method conforming to pytest default naming convention as far as I know. Am I missing something here? import unittest import…
mir
  • 183
  • 1
  • 12
1
vote
4 answers

Not able to find element by XPATH using Appium / Python

I am automating a flow that consists in tapping in the Product Name from a Product List which is a Xamarin ListView to go into de Product Details Page. I have set in my ListView: AutomationProperties.IsInAccessibleTree="false" And in the Product…
1
vote
0 answers

How to know if bottom/end of a ListView is reached during the ui automation test

I am trying to perform UI automation test of react-native ios app using appium and Appium-Python-Client. My problem is I can not know when the bottom of a ListView is reached. I use self.driver.swipe() a few times in a row but it is a hard coded…
IamMashed
  • 1,811
  • 2
  • 21
  • 32
1
vote
3 answers

How to start appium server programmatically in Python

I want to write a android test framework using Appium and python. Appium link: http://appium.io/ So after installing appium with npm, to start its server I need to execute the command "appium" in terminal.It will start the server. It looks something…
iamranit
  • 13
  • 1
  • 1
  • 5
1
vote
0 answers

Cannot move Android seekBar using Appium Python

I have a simple app which contains a SeekBar, which I want to drag up untill the end. As per this SO post, I added this code block get_seekbar = driver.find_element_by_class_name('android.widget.SeekBar') start =…
demouser123
  • 4,108
  • 9
  • 50
  • 82
1
vote
1 answer

is there a way to get the Device Locale from AWS - Device Farm ? I'm currently using Appium-Python-Android

I'm wondering if there is a way to get the device locale from AWS Device Farm. I've tried reading the log cat, but the locale set once, so i could only read this info in one test. I also tried using the driver shell command but in order to do so i…
1
vote
2 answers

Get desired capabilities with Python

I don't know how to get desired capabilities I've set with Appium Python client. What I need specifically to know is which platform is set, is it iOS or Android? I have Appium driver like this. self.driver = webdriver.Remote(config['server_url'],…
Mate Ajdukovic
  • 340
  • 3
  • 17
1
vote
1 answer

appium | python | ios | wait_activity function is not working in iOS

I'm trying to use this Explicit wait instead of sleep(15) self.driver.wait_activity(locators.skip, 15, .5) But appium is complaining that this function is not implemented for iOS. Which function should I use for iOS?
Harsha
  • 11
  • 2
1
vote
2 answers

How to grant Android system permissions using Python

I am new to Python and trying to make an automation test for an application using Appium 1.3.1 and Python 3.6 on Android 7.1.1 simulator. At this point I am stuck at system permissions popup and don't know how to select "ALLOW" element with Python…
1
vote
4 answers

Failure [INSTALL_FAILED_VERSION_DOWNGRADE]

I recently took over a project which is using Appium to do some automated mobile testing. I have a few python scripts that are supposed to be ran with Appium however when attempting to run them I run into "[INSTALL_FAILED_VERSION_DOWNGRADE]". After…
Austin Efnor
  • 166
  • 1
  • 2
  • 16