Questions tagged [appium]

Appium is an open source test automation framework for use with native, hybrid and mobile web apps. It drives iOS and Android apps using the WebDriver protocol.

5
votes
1answer
457 views

Performance for WebDriver vs AndroidDriver vs iOSDriver

I initially wrote a few selenium scripts to test my web application. The scripts use RemoteWebDriver call for initialising web driver. I now wanted to run the same scripts to test the web application ...
5
votes
1answer
766 views

Getting web driver exception message while tapping list elements using appium

I am using appium 1.4.8 on mac and I'm automating native app using selenium. I am stuck at a situation where I need to tap each element in a list. I wrote below code: List allKeywords=driver....
3
votes
1answer
470 views

Unable to launch Safari on iOS using Appium

I am automating some tests a real device (iOS) using Appium and Cucumber. My idea it to do the following steps: Open the app Do some tasks Launch Safari Navigate to a website, lets say google.com ...
3
votes
1answer
851 views

Unable to run Appium Version 1.3.6-(Ophiuchus) on Yosemite for Testing Android App on real device

These are my settings: My SDK path: -/usr/local/adt-bundle-mac-x86_64-20140702/sdk My APK path -/usr/local/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/Setmore.apk Given Package name, Launch ...
2
votes
1answer
453 views

how to find element by xpath for android appium

Since these nodes don't have ids and text, I have used xpath to find the element but find element fails I have tried different xpaths as below but none work. xpath=//android.view.View[10] xpath=//...
2
votes
1answer
306 views

Appium Desktop won't open for Ionic App

I am currently trying to automate an ionic app using Appium and Python. I have the Appium Desktop version 1.7.2 installed. However, if I try opening any ionic app using Appium Desktop, it hangs at ...
2
votes
1answer
296 views

Automating Embedded Webviews in a MAC OSX Native application

I have a MAC OSX native application. Some of the screens in this application is using Webviews. My specific requirement is to automate this view using Selenium. Questions that I have: Is it really ...
2
votes
1answer
494 views

Android application not launching with Appium

I have downloaded the latest Appium Desktop to inspect the different elements for automating an app. I was able to launch the calculator app on my Android phone but was unable to launch an app that I ...
1
vote
1answer
978 views

When I tried to install opencv4nodejs I am getting an error

I am new to appium using javascript and to install appium I am following this link Setting up appium with javascript So when I installed appium-doctor and ran it I got an error. info AppiumDoctor ...
1
vote
1answer
172 views

How to handle a wait for element to disappear in Appium?

ExpectedConditions.invisibilityOf(element); I am getting exceptions as: Unsupported command exception: isElementDisplayed
1
vote
1answer
147 views

Appium | Getting error when using .click or sendkeys

I'm looking to start automation of a mobile application. I went through Appium related articles and most of them suggest to use Appium with Javascript. I explored online and setup appium and my code ...
1
vote
1answer
107 views

Page Object Model: need help with tests that uses more than 1 page object - Appium-Java-TestNG

I have a framework based on POM model. I am able to write test that only uses elements from 1 page but when I need to access elements from another page tests fail because I think it uses the wrong ...
1
vote
1answer
604 views

Appium TestNG error : Attempting bi-dialect session, assuming Postel's Law holds true on the remote end

I'm trying to launch a simple web application test using Appium, using AVD. I'm using eclipse, and the android studio emulator. I included all the packages. I would like to make sure about the ...
1
vote
1answer
417 views

Setting appium to run test on iOS device

Please help me for my setting in appium, I cant launch and display appium inspector on ios, but my setting for android already working and fine use macOS- Sierra appium 1.5.3 iphone iOS 10.2 ...
2
votes
0answers
921 views

Drop-down not working with safariDriver on Safari 10

Getting below error while accessing drop-down Using Safari 10 mac sierra with apple `safariDriver` Selenium Version 3.0.1 org.openqa.selenium.WebDriverException: An unknown server-side error ...
2
votes
0answers
126 views

How to Identify accessibility in Android Hybrid App?

I'm working in appium with page object pattern. public class LoginPageObjects { @CacheLookup @AndroidFindBy(accessibility = "") public MobileElement mobno; @CacheLookup ...
2
votes
0answers
226 views

