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

Access iphone’s settings app on real device

I want to access device settings, I checked there are similar posts but no answer for real device. I tried passing parameters as desired_caps['app'] = 'settings' and desired_caps['bundleId'] = 'com.apple.Preferences' But I get error Instruments…
user2661518
  • 2,677
  • 9
  • 42
  • 79
0
votes
2 answers

Not able to install AppiumLibrary with robotframework in jython

I am trying to install AppiumLibrary with robotframework in jython Steps followed: jython -m pip install robotframework-appiumLibrary Error: Downloading/unpacking sauceclient>=0.1.0 (from robotframework-appiumLibrary) Downloading…
theGeek
  • 101
  • 9
0
votes
0 answers

Display android List View contents in terminal using python and appium

I am writing test cases to check the proper functioning of the Android Audio Recorder App. In one such test case, I want my Python code to display the names of recordings in the terminal.…
Karthik
  • 315
  • 1
  • 4
  • 16
0
votes
1 answer

Verify appium current activity response

I verify launched current activity if it's in browser or in app by comparing with current activity. activity = driverAppium.current_activity And then I verify if activity matches with browser activity name e.g. org.chromium.browser... But can I…
user2661518
  • 2,677
  • 9
  • 42
  • 79
0
votes
0 answers

UI button click with no effect [Appium(1.4.16) Android(5.1)]

It's my first question here, so don't blame me if I ask something stupid. (: For my automation project in python, I need to implement adding Google account to Android device(genymotion device: Google Nexus 5 w/ 5.1 Android) via Settings -> Accounts…
Remy
  • 31
  • 6
0
votes
3 answers

Unable to scroll in android with appium using python

I tried this piece of code: scrollObject = dict(direction="down", text="some_text", element=appium_driver_elem.id) self.driver.execute_script("mobile: scrollTo", scrollObject) But I am getting an error saying: "appium_driver_elem does not have…
minar09
  • 453
  • 6
  • 17
0
votes
1 answer

Why can't I see the methods of AppiumLibrary when I subclass it?

In this StackOverflow posting Bryan Oakley suggested subclassing AppiumLibrary and gave an example of doing so. I’m trying to do this and I can’t seem to get it to work. For example: ActivePython 2.7.2.5 (ActiveState Software Inc.) based on Python…
CMTaylor
  • 11
  • 1
0
votes
1 answer

Press Next Button on Android Native App, no response for Appium Test

Right now, i am using Appium with Python to write test cases on Android native app. I am very beginner, and really need some advice on how to write test cases below.And i am stuck on step2 1, input email address 2, press NEXT button on keyboard 3,…
0
votes
0 answers

How to select text from textbox in ios app and click on text using appium

I can write text to textbox in iOS app using appium as editTextBox = driver.find_element_by_xpath("....") editTextBox.send_keys(text) The text is web link, how can I click on link? I think I can select text and then click?
user2661518
  • 2,677
  • 9
  • 42
  • 79
0
votes
1 answer

Running appium with python and seeing this --> RangeError: Port should be > 0 and < 65536

Running appium with python and seeing this --> ADB not able to talk to device giving RangeError: Port should be > 0 and < 65536
MaxMohash
  • 1
  • 1
0
votes
1 answer

python site-packages pkg_resources.VersionConflicts

File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources/init.py", line 2309, in load File "build/bdist.macosx-10.10-x86_64/egg/pkg_resources/init.py", line 2326, in require File …
MaxMohash
  • 1
  • 1
-1
votes
1 answer

Hi I have 25-40 test cases written in appium python but only few test cases are running and server is getting struck after some time

my desired capabilities def __init__(self): caps = { 'platformName' : 'Android', 'platformVersion' : '11.0', 'automationName' : 'uiautomator2', 'appium:ensureWebviewsHavePages' : True, …
-1
votes
1 answer

How do I test a mobile app update using Appium?

Is it possible to automate the updating of an app using Appium? My scenario is that I need to install an older version of the app and in my test I have to install the newest version. But the desired capabilities for appium:app is defined as the…
krisc
  • 95
  • 1
  • 10
-1
votes
2 answers

Send Key not working in Appium with Python

I have used three types of send keys but still it is not working
-1
votes
1 answer

Is there any way of clearing cache and free up space from android using appium python?

I run an app and from the app it directs me to chrome for login. After which I give my email and password and then after successful login I get redirected to app. Now the question is in case I need to run it again I need to manually clear the cache…
1 2 3
19
20