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

239 questions
16
votes
1 answer

Find element by ios_ui not working

Appium 1.5.0 Xcode 7.3 IOS 10.11.4 OSX EI Capitan Using on:Simulator iOS 8.1 My XML
vks
  • 63,206
  • 9
  • 78
  • 110
9
votes
1 answer

Zoom action in android using appium-python-client

Does anybody know how to zoom an element in android via appium python client? I am currently using self.driver.zoom(self.element, percent) but this gives an error self.driver.zoom(self.element, percent) File…
vks
  • 63,206
  • 9
  • 78
  • 110
5
votes
9 answers

Appium. Cannot find module 'appium-base-driver'

My appium GUI was working perfectly fine until today. When I tried to start appium I am getting this error. I don't know how to get around it. So any suggestions / solutions highly appreciated. Launching Appium with command:…
Mysterio Man
  • 1,517
  • 1
  • 13
  • 17
5
votes
1 answer

Functional test of an android app using appium and python

This is the python code to check if the recording works fine : def setUp(self):"Setup for the test" desired_caps = {} desired_caps['browserName']='' desired_caps['platformName'] = 'Android' …
4
votes
2 answers

How to speed up the start of appium

I am trying to use appium to test one app with real mobile phone. It will spend 25s on startup. How to speed up? appium-desktop version: 1.5 android os: 7.1 here is adb log from appium import webdriver class AppTester(object): """docstring for…
4
votes
0 answers

Pinch not working

Code for Pinch: def contract(self, from_loc_up, from_loc_down): window_size = self.driver.get_window_size() xx = window_size["width"] / 2 yy = window_size["height"] / 2 yy_d = (from_loc_down - from_loc_up) / 2 action1 =…
vks
  • 63,206
  • 9
  • 78
  • 110
3
votes
3 answers

Could not start Appium server. It's showing [Error Starting appium server: listen EADDRINUSE 0.0.0.0:4723]

I am using Appium version V1.15.0 and have already start the server successfully with the default Host: 0.0.0.0 and Port: 4723 But now when i try to start the server it shows me this error "Error Starting Appium server: listen EADDRINUSE…
tahmina
  • 73
  • 7
3
votes
1 answer

How to change the creation date of file using python on a mac?

I need to update the creation time of a .mp4 file so that it will appear at the top of a list of media files sorted by creation date. I am able to easily update both the accessed and modified date of the file using os.utime, but have yet to find a…
Eric
  • 99
  • 1
  • 9
3
votes
2 answers

Appium Timed out after 10000 milliseconds waiting for root AccessibilityNodeInfo

Getting the following appium error once in a while and not sure how to solve it. Any way to increase this timeout or help fix this issue? Your help is appreciated. selenium.common.exceptions.WebDriverException: Message: An unknown server-side error…
Jay Sandals
  • 225
  • 2
  • 14
3
votes
0 answers

How to retreive original folder contents from Appium pull_folder output?

Based on the appium doc at http://appium.io/docs/en/commands/device/files/pull-folder/ a folder can be pulled following way folder_base64 = self.driver.pull_folder('/path/to/device/foo.bar') As per the doc the response folder_base64 is : "A string…
Nafeez Quraishi
  • 3,494
  • 2
  • 19
  • 29
3
votes
1 answer

How to embed base64 image in HTML using pytest-html?

I am using python-appium client and generating a HTML report after the tests are finished. I would like to add the embedded images of the failure tests in the HTML report. The reason to embed the image is that I can access it from the remote machine…
Prr
  • 559
  • 3
  • 18
3
votes
0 answers

Appium with Python - setup class for webdriver

Programing is a new thing for me and probably I am missing something obvious. I would like to create a separate file and class for setup my webdriver for Appium tests, but I got errors like: in test_login main_page =…
3
votes
2 answers

Double tap in IOS Simulator Not working

I am trying to double tap an element in IOS Simulator using appium but unable to do so. Methods tried: action.tap(x=xx, y=yy, count=1).release().perform() 2 times in a row,but it seems there is a 2 second gap which in real world would not be a…
vks
  • 63,206
  • 9
  • 78
  • 110
2
votes
0 answers

How to test Android TalkBack Accessibility using Appium?

I am using Appium with the Python API to do automated testing for Android Apps. Now I would like to do some automated testing of the TalkBack accessibility feature of the App. I managed to activate the Accessibility Service during the test by…
2
votes
1 answer

Search for an element immediately

I want to search for an element in an android application page which has a count down animation, so the searching for the element does not finish until the count down ends. Is there any way Appium does not wait and return immediate results?
Iman
  • 1,724
  • 11
  • 31
1
2 3
15 16