Newest appium Questions

Q&A for professional and enthusiast programmers

appium 1.6 sendKeys to EditText Failed

I am writing some java code using java - client of the appium. I successfully enter the page for inputting the text, however, after getting into the page, the input field are not responding. Here is ...

Appium: Is automatic testing datepicker on the mobile without clicking possible?

I am writing a program to automatic testing the datepicker within the mobile. The field is set as normal input with type=date in my dome. I find that after installing into different device, there may ...

How to stop appium from clearing the Android app data?

I am getting this issue after upgrading my appium version to 1.6.3 . Whenever I use driver.launchApp(); command, it clears the app data, due to this I am not able to execute the next tese cases. I ...

Error:W3CHttpCommandCodec.java: Lambda coming from jar file need their interfaces on the classpath to be compiled

Build.gradle android { compileSdkVersion 25 buildToolsVersion "25.0.2" defaultConfig { applicationId "com.example.andeb.appiumproject" minSdkVersion 15 targetSdkVersion 25 versionCode ...

Geb giving org.openqa.selenium.InvalidSelectorException:

I have updated geb core to compile "org.gebish:geb-core:0.10.0" from that time I am getting below error org.openqa.selenium.InvalidSelectorException: Locator Strategy 'css selector' is not supported ...

Robot Framework + Appium + Perfecto

I'm trying to integrate Perfecto Mobile with Robot Framework, unfortunately i haven't been successful. Does anyone have experience with this? Thanks!

How to preserve appium session between test cases using Robot Framework

I'm using Robot Framework 3.0 with Appium Library on iOS devices/simulator. I have noticed that for execution of every test cases, there is a need to launch application. I understand the reason as web ...

Appium (1.6.3) stop sending command to android device

While running serenity project, appium stop sending command to android device after some time with this log repeated “[HTTP] <-- POST /wd/hub/session - - ms - -”. How can I restart appium instance ...

Unable to run appium tests on Android 7.0

I have problem with running tests on Android 7.0 real device (Nexus 6) Appium version: 1.6.3 OS: Windows 10 Language: Java Java client: 4.1.2 What's interesting, when I plug in any Android 6 device (...

Appium: Cannot select button within datepicker in android

I am doing a testing using appium on an android mobile app. My android version is 5.1. The date-picker has a SET button used for confirming the date setting with a xpath:- //android.widget....

How to clear iphone 10.2.1 native app caches from mac terminal?

How to clear iPhone 10.2.1 native app caches from mac terminal?? I can not clear ios native app caches, I have searched but third party tools only available, Is there any way to clear native app ...

Permission to Start Activity denied

I'm trying to run my test via Appium's server but getting the error: Permission to start activity denied I'm actually trying to run Chrome app(without providing the APK. the app is already installed ...

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

I'm tring to lunch 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 ...

Google map not working in android app via appium + selenium (Java)

SO I have an Android app which has Google maps implemented in it. While running the app via appium map is never loaded and the screens loads forever. Manually it works fine.

Appium kills the simulator

I am working on an app that is built on xcode 8. Hence I have installed appium 1.6.3 and I launch appium server from Command promt. I use appium 1.5 to inspect elements. However, after launching the ...

Tapping on maps coordinates in Appium android

I'm automating an UI testing with Appium for android and I need to test some user inputs through a map. The map is a normal google map view, integrated in my app, and I need to press for 1 second on ...

Failed to start an Appium session, err was: Error: Command failed:

I used windows and Eclips. Bellow class I have Written for the Test : public class TestApp { AppiumDriver driver; @Test public void testapp() throws MalformedURLException, ...

Why both Email and Password are getting entered in same field for android facebook native app login using Appium selenium webdriver Java [duplicate]

I am trying to do login on native Android Facebook app using Appium with Selenium Webdriver Java. But email and password are getting entered in same field (email field) due to which I am unable to do ...

Appium with Python - setup class for webdriver

Programing is a new thing for me and probably I am missing something obvious. I would like to create a separate file and class for setup my webdriver for Appium tests, but I got errors like: in ...

Appium - Chromedriver: Error: Could not proxy command to remote server Original error: 401 in windows

As in the title, after setting the capabilities, I already get this error. Notes that it is when I am trying to switch to the webview. Here is the code after setting capabilities: private ...

Selenium/Appium find drawable end of EditText in Android app

We are automating our android project with Selenium and Appium. In one of the test cases we should click an icon that is wrapped inside of an EditText. It is the DrawableEnd property of the EditText ...

does appium supports the windows desktop app(which is developed in QT) automation

I'm facing no such element exception, even though I have provided the valid element property i.e. name. Does Appium supports the windows app which is developed in QT? [TestClass] public ...

Unable to select gallery image using appium

I have been trying since long to click on the image from gallery but my driver just executes the code but nothing happens on the screen and than it fails while locating element on next page. ...

A new session could not be created Original error:com.xxx.xxx/ view.activity.ActivityStart never started

When I run the basic appium code app launched properly but i got below Error. Application is loaded properly but test is getting failed. org.openqa.selenium.SessionNotCreatedException: A new session ...

Appium UI Automator Viewer

I can capture one screen of an app(Whatsapp) on UI Automator. System Shows:- Error while parsing UI hierarchy XML file: Invalid ui automator hierarchy file. Error while parsing UI hierarchy XML file: ...

How to arrive at one unified test framework which will run tests on all presentation layers - Web,Mobile App & desktop App

Problem Statement: Being in Test Automation arena for quite some time, I always ran into this puzzle of how to design one integrated Test Strategy to run automated scripts across all the 3 UI layers ...

Bash script - Executes second cucumber command prior to first scenario ending

I have a bash script within a Jenkins job. The script reads a file which has cucumber commands inside of it and then is supposed to execute each command sequentially. This is the code: file=./...

On Running Appium script showing error : A new session could not be created

Log Flie Attached info: --> POST /wd/hub/session {"desiredCapabilities":{"appActivity":"com.google.android.launcher.GEL","appPackage":"com.google.android.googlequicksearchbox","platformName":"...

Unable to execute events in separate class

**Here are the classes i am using.** Actions used here in homepage class is not working. i call this class after setup class. public class HomePage { AndroidDriver driver; ...

How to scroll in the webview Android device using Appium to find the matching text?

As the swipe methods are deprecated from version 5.0 onwards in the latest Appium client library. Could someone pl provide solutions. The below piece of code is working partially. Dimension ...

Is there a way to convert a .ipa file to a ionic project? [on hold]

im trying to take an app downloaded from iTunes and make some automated tests in it. Im using ionic cordova and Appium to do the testing, but in order to use the app i have to "convert it" to an ionic ...

Automate drag drop using appiumlibrary

I'm in a need to develop robot scripts in such a way that they are compatible with Selenium2Library and AppiumLibrary. Now, I have a situation where I need to automate drag drop event into SVG plane ...

Appium automation on Xioami Redmi

I have an Android device, Xioami Redmi Note 4G. I tried to run a calculator on that, but my script stops after displaying the calculator home screen. I even tried to test the WhatsApp application on ...

Genymotion device name

I'm creating some automated web mobile app tests , using appium with Java. And I'm using genymotion emulator. I'm setting some capabilities, like DesiredCapabilities cap = new DesiredCapabilities(); ...

How to obtain Bundle ID for an IOS App when I have a '.ipa' file for the app installed on my iPAD

I am trying to automate a test on my ipad which has my app installed on it. I am using Appium for automating the app. It's asking me to enter a bundle ID of the App that needs to be tested. Could ...

Appium: Camera issue on Nexus 5 and Pixel Phone

My code (to test the camera functionality in the app) ((AndroidDriver) driver).pressKeyCode(27); or ((AndroidDriver) driver).pressKeyCode(AndroidKeyCode.KEYCODE_CAMERA); doesn't work to take a ...

How to click device back button using Selenium, android and C#

I am presently running an automation script, I want to click on the device back button, though I have used this snippet driver.Navigation().back() previously that worked for clicking app back button. ...

is it possible to run automation tests on Cordova app running < Android 4.4

I have automation tests that work fine with version number greater than 4.4 but version less than 4.4 the tests do not work at all, i think this is because of the different webView. Any ideas how I ...

Appium find xpath for swiping down apps

I need to write xpath for android app, which needs to be swiped down to get the element visible. And i'm looking to get xpath count by matching more elements. In this case how can i use uiautomator ...

Appium + saucelabs integration (JAVA) error

I have some troubles to connect with saucelabs. When I've tried to connect it, it shows me an error: Parameters were incorrect. We wanted {"required":["desiredCapabilities"],"optional":["...

javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake Support

I am trying automate android app in mac using appium (ver.1.5.3). i am getting below mentioned error. Please help. WebDriverException: javax.net.ssl.SSLHandshakeException: Remote host closed ...

Appium - When do we use touch action? Could I have actual example for inputing text with it?

I would like to ask when do we use touch action in Appium. I also want to ask: could we use touch action to tap/press the android.widget.EditText element and sendKeys to it. Could I have an workable ...

Appium Robot framework, Could't open browser on device emulator

I have integrated Robot framework with Appium. Installed the SDK Started the Appium server And below is the code I am using: *** Settings *** Library AppiumLibrary ...

error:The given path's format is not supported

What am I doing wrong? My major problem is that I'm getting an error says: error : The given path's format is not supported I would like to save the file within the project itself under a folder I ...

Failure trying to start appium driver with selenium grid

I'm trying to run tests in real iOS devices in parallel using Appium with Selenium Grid. Currently I'm able to create the Hub, instantiate the Nodes and make Appium connected to each respective Node (...

UiAUtomator shut down unexpectedly while running test with appium 1.6.3

lately been having this error while running lengthy test. [main] ERROR net.serenitybdd.core.Serenity - An unknown server-side error occurred while processing the command. Original error: ...

Not able to do login into Linkedin native app with appium

I want to do login with linkedin app using appium . Below is the code : driver.findElement(By.id("session_keyoauth2SAuthorizeForm")).sendKeys("testmail@gmail.com"); driver.findElement(By.id("...
Translating... 0%