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
-1
votes
1 answer

NoSuchElementException when element is present

Here is my code: @return_to_home() def test_upvote(self): driver.find_element_by_id("com.ATG.World:id/fab").click() driver.implicitly_wait(timer) …
-1
votes
1 answer

so if we need to setup an auto tests (Appium) of an iPhone app from our Win 10 setup - what are all of our options?

for Android - we just run the emulator and hook them up but for iPhone what are our options? can we also run some iPhone emulator? or hook up an actual iPhone via USB? or have our code connect to virtual (or real) MacOS that has an iPhone emulator…
-1
votes
1 answer

unable application to launch appium python

$ adb shell $ dumpsys window windows | grep -E 'mCurrentFocus' packages & activity is -- mCurrentFocus=Window{120f4c3 u0 in.amazon.mShop.android.shopping/com.amazon.mShop.sso.SigninPromptActivity} Package --…
Shibu
  • 9
  • 1
  • 7
-1
votes
2 answers

What is the recommended build of hybrid should I use in APPIUM testing?

I create a hybrid app using apache cordova and I want to run some test using APPIUM (pytest). Can I use the app build or the debug build for testing? I really don't know what is the effect if I use the two different builds. Thank you!
-1
votes
1 answer

Getting an error while importing Appium Libary in eclipse

When i importing the Appium Library in eclipse getting an error. I have created Robot framework using Python. when i importing appium library getting an error not able to resolve the issue. can you pls help on the same. enter image description here
-1
votes
1 answer

TypeError: unbound method "getDriver()" must be called with Driver instance as first argument (got str instance instead)

I'm getting this error when I execute my test: TypeError: unbound method "getDriver()" must be called with Driver instance as first argument (got str instance instead) Here is my code: from appium.webdriver.common.mobileby import MobileBy class…
-1
votes
1 answer

How to start appium server from Jenkins?

I have a problem for starting appium server from Jenkins. If I go to the configuration and type 'appium' in shell execution, appium command is not found. [appium-mobile-test] $ /bin/bash -xe…
mare
  • 1
  • 2
-1
votes
1 answer

Check which app is currently open on device

I can launch app through appium and use that driver to do UI interaction through Python. But I am trying to launch app through python script. e.g. facebook app. Can I determine which app is currently open? Or can I use appium to do UI interaction…
user2661518
  • 2,677
  • 9
  • 42
  • 79
-1
votes
1 answer

AttributeError: 'unicode' object has no attribute '_current_application'

I am automating the pressKeyButton() in python.for this following is the code from AppiumLibrary import AppiumLibrary def PressKeyboardButton(self, buttonToPress): self._current_application().execute_script("var vKeyboard =…
sunil
  • 39
  • 1
  • 1
  • 5
-3
votes
1 answer

Which are the mainly used presskeycode in appium Testing?

I have doubt about Presskeycode used in appium. I can successfully used the camera,search press key code. but i want more information about others keys. can you give me one by one details of key code or mostly used keycodes.
1 2 3
19
20