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

Appium - find element by xpath not working

Error LogsTrying to click on an element XPath not working. I have used several other XPath in my application. All other working expect…
0
votes
0 answers

How can I improve speed between buttons tap/click using Selenium Appium python

I'm learning and writing a script to test an iOS app by using a selenium python script with Appium. But between two button taps/click some time it can be a little bit long, between each…
skez
  • 51
  • 8
0
votes
1 answer

Finding a center of a WebElement

Using appium and selenium to auto-test and android app. To press various buttons we were using WebElement.click() function but that was rather slow in some cases, so replacing it with WebDriver.tap(coordinates) I need to tap in the center of a…
0
votes
1 answer

Problem with mobile auto-test python+appium+selenium

I'am new to mobile automation. I thought I got the gist, but I ran into a problem. An error occurs when using the command send_keys() selenium.common.exceptions.InvalidElementStateException: Message: Cannot set the element to '321785214'. Did you…
0
votes
1 answer

Define variables as variables in Robot Framework with Python file

This works <> **Setting** Resource file2.robot **Variables** ${file1_var1} ${file2_var1} **Keyword** Check It Click ${file1_var1} where <> **Settings** Variables …
0
votes
1 answer

how to select textView without id in appium?

I'm new to automation and appium so I'm trying to automate sololearn I have such a list of relativeLayouts each one contains a follower picture, name, and lvl. here is an image for more details…
AzerSD
  • 148
  • 1
  • 9
0
votes
1 answer

How to scroll/swipe in Appium tests using Python?

I am trying to scroll / swipe from ft. to m. in my Appium with Python test. Accessibility id for feet is ft. and for metric is m. Here is the code snippet I am trying to use to do this but the ft. doesn't switch to m. WebDriverWait(driver,…
SteveS
  • 3,789
  • 5
  • 30
  • 64
0
votes
1 answer

Appium closing app, leaving background process

I have two drivers, one for my app and one for Chrome. The flow is like so: Start the app driver, set up the app (app starts background process). Start the Chrome driver, do some stuff there and quit this driver. But what I actually want to do is…
stylesuxx
  • 825
  • 1
  • 9
  • 25
0
votes
3 answers

Appium press call back button make the app crash on android

I have searched the same symptom but cannot be fixed. I use appium to do some automation with UiAutomator1. Every call the back button driver.keyevent(4) The app crash(or exit) and goes to the Android home page. The log seems normal. However, a…
0
votes
1 answer

How to fix Failure “INSTALL PARSE FAILED NO CERTIFICATES” for Appium & Python?

I am making an automation script to automate a Real SMartphone Android 8.1: Environment Python 3.7 Windows 10 64Bits Build-tools 29.0.3 java version "1.8.0_241" Appium 1.17.1 Node v12.15.0 sdkmanager 4.0.1 ADB (Android Debug Bridge) version…
Gauthier Buttez
  • 1,005
  • 1
  • 16
  • 40
0
votes
1 answer

Unittest setUpClass method is not getting called

I am trying to run my tests in parallel mode using ThreadPoolExecutor, here is my Runner class suite = unittest.TestSuite() if (options == 'by_method'): for object in name: for method in dir(object): if…
Love
  • 125
  • 2
  • 13
0
votes
1 answer

Python Appium "Swipe" action is not working with TouchAction

I am working on automating an app where I need to swipe right 4 times to activate test mode. Since driver.swipe() was deprecated, I am unable to figure out what I am doing wrong while using the TouchAction class. Code: actions =…
0
votes
1 answer

How to run the scripts without give the apk path in the setup function which is already installed in my phone using on Appium Python?

Already app is installed in my phone without give the app path in setup function can i able to run the scripts in Unit-test in Python?
0
votes
1 answer

Why python doesn't read the environment variable and can't run a windows command line?

I am trying to run the appium server from my python 3.7 code. So I use this simple line of code: os.system("start /B start cmd.exe @cmd /k appium") I see the command windows pop up and give the error "appium' is not recognized as an internal or…
Gauthier Buttez
  • 1,005
  • 1
  • 16
  • 40
0
votes
1 answer

How to resolve this Assertion Nontype error?

def teatDown(cls) self.assertEqual([], self.verificationErrors) AttributeError: 'NoneType' object has no attribute 'assertEqual'