All Questions

Tagged with
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. ...
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 ...
0
votes
1answer
335 views

When I run my appium script I am getting error “TypeError [ERR_INVALID_ARG_TYPE]”which I am not able to understand

I wrote a script to automate my app using appium with java-script(nodejs), but when I run it I am getting error. This is the code which I have written. var webdriverio = require('webdriverio'); var ...
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
1answer
843 views

How can i write automation code in appium to test facebook login by mobile app? [closed]

I have an Android mobile app. which provides facility to login in this app using Facebook but while automating this page, I'm not able to tap continue button which comes after entering username and ...
0
votes
4answers
4k views

how to scroll layout in appium?

I have below code : MobileElement mb = (MobileElement)configuration.driver.findElement(By.className("android.widget.ScrollView")); JavascriptExecutor js = (JavascriptExecutor)configuration.driver; ...
1
vote
2answers
5k views

Showing error - “Returned value cannot be converted to WebElement: {ELEMENT=1} ” in appium using java

I have below configurations : Javaclient : java-client-5.0.2 Selenium : 3.0.1 Java : 144 Appium v1.4.16 This is my code : package com.metatag.poc; import io.appium.java_client....
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 ...
3
votes
2answers
1k views

How to create android Emulator using command line

I have done it using Android studio On android professional site commands are not clearly mentioned There is lot of confusion Below is the following command: android create avd -n -t --skin ...
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.
0
votes
1answer
1k views

Unable to press and move slider to desired position in a React Native android app using appium

I am using TouchActions class in Appium to press and move the slider to a specified position.The problem that I am facing is that on some pages the slider works fine and I'm able to initiate touch ...
0
votes
1answer
2k views

How to scroll in an Android app with Appium 1.6.4 in C# with windows?

I am trying to scroll in an Android App but I'm getting an error. Code : Dictionary<string, string> scrollObject = new Dictionary<string, string>(); scrollObject.Add("direction", "down"...
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
4answers
420 views

Why does element.displayed? throws exception instead of boolean false?

Here's snippet of my code while (!$driver.find_element(:xpath,element2).displayed?) $driver.find_element(:xpath,element1).click() end for some reason element.displayed? throws this exception: ...
0
votes
1answer
262 views

How to auto scroll Appium Server Console log at bottom

Problem : I used to view/analyze Appium server Console logs during any test cases execution. But the problem is Appium server console always Auto scroll to top which result hiding latest logs. I have ...
1
vote
2answers
5k views

Appium is get an error “unable to create new remote session”