Duplicate annotation Error in appium

I'm working in appium in ubuntu pc .There is a duplicate annotation error in my code public class ChainViewPageObjects { @AndroidFindBy(className = "android.widget.ScrollView") @...
2
votes
0answers
998 views

Appium stuck after context change from native to webview

I am testing a Hybrid Android app - Tubemate in Appium. I'm using the following configuration: selenium-java = version 3.0.1 appium java-client = version 4.1.2 chromedriver = version 2.19 Android = ...
2
votes
0answers
242 views

Java + Appium + iOS [mobile] : How to fix error “Error: spawn ios_webkit_debug_proxy ENOENT”?

I am trying to automate web app on iPhone using Mac. Executing webkit debug proxy for automation on iOS platform. I am facing below issue: RUNNING: ios_webkit_debug_proxy events.js:141 throw ...
2
votes
0answers
792 views

An unknown server-side error occurred while processing the command while swipe

I get the following Exception using appium An unknown server-side error occurred while processing the command. when i run this code driver.Swipe(loc1.X, loc1.Y, loc1.X - 110, loc1.Y, 2000); I use ...
1
vote
0answers
33 views

Samsung Internet on Emulated AVD wont install

We wish to be able to test Samsung Internet with Appium but are not able to install Samsung Internet on an AVD created by Android Studio. Does anyone know how to install this or know of any other way ...
1
vote
0answers
76 views

Appium 1.10.0 + Android : Unable to accept permission alert

Team, I am facing issues to accept the permission on Android using Appium. I have tried below options: capabilities.SetCapability("autoAcceptAlerts", true); driver.switch_to_alert() driver....
1
vote
0answers
160 views

Appium inspector crashes and won't load a certain page but can load other pages

I'm trying to get the elements of a certain page and Appium inspector takes a long time to capture the picture, but then the elements page source will show up with only 1 element tag and rest of the ...
1
vote
0answers
257 views

Best Continuous Integration strategy for Mobile Testing using Appium, Jenkins, Docker, Kubernetes

we are currently focus on the Mobile Testing using Appium as a mobile testing tool (with our own framework based on Appium) and using Jenkins and Android/iOS emulators/simulators to launch the test ...
1
vote
0answers
136 views

Invalid Version: android-4.2.2 error on appium

An exception of type 'System.InvalidOperationException' occurred in WebDriver.dll but was not handled in user code Additional information: An unknown server-side error occurred while processing the ...
1
vote
0answers
344 views

How to handle browser language notification in android using appium?

I was trying to automate a website which is in german. But when I run the test on android device using chrome browser, language translator notification appears. Can anyone let me know how to handle ...
1
vote
0answers
78 views

How to extract adb dumpsys response for validation?

I need to validate few status of the android device. Can any one let me know how to extract the information from adb dumpsys and validate the responses using Java. Your help is much appreciated. Ex: '...
1
vote
0answers
176 views

How can i get GPS current status in Appium

I do some testing with appium with ad Android Application. I want to know if i can get gps current status, if gps is in use in that instant or not. I don't want know if gps is enable or disable.
1
vote
0answers
1k views

How to save Appium logs to a local text file?

I am using Appium to automate all my test cases related to IOS device using Java, Logs are currently displayed on Appium app itself. I want to save them in a text file so that i can check error after ...
1
vote
0answers
200 views

Passing IWeb element to Implicit wait function

I'm following Page Object Model on my test suite. I have below method to wait for an element. public void WaitTillCssSelector(string elemantName, int TimefromSeconds) { ...
1
vote
0answers
42 views

Which test method is running/executing at the moment?

I'm on Appium with C#, I have 60 test methods written on different classes. I'm running the tests via Visual Studio test explorer. When I click run all test button at the "Test explorer" it will ...
1
vote
0answers
158 views

Appium Upgrade to 1.5.3 : How to resolve “Permission denied” error?

Small issue: I am opening one file on mac programatically. But I am getting error of Permission denied How can I resolve this error & grant permission?
1
vote
0answers
332 views

Appium + Java + Android + Mobile browser [Chrome driver] : How to switch from android app to mobile browser?

I am automating android app. My env is - Mac, Appium, Java + TestNG Scenario: Click on button Its will redirect user on mobile browser Login in browser How to automate above scenario? The core ...
1
vote
0answers
271 views

