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

Text comparison in Python

I am testing an app in French where I grab the text from screen using Seetest and store it in a Python variable. The method I am using is GetAllValues , I then compare it with the expected text that is stored in an xml which i parse using lxml…
0
votes
3 answers

How to upload attachments in browser tests using Appium?

I am trying to automate a test case in Chrome where I would like to upload an attachment to an email. I use desiredCaps['browserName'] = 'Chrome'. While clicking attachments in email, it opens the Documents in the phone, but I am unable to detect…
Thejus Krishna
  • 1,755
  • 1
  • 19
  • 28
0
votes
2 answers

How to execute multiple appium test scripts one after the other?

I was trying to execute an appium test suite i have created, which consists of multiple test files within the suite. Can anyone please help, i'm unable to execute the second test script after the execution of first script. It restarts the app and…
0
votes
2 answers

Element locator with prefix 'xpath("//android.widget.edittext[@resourse-id' is not supported

I want to input username. I have tried to find element as below using UIatomator but it throwing error. Input Text xpath("//android.widget.EditText[@resourse-id='name']") test I have attached screenshot for reference please help..please…
0
votes
0 answers

Issue with import module in python framework when working with Appium integrated with toolium

I have created an automation framework using toolium with Appium which works for both IOS and Android. Toolium is a python wrapper that I've used to facilitate page object modelling. Basically the UI is separated from the test case so that the same…
kvg
  • 17
  • 4
0
votes
0 answers

AWS Device Farm- Appium Python - Running only collected tests

I need some help regarding the run of the collected tests. So here is my scenario. I have the tests structured like this: tests_folder { feature01_tests_folder { tests } feature02_tests_folder { tests } } I'm using Appium…
0
votes
1 answer

Toggle Software Keyboard for entire test suite in appium python

Currently I am writing iOS tests using Python Appium and would like to completely hide the software keyboard which pops up whenever you have to type something. I am already aware of driver.hide_keyboard() function but it's a pain to include it…
python
  • 4,403
  • 13
  • 56
  • 103
0
votes
1 answer

Modify test names based on command line parameters

I am using pytest to run appium tests with python-appium. I run the tests on different devices, and I use a command line parameter to select the device via pytest_addoption. I output the test results via --junitxml. Afterwards I collect the test…
Nathan
  • 7,099
  • 14
  • 61
  • 125
0
votes
1 answer

How can I use appium to find a element not visiable in a listview .driver.scroll_findElement_byname?

How can I use appium to find a element which is not visible in a listview (maybe the element are located in the bottom,and I need to scroll many pages so that i can find the element ) I have used driver.scroll_find_element_by_name() ,but I got a…
0
votes
1 answer

Launch emulator from appium python client

I start appium server and launch emulator from avd manager manually. Both these steps I want to automate using appium python client. Would you please give some pointers regarding the same: class ChessAndroidTests(unittest.TestCase): "Class to…
JLyon
  • 297
  • 1
  • 4
  • 19
0
votes
0 answers

Prompt error when calling method of install_app() with uiautomator2

I met a error when initialize appium setting success, then call install_app() method to reinstall a new app.
JimWu
  • 5
  • 3
0
votes
3 answers

How to improve get toast correct rate on Appium 1.6.3 with uiautomator2?

I tried to test getting toast message on android device with Appium 1.6.3, but it is disappointed for me,the rate to correct get toast is very low. Is there anyone help me?
0
votes
1 answer

IOS Appium fails when running test scripts

I managed to get the appium running. Unfortunately, I couldn't get a test to run successfully. Once the appium test finishes I only get only one unique error message which is the following: [XCUITest] Error: Command '/bin/bash Scripts/bootstrap.sh…
Jake Rushing
  • 99
  • 10
0
votes
3 answers

Having trouble starting appium server on terminal

I'm trying to run Appium 1.6.3 on terminal so I can run Appium on iOS simulator. In the past, I was able to start Appium on terminal. Ever since I upgraded the mac OS to 10.12.3, I always get the following error when I tried to run it: -bash:…
Jake Rushing
  • 99
  • 10
0
votes
0 answers

Is there a way how to run iOS, Android and WP Robot Framework tests using TeamCity on one server?

I have pretty straightforward question for you: is there a way how to run iOS, Android and WP Robot Framework test pack using TeamCity on one server? Simply, I want to have one test codebase being run on one TC server and testing an app for all…
Lubos Jerabek
  • 813
  • 4
  • 18