I'm Working in appium. previously, my code doesn't work in above 5.o WheN I changed its working fine. android version. driver = new AndroidDriver(new URL("http://192.168.1.2:4723/wd/hub"), ...
0
votes
1answer
1k views

Left or Right swipe not working in appium for android application

I'm trying to swipe right to left from the first content(there is no content at left hand side) or Left to Right So far I'm using below, but it's not working. public void swipeRightToLeft() { ...
1
vote
1answer
333 views

How to long press on android record button(during chat) for a particular time duration in appium test, by java

How to long press on android record button(during chat) for a particular time duration in appium test, by java. I have tried 3 ways but all are not working, those are: Way 1: By pressRecBtn = By.id(...
0
votes
1answer
460 views

Different context name for webview in Hybrid Android App test through Appium

While testing Hybrid android app in Appium, a change of context from NATIVE to WEBVIEW is expected. But, the name of the WEBVIEW context does not remain same at all instance of testing. However, it is ...
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 = ...
1
vote
1answer
306 views

Appium: Cannot use Inspector to record GUI steps of Android app on Windows 7

I'm trying to use Appium inspector for recording manual GUI steps. But, I'm not even getting the option like record or anything else when I start inspector. Note: I'm capable of inspecting the ...
2
votes
5answers
867 views

Appium: Same code is working Sometimes and failing Sometimes

I'm using the following code to run a simple test. The same code is working sometimes and returning error sometimes. The error it will return is "Not able to find UI Element". This is my code: ...
0
votes
2answers
338 views

Device emulator-5554 is not online - while executing my appium code on android emulator

[Error: An unknown server-side error occurred while processing the command. (Original error: unknown error: Device emulator-5554 is not online Im getting above error when at the middle of the test ...
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
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 ...
0
votes
1answer
307 views

Switching to webview fail in Android on Mac OS

I have a problem while switching from native view to webview in Android while testing on MAC OS. But the same scripts works fine in windows. In Mac it gives chrome not reachable as a webdriver ...
0
votes
1answer
46 views

Will android 5.0.1 sdk package work for android 5.0.4? [closed]

I have Android 5.0.4, so which Android SDK package do I need to Install? There are two Options available in Android SDK Manager ANDROID 5.1.1 ANDROID 5.0.1 My Device : 5.0.4
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?
1
vote
1answer
623 views

Switching to Webview context fails

I was trying to automate tests for a hybrid app, while switching, it only shows name native context. WebView Context is shown as webview_undefined. Set<String> contextNames = driver....
1
vote
1answer
1k views

How to open messaging app during one android app test case is running to fetch otp

How do I open messaging app when test case is running for any other app. Need to fetch OTP from messaging app during a test case is running for my android app. I have tried to create new instance ...
5
votes
1answer
315 views

Suggest some Android and iPhone mobile app automation tools [closed]

Please suggest me some tools for Android and iPhone app automation testing. I have searched some, like - Appium, Calabash, MonkeyTalk, Selendroid, Robotium, etc. I am confused to choose any one from ...
3
votes
2answers
3k views

Automation Java - Android - How to get items from a ListView?

I'm trying to get the items from a ListView so I can compare them with of expected results. The thing is that I can't figure out how to get those Elements. I'm also the developer of the App, so I'm ...
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 ...
0
votes
1answer
2k views

How to swipe specific element using appium?

I have list of elements of specific type, I want to swipe one of this element right or left, How i can do this using appium ? I know i can use driver.Swipe(); to swipe in appium but how to use to ...
1
vote
1answer
1k views

Can Appium be used to test code coverage with Jococo for android?

Is it possible to get code coverage of my android app using jococo and appium? From what I understand, Appium takes the built apk and uses that for running the tests. So, is there any way around this ...
3
votes
2answers
237 views

How do you handle your automation deadlines if Appium/iOS/Android versions keeps updating and these updates have issues?

How do you handle your automation deadlines if Appium/iOS/Android versions keeps updating and these updates have issues? Do you test with the old versions for your deadlines or test with the updated ...
1
vote
1answer
548 views

Unable to perform the actions on already installed app in android

I am trying to execute code as shown below. But the error prompted is [org.openqa.selenium.SessionNotCreatedException:]A new session could not be created. (No app set; either start appium with --app ...
4
votes
3answers
4k views

Android Studio and Appium

I am trying to learn Appium for a new project. I read through the manuals and the official documentation and I have one question. Most of the tutorials seem to focus on Eclipse + Android SDK +Appium....
3
votes
5answers
4k views

How to locate or write Xpath for an element of an Hybrid app which has only class and no other attribute

I am new to mobile automation and Appium and unable to find a way to get xpath or locate an element, getting following node details in uiautomatorviewer: index:0 text: resourceid: class: android.view....
2
votes
1answer
986 views

Is it possible to use Appium to install a second APK?

First a little disclaimer, I'm not an automator, but I'm trying to learn. I'm trying to maintain code that someone else wrote. We are using Appium capabilities to launch the APK under test on an ...
1
vote
1answer
483 views

Error when installing appium through npm in ubuntu

I've been trying to set up appium to run android tests in an ubuntu machine. Here what i did so far: Set up JRE and JDK (and set system variables); Installed node.js/npm without using sudo; Installed ...
3
votes
2answers
2k views

Hybrid app automation using appium with selenium

I trying to automate a hybrid app using the appium-selenium setup. I facing problem in getting the object properties. I am using ui automator to identify elements but it is unable to do the job. It ...
2
votes
4answers
3k views

Android App testing with appium

I am testing android app using appium. Everything is working fine but I want to know as tester that how can I get below parameters of APK : 1 - app-package 2 - app-activity If you are using appium ...
3
votes
2answers
4k views

Not able to click on deivce Menu button using appium in android

I am working on automation of mobile native app using Appium in Java language. I want to click on device Menu button. Method 1: JavascriptExecutor js = (JavascriptExecutor) driver; js....
1
vote
1answer
1k views

Is it possible to use Selenium's RemoteWebDriver and Appium's AppiumDriver in parallel?

I tried asking this on StackOverflow but unfortunately I couldn't find a solution to this there. Then I learned about SQA StackExchange so I thought I'd try here too. I'm trying to write some test ...
4
votes
2answers
418 views

Mobile application testing

I am new to "Mobile application testing" and I googled and got appium and selandroid. I want to learn mobile application testing and I have experience selenium webdriver with java. Queries are: I ...
3
votes
2answers
18k views

Setup appium for Android on Mac osx 10.8.5

I am new to mobile testing. I want to configure appium for testing android applicaiton on Mac machine. Can someone provide the steps to do. And I want to using with selenium webdriver using Java.