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

Open Chrome in incognito mode on real Android Device using Appium

I'm using Appium to test my website on Chrome for Android. I would like to add some options to Chrome for Android such as the incognito mode and the possibility to disable the cache. I tried with the following sample code but it doesn't work…
antedesk
  • 756
  • 6
  • 15
  • 30
1
vote
0 answers

Calling swipe() on navigation bar area causes appium error due to bounds

I am testing a program on Android with Appium v1.6.3 with an LG K7 and Samsung Galaxy S6 Edge+, on Linux with Python v2.7. I am performing swipe gestures in my test program at different areas across the width of the screen. On the Galaxy, I have no…
Lucas
  • 23
  • 4
1
vote
1 answer

AWS Device Farm- Appium Python - Order of tests

I'm using Appium-Python with AWS Device farm. And I noticed that AWS run my tests in a random order. Since my tests are part dependent I need to find a way to tell AWS to run my tests in a specific order. Any ideas about how can I accomplish…
1
vote
1 answer

How do I open Action Center ---> Connect in Windows 10 for testing?

I'm writing an UI test automation for an app connecting laptop screen to TV. I need to open Connect through Action Center to see the list of available receivers. I'm using Appium in Python to test the app but the thing is Appium doesn't support…
Nhi Tran
  • 11
  • 3
1
vote
1 answer

Handle browser alert/pop up in Robot framework + appium

I am downloading an .apk file from a link. I open browser > Go to URL > Chrome browser is displayed. How do I click on "OK" from the alert. I am using AppiumLibrary.
1
vote
0 answers

Appium can't click on element

I have a problem with communication between Appium and react-native. I tried it on android (for now) Here is my component what i want to test: import React, { Component } from 'react'; import { StyleSheet, Text, View, TouchableHighlight, }…
Lukáš Šálek
  • 1,265
  • 2
  • 19
  • 38
1
vote
2 answers

Not able to find locator in appium python

I am new to appium python client and need your suggestions to solve my below issue.PFA uiautomator viewer screen shot.Not sure if this is the reason: after typing into email field, a keyboard opens up so password and sign in button are not located I…
JLyon
  • 297
  • 1
  • 4
  • 19
1
vote
1 answer

Original error: Cannot read property 'forceStop' of undefined Appium, Ubuntu

I have problem with appium mobile tests. I am new at QA tester. Earlier i write web automotion tests and i dont have these problems. I setup tests i write one. Still have the same problem import os import unittest from appium import webdriver class…
1
vote
2 answers

How to accept the google permission prompt by default while using appium

I'm trying to automate the app , but suddenly in middle the google permissions window for permission like phone , location etc pops up , is there any way that I can make sure always permission pop ups are allowed
krishna chetan
  • 659
  • 1
  • 10
  • 20
1
vote
1 answer

Appium : Getting exception while running tests

Appium 1.5.0 Xcode 7.3 IOS 10.11.4 OSX EI Capitan Using on:Simulator iOS 8.1 Exception: [Appium] Had trouble ending session 93536764-0715-4f18-a8b0-4a06335e2d94: Instruments did not terminate after 5 seconds! [Appium] Removing session…
vks
  • 67,027
  • 10
  • 91
  • 124
1
vote
1 answer

What is Python alternative to Java @AndroidFindBy @iOSFindBy annotations

I have mobile native application (iOS and Android) that I want to automate using Python - application interaction and logic look similar for iOS and Android. What is the best way to share test logic across mobile platform. I found a way how…
Volodymyr Prysiazhniuk
  • 1,897
  • 4
  • 22
  • 33
1
vote
0 answers

Appium Is_displayed always returning true even though page has changed

Appium 1.5.0 Xcode 7.3 IOS 10.11.4 OSX EI Capitan Using on:Simulator iOS 8.1 On ios is_displayed is always returning true even though the page has changed.Is there a bug in appium? Relevant Logs [debug] [UIAuto] Socket data received (25…
vks
  • 67,027
  • 10
  • 91
  • 124
1
vote
1 answer

How to run Appium script in multiple Android device/emulators?

I am trying Appium using Python language. I have written a simple Login script in Python,it executes perfectly in one android device/emultor using Appium. But i have no idea how to run in multiple device/emulators..i read some forums but did not get…
Mahi P
  • 11
  • 4
1
vote
1 answer

Appium on ADF: Test upload failed using Amazon Device Farm Jenkins plugin

I'm attempting to run Py.Test on Amazon Device Farm, I got the steps to upload the App, select a device pool working. However at the last step where it tries to upload and run the test it fails, and I don't have an idea why. Any insights will be…
1
vote
2 answers

What is the difference between click() and tap() method in appium while writing test cases

Suppose I have to tap on a menu navigation button. I have tried click() and tap() both are working fine but which one is preferred(for both emulator and physical device)
Avanti
  • 323
  • 5
  • 14