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

Amazon device farm - wheel file from macosx platform not supported

I am facing the following error on configuring Appium python test in AWS device farm: There was a problem processing your file. We found at least one wheel file…
0
votes
1 answer

"Button Tap" gives "An unknown server-side error occurred while processing the command." in Appium Android test

I am running the SELENIUM+JAVA test for android app with appium for the first time. (WIndows 8.1) I copied the id of button from Appium inspector. I am trying to click the button. isDisplayed returns true or gettext() is fine however loginBtn.tap(1,…
Pawan
  • 153
  • 2
  • 3
  • 15
0
votes
0 answers

Appium with Python - how can I run script in parallel mode?

Hi, can anyone help me with launching a test script in parallel execution? How should I configure Desire capabilities and webdriver instance inside a script? I have appium test script written in Python and unittest. My grid is up and running but…
0
votes
0 answers

Instruments exited with code 255 Appium issue

I am trying to install my app in my device with Appium applicaiton.If i manually install my device once then appium is working but if i remove app from device or install it first time it is throwing instrument error. info: [debug] Spawning…
PJR
  • 13,052
  • 13
  • 64
  • 104
0
votes
4 answers

Appium could not shows WEBVIEW but actually exists on an Android Native App

I'm running Appium on Mac to test an Android Native App directly on an Android device. However, when I try to fetch the contexts and switch to the one containing WEBVIEW (When I use UIAutomator or Chrome DevelopTool Inspector, It do exist named as…
Kent
  • 71
  • 1
  • 10
0
votes
1 answer

Python and Appium

I got the following error while executing a python script on appium ImportError: No module named appium I am running appium in one terminal and tried executing the test on another terminal. Does anyone know what is the reason for this error? and…
Vibha
  • 31
  • 6
0
votes
2 answers

Error While launching appium browser:- org.openqa.selenium.WebDriverException: ERROR running Appium command: Arguments to path.resolve must be strings

Unable to launch chrome browser on real device, error found: -ERROR running Appium command: Arguments to path.resolve must be strings Launching Appium server with command: C:\Program Files\Appium\node.exe lib\server\main.js --address 127.0.0.1…
0
votes
2 answers

Not able to perform scroll in appium 1.14.16 on Android using python

This is my code desired_caps = {} desired_caps['platformName'] = 'Android' desired_caps['platformVersion'] = '4.4.2' desired_caps['deviceName'] = 'Gaurav' # Returns abs path relative to this file and not cwd #desired_caps['app'] =…
thebadguy
  • 2,092
  • 1
  • 22
  • 31
0
votes
1 answer

Do I need install appium client in python virtualenv for deployment in Amazon Device Farm (ADF)?

Instructions at http://docs.aws.amazon.com/es_es/devicefarm/latest/developerguide/test-types-android-appium-python.html does not tell anything about adding appium (appium wheel) into the virtualenv needed to build the test_bundle.zip. If it's not…
Ken
  • 33
  • 6
0
votes
1 answer

python variable expansion in multiple quotes using appium find elements

variable expansion is not happening inside multiple quotes. Here is the code products = ['One','Two','Three'] for i in range(0,len(products)): el = self.driver.find_element_by_android_uiautomator('new…
code_seeker
  • 112
  • 2
  • 12
0
votes
1 answer

Cannot find the FrameLayout element

I am using Pydev in Eclipse to automate an Android app with Appium. I'm not able to click on the element. FrameLayout has different index [0,1,2] rest everything is same. I have tried these: driver.find_element_by_android_uiautomator("new…
Mario
  • 1
  • 5
0
votes
1 answer

Using appium and uiautomater to navigate through layout hierarchy

I have a listview with several list items in it. Each item is a relative layout that has an image button and a nested linear layout which has a textview with unique text. I need to be able to find an item in the list based on the text in the…
0
votes
2 answers

Detect location of specific text

Appium 1.5.0 Xcode 7.3 IOS 10.11.4 OSX EI Capitan Using on:Simulator iOS 8.1 Suppose we have a text field To see more information clickhereand to get more click here. So I identified the text using xpath and I can get its location and size. Now…
vks
  • 67,027
  • 10
  • 91
  • 124
0
votes
1 answer

Solution to lack of setValue for android in appium

I am using appium and python scripts to automate testing for an android app. I have come to a problem when trying efficiently select the date in a date field. When you click on the field, it opens a small calendar in month view, where you can…
seanrocky
  • 1
  • 1
0
votes
1 answer