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

Get current URL with AppiumLibrary - RobotFramework

I use AppiumLibrary with RobotFramework to test web browsing on Android. In several of the test, I need to find out what is the current URL that the user has been directed to after clicking on a link. The basic sample test case is: Test Appium …
juan noguera
  • 135
  • 2
  • 3
  • 10
0
votes
2 answers

How to take screenshots in AWS Device farm for a run using appium python?

Even after a successful execution of my tests in DeviceFarm, I get an empty screenshots report. I have kept my code as simple as below - from appium import webdriver import time import unittest import os class MyAndroidTest(unittest.TestCase): …
ZeroGraviti
  • 1,047
  • 2
  • 12
  • 28
0
votes
1 answer

Why does Appium python find_element_by_id fails in AWS device farm but works on local?

I am able to run my appium python test script on my local appium server. But when I run it on AWS device farm it fails with following error in the log - I made sure I provided an empty desired capabilities object to the driver. Please help me fix…
ZeroGraviti
  • 1,047
  • 2
  • 12
  • 28
0
votes
4 answers

How can I correctly set up UiAutomatorViewer to inspect elements for testing Android apps with Appium?

When running uiautomatorviewer, I am getting the following NullPointerException error: I have installed and set up Appium following the setup process and set up environment variables for ANDROID_HOME and the Android SDK. The uiautomatorviewer…
0
votes
0 answers

Running ADB command from within Python script that contains multiple quotes

In my Appium Python script, this is an example of how I typically do ADB calls that I need the output of: target_device = str(subprocess.check_output(["adb", "-s", device1, "shell", "getprop | grep ro.product.model"])) This works fine, since the…
cjg123
  • 473
  • 7
  • 23
0
votes
1 answer

Android Appium performance issue after webelement.click()

Is there any reason whatsoever for huge performance issues after clicking an item that brings you up to another screen ? I've successfully done some very nice and fast unit testing with appium in python over an android app. The problem is,…
Alin Lipan
  • 219
  • 3
  • 14
0
votes
1 answer

iOS Appium 1.9 - Clicking on parent of element using iOS Class Chain

I have an image within a collection view that I am unable to click on. Appium can find the element fine but using the is_displayed() function always returns false. I read up on the iOS Class chain function so attempted to use that to click on the…
King
  • 827
  • 2
  • 10
  • 20
0
votes
1 answer

Robot Framework Appium Library : Input Text from certain Coordinates or Append text to the Existing text?

I am using RobotFramework-appium Library. There is a keyword "Input Text" to put the the text in edit text box. "Input Text" Keyword clears the existing text and starts writing the text from starting coordinates. Now my question is, Is it possible…
0
votes
2 answers

Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65

I'm new to ios appium and trying to use appium for app testing which i did not have the source code nor ios developer account, the app is downloaded from crashlytics. I've tried to modify the certificate for webdriveragent with my personal account…
user2563901
  • 43
  • 2
  • 5
0
votes
1 answer

Not able to run automation script of python(mac)

I am using https://github.com/appium/python-client framework to run automation. I am getting below error while running scripts. Exception: Message: An unknown server-side error occurred while processing the command. Original error: …
Jitesh Mohite
  • 31,138
  • 12
  • 157
  • 147
0
votes
1 answer

Iterating over a list stored in webElement

I am learning appium (mobile automation) using python. I have a scenario where I have a listView and I have to iterate through each item and then click back until all items are clicked. I am using following code: def…
UzIT
  • 51
  • 1
  • 7
0
votes
1 answer

Is it possible to set a desired capability (fullReset) for a single test out of many?

For one test in the middle of my test suite I need to use fullReset to completely clear any data stored in an app. I don't want to set fullReset as a desired capability for the entire test run as this will significantly slow it down. After each…
Eric
  • 159
  • 2
  • 11
0
votes
0 answers

Parsing Failure in Device Farm

I am attempting to upload a test script profiling device performance to Device Farm using Appium Python, but am having great trouble getting tests to run. I am mainly running into errors with the wheels being loaded, as Device Farm only takes…
J. Gursky
  • 121
  • 1
  • 9
0
votes
1 answer

How to instruct Appium to prefer the emulated device instead of physical

I am using Appium to automate my UI tests on Android. I have a physical device connected to my computer, and an emulator launched from Android Studio: $ adb devices List of devices attached 0831bd3b21320609 no permissions (My phiscal Nexus…
Babken Vardanyan
  • 14,090
  • 13
  • 68
  • 87
0
votes
0 answers

driver.context fails to reliably return webview

Appium server: 1.7.2 Appium-Python-Client==0.26 ios: 11.2 Using the following I would expect to find two views, native and a webview. The native view is always returned but 9/10 times it fails to return the webview context. contexts =…
Eric
  • 159
  • 2
  • 11