Category "appium"

Appium - Xpath to get direct children not working on Android

For some reason, I am not able to get all direct children of an element on Android. Apparently, the XPath does not work correctly when searching subelements in

DeprecationWarning: desired_capabilities has been deprecated, please pass in an Options object with options kwarg super().__init__(

import pytest from appium import webdriver class Test: def setup_class(self): print("setup from here") desired_caps = dict() desire

Simulate Bluetooth "Out of range" scenarios for test automation

I've an Android phone which needs to be paired with an embedded device (Qt based application on Linux) which we test. I've automated the basic scenarios using A

AttributeError: 'Context' object has no attribute 'app'

Hello I did not found answer for similar problem so I add new topic. I have problem with bdd + appium using a page object model. When I run my script I have iss

Appium is able to see beyond what is displayed on screen

Appium is able to see and find elements that is not displayed on screen I am trying to build a test automation project, I would like my driver to scroll down

Getting Saucelab error "There is no device that matches your criteria."

I am trying to run an Appium test in saucelab real devices. But that is throwing error "There is no device that matches your criteria." All config files with co

Ruby - Appium (android) webdriver actions throws "NoMethodError: undefined method `perform_actions' for nil:NilClass"

I saw that touch actions are now deprecated and the recommendation is to use webdriver actions instead. I've been following the exact example from: https://appi

try to run Appium on real device but got Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device

I have problem while automation iOS on real device , during i starting test I got erorr Try to remove the WebDriverAgentRunner application from the device if it

I cannot run uiautomatorviewer on my macbook M1

Machine macBook Air M1 OS macOS Big Sur Version 11.5.2 java -version java version "1.8.0_301" Java(TM) SE Runtime Environment (build 1.8.0_301-b09) Java HotSpot

I cannot run uiautomatorviewer on my macbook M1

Machine macBook Air M1 OS macOS Big Sur Version 11.5.2 java -version java version "1.8.0_301" Java(TM) SE Runtime Environment (build 1.8.0_301-b09) Java HotSpot

How to enter a value to a textbox from an external excel or YAML file in Appium?

I'm aware of the fact that it is possible to enter a value to a text box using Appium sendkeys. Is it possible to pass values from an external excel or YAML fil

Integration of Azure Devops and Python for passing test results from automation script and update in Azure Devops?

I'm currently performing some mobile app automation with Appium and Python, where test cases are on Azure Devops. I have done the same thing with Appium, Pyth

org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Requested a new session but one was in progress)

I am using Appium 1.4.8 for iOS . I have build the code in simulator using xcode and successfully able to launch the server as well as Appium Inspector. But whi

How to disable wi-fi on Android device in Appium?

In our test case: I need to disable Wi-Fi at some specific point/action. I have verified: driver[deviceIndex].setConnection(Connection.NONE); assertEquals(Con

What Are Some Best Practices When Asserting iOS Elements Are Displayed?

I'm trying to write my first UI Automation test for an iOS app with Appium/Python. I find that when I list 10 assertions like the one below, I get very inconsis

How to start appium test on iOS simulator?

I have the following setup and trying to start the test on iOS Simulator. I am a beginner and don't know how to start the test. I have already imported and inst

Appium Inspector keeps Loading on Mac os

Desired Capabilities : "platformName": "ios", "appium:platformVersion": "15.4", "appium:deviceName": "iPhone 8", "appium:automationName": "XCUITest", "appium:ap

Appium IOS tests running when server started manually but not when server is started via AppiumDriverLocalService

Attempting to run Appium automation scripts on iOS (simulator) on a Mac Mini (M1 chip, if that's relevant). When I run the tests, they work just fine when the A

How to start appium server programmatically in Python

I want to write a android test framework using Appium and python. Appium link: http://appium.io/ So after installing appium with npm, to start its server I nee

How to set timeout for chromedriver Appium

I am using python-appium client for my hybrid android application, how I can set timeout for exceptions, like NoSuchElement exception and etc., because if I swi