Appium: getting stuck at tapping on buttons under a loop

I am getting stuck at executing a loop .My scenario is : I am tapping on bookmark present over the screen . I am using below code for that , List listAllSessionsNames=driver.findElements(By.xpath(...
0
votes
0answers
35 views

Locator strategy for list view elements in Android app

I am automating a calendar feature in an Android app using Appium. The developers have set content-desc for us to be used as accessibility ids. For simple elements like buttons it works like a charm. ...
0
votes
0answers
16 views

Appium: How to resolve Class cast exception for iOS driver? “java.lang.ClassCastException”

I referred to one of the answers posted in this forum and when I attempted to run following code NetworkConnection mobileDriver = (NetworkConnection) appiumDriver; if (mobileDriver....
0
votes
0answers
21 views

How to identify the fields and their values in the listview screen which are inside a recyclerView

I am automating a Mobile screen where I have the details of a particular transaction, in which I have fields(fieldnames like card number, transaction date, Transaction ID., etc.) and the subsequent ...
0
votes
0answers
28 views

How to handle Application “Crash” when Run Test Suite.(Android)

on Running Test Suite(with 20-30 test cases) on Emulator time application crashed after run 6-7 test cases,its working when we execute on physical device.but we have to work with emulator,we are using ...
0
votes
0answers
284 views

How do I automate/handle calendar/date picker in Android using Appium?

I want to select dynamic date passed like as input '03 Nov 1965' Id for Calendar Icon: driver.findElementById("package_name:id/btn_basic_info_date_picker").click(); Id for Year: driver....
0
votes
0answers
107 views

When i run my appium code during run time i am getting this error “Exception in thread ”main“ java.lang.NoClassDefFoundError”?

I have written a code to launch my app and click on the element, the app is launching but after launching when it is trying to click, I am getting an error which I am not able to understand why. ...
0
votes
0answers
130 views

How to fix DesiredCapabilities error in java appium?

I am getting this error "The type org.openqa.selenium.remote.DesiredCapabilities cannot be resolved. It is indirectly referenced from required .class files" when I compile and run the program. when ...
0
votes
0answers
29 views

Why does my appium server skip my second emulator on parallel test

I have done the following: Start Selenium Grid Started 2 emulator; Started appium servers for both using appium -p --nodeconfig /absolute/path/.json Ran my script: DesiredCapabilities cap = new ...
0
votes
0answers
37 views

Getting this error when i run my java appium script

When I save and run the code the compiler is showing error with respect to DesiredCapabilities I thought I might have made an error while importing the jar so I uninstalled everything and installed it ...
0
votes
0answers
37 views

Full control option not available in adding ios device to appium studio

"Full control option" is not visible while adding ios(iphone) device from appium studio. Tried this in Appium studio community version. How to view that option ?
0
votes
0answers
60 views

Appium inspector can't locate iOS element

I'm trying to find and scroll to all category headers on a long menu list of categories, but Appium is not finding these iOS elements. When I first open the menu, whatever category headers that are ...
0
votes
0answers
62 views

Appium-Safari Real Device- unable to lauch url

Sending request to: http://localhost:27753/json [iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that ...
0
votes
0answers
20 views

Do you enable stay awake while charging when you run android appium automation?

Do you enable stay awake while charging when you run android appium automation? What is the pros and cons of doing this? How does this affect the automation tests? Thanks.
0
votes
0answers
119 views

Not able to scroll to specific element in Msite - Chrome browser - Appium

I have implemented scroll in mobile device with appium. Whenever I am scrolling to some element it is not scrolling properly. Tried with fixed scroll points as well. Here problem is I have small , ...
0
votes
0answers
807 views

Is there an efficient way to handle datepicker in android app using Appium?

I'm automating an android app using Appium where i have automated a datepicker functionality as shown in virtual device I'm using for. But the issue in different devices/version the datepicker view is ...
0
votes
0answers
2k views

Android + Appium : How to select date/value from datePicker or NumberPicker?

How to handle NumberPicker or DatePicker using Appium? I am not able to select value. If you use Xpath its also not working :( How to select date/value from datePicker or NumberPicker?