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

Zooming a map on Android using Appium Python client

I'm working on automated testing for an android app that has a map screen. On that screen I want to zoom in and out. I am not able to get it working. Yes, I've read the response here [1] and it's not working. Below is what I've tried. Moving on the…
2
votes
4 answers

Appium - Get actual, visible text that is displayed on screen

Appium Python iOS el.text and get_attribute('label') etc. all seem to pulling accessibility information. Is there a way to pull the actual text that is displayed on screen using Appium? I need to be able to pull for a given element.
cjg123
  • 473
  • 7
  • 23
2
votes
1 answer

Speed up Amazon Device Farm Appium Python Tests

Setting up a series of tests I decided for Appium Python as I saw that it had support in both AWS Device Farm and Microsoft App Center. I am making a one device test run on AWS and I see that every unit test takes 1:30 minutes to be done. Since I…
sebastianf182
  • 9,844
  • 3
  • 34
  • 66
2
votes
1 answer

IOS Equivalent of Android Monitor

I was trying to get ui element object for an ios application in python using appium. For android, it's very simple, we can use android monitor to view 'View heirarchy' and all ui elements along with its attributes like text, resource-id etc. Is…
2
votes
2 answers

Python Appium implementing Page Object Model

I'm trying to implement 'By' and 'Keys' with appium just like how I do it on selenium. On selenium i could do this: Locators from selenium.webdriver.common.by import By class LoginPageLocators(object): HEADING = (By.CSS_SELECTOR,…
edmamerto
  • 7,605
  • 11
  • 42
  • 66
2
votes
0 answers

Multiaction not working

I am trying to zoom using python-client of appium on android. The default method zoom does not work stating it has not been implemented yet. So i tried with MultiAction. loc = self.element.location print loc xx, yy = loc["x"], loc["y"] …
vks
  • 67,027
  • 10
  • 91
  • 124
2
votes
0 answers

info: [debug] Proxying command to localhost:8080

I am getting error message while running the python code with Android 4.1.2 (API level 16) This is my python code : import os from time import sleep import unittest import time from appium import webdriver from selenium.webdriver.common.by import…
Karthik
  • 315
  • 1
  • 4
  • 16
2
votes
1 answer

Is it possible to do Windows Mobile testing with robot framework?

Any one with hands on experience on Windows Mobile testing using Robot Framework can give me reference links or some sort of examples to start with it? Thanks in advance
1
vote
1 answer

Appium Android Python Can't Find UiAutomator2?

basically I am receiving this error regardless of the uiautomator2 being installed correctly. I'm not too sure why, maybe it's something to do with my desired capabilities? I've used cloud appium before, but this is the first time I am running my…
1
vote
0 answers

How can I get current instance of appium webdriver to write my own keywords?

I have a pretty extensive Robot Framework suite that I've built with AppiumLibrary. For the sake of the question I've created a very basic example of what it looks like. What I want to do is use python to call a method (from Appium, not…
1
vote
1 answer

Appium-Python-client TouchAction class is being deprecated. How do I perform press(), long_press() actions?

I have a method that allows me to scroll down (android and iOS) on a menu (this works for me since it's a side menu). from appium.webdriver.common.touch_action import TouchAction def _scroll_down_menu_settings(self, distance=400): …
1
vote
0 answers

Get text value from Flutter Widget using Appium Flutter Driver

I want to use Appium under Python with the Appium Flutter driver to test my Flutter application. Some things are already working, but I have a problem with the text widgets. I can locate a text element using the semanticsLable (see code), but then…
Takrem
  • 41
  • 6
1
vote
1 answer

How do I automate pressing enter after sending keys into an element?

I am trying to: Input a string into a search bar and press enter to search for it. I have already successfully sent the string into the search bar using context.app.home_page.el_search_bar().send_keys("My String"). I'm still searching for a way to…
krisc
  • 95
  • 1
  • 10
1
vote
2 answers

In Appium Python, how to make double-tap faster?

I am using Appium Python to send double-tap (also known as double-click). I tried the following 3 codes. They sometimes work but sometimes not. action = TouchAction(driver) action.tap(x=x, y=y).wait(10).tap(x=x, y=y).perform() # 1 action.tap(x=x,…
oldpride
  • 761
  • 7
  • 15
1
vote
2 answers

QA Automation script run fails while trying to detect an android app button which has a unique id

I'm working on writing a test automation script for a android app. I'm using python to write the code and using Appium server to run these tests and using Appium UI inspector to identify elements. I'm testing on a button for which i got the id from…
1 2
3
19 20