For questions related to testing Google's Android operating system.

learn more… | top users | synonyms

0
votes
0answers
16 views

Exception in thread “main” java.lang.NoSuchMethodError: org.openqa.selenium.WebDriverException.addInfo(Ljava/lang/String;Ljava/lang/String;)V

Here is my script to book the bus. In the procedure of process i am not able to select the seat of the bus, as it is an CANVAS element. So i am using the "action.tap(element, x, y).perform();". I am ...
1
vote
1answer
108 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 ...
1
vote
3answers
443 views

How to resolve - “adb server version (32) doesn't match this client (36); killing…”

I executed cmd adb devices from terminal but instead of getting list of connected devices, I observed below error: List of devices attached adb server version (32) doesn't match this client (36); ...
6
votes
3answers
579 views

How do I determine which Android devices to test on so that I get the best coverage?

Android platform is famous for it's saturation and variety. Even if I test my app on 6 different devices (low-end, high-end, gingerbread, honeycomb, ICS, small display, large display, vanilla android, ...
0
votes
0answers
491 views

Selendroid: Unable to launch selendroid & Observed “SessionNotCreatedException”

I have tried to start selenium using following code to relevant path on cmd prompt: java -jar selendroid-standalone-0.14.0-with-dependencies.jar -app selendroid-test-app-0.14.0.apk but i am ...
1
vote
2answers
23 views

Is there any difference in versions of Chrome across Android OS versions?

In checking Google Analytics to get develop a browser support list for my site, I'm finding that almost all (see below) Android versions are using the same version of Chrome (at the time of this ...
1
vote
2answers
57 views

How to install an app in the Android SDK emulator

I am working on android automation testing. I need to install some .apk files in an emulator. So I have a few questions like: Where should I get the .apk file? How do I install the .apk file?
3
votes
2answers
2k 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
34 views

Internationalization and localization Testing: How to test app on Android which do not have that particular language support

I feel like I'm chasing my tail on this one, but I need to be able to test in languages not listed under Settings > Language & Input > Language. I've spoken with Samsung & Motorola and they ...
0
votes
1answer
48 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 ...
2
votes
1answer
120 views

Android App api testing with mock

Currently, I ran into a situation where we are having constant Backend/API issues and because of the same, I can't continue with the testing. I was wondering if it is somehow possible to use a server ...
0
votes
1answer
367 views

Unable to record Android native app requests in jmeter

I have followed the steps given in article http://www.testingdiaries.com/mobile-performance-testing-record-script-jmeter/ I set manual proxy in phone and started the recorder but none of my requests ...
1
vote
1answer
32 views

How do I continuously stream Logcat data from a usb connected device to a file on PC until I decide to disconnect or stop testing?

I used to use the the GUI version of logcat via DDMS for getting Adb logcat info from Android Studio (or monitor.exe from SDK tools), but found it too distracting while trying to test. I would have ...
2
votes
1answer
707 views

Running Selenium webdriver scripts in android device (Samsung galaxy tab)-Portrait mode

I have been stuck in an issue while running selenium webdriver script in android device -Portrait mode. Script is running successfully in landscape mode but when we run the same script in android ...
0
votes
4answers
108 views

Automated testing for mobile applications

I am looking for an application like selenium but for mobile devices such as android/IOS would anyone have any applications that would suit this description?
3
votes
4answers
2k 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....
0
votes
4answers
44 views

Measure resource intensive actions in a mobile application

While testing a new mobile application we were tasked to analyse performance. We already did some load testing at the backend. However, now we would like to see which API calls take the longest to ...
1
vote
6answers
162 views

Tools for mobile web services, rest api testing

I am looking for some tools for testing the background rest API and web services for mobile application based on android as well as iPhone.
0
votes
4answers
2k views

What are 'MUST' test cases to test Push Notification for Android app?

I am testing Android app which has Push Notification functionality. Could anybody tell what are those test cases that must be tested for Push Notifications? Android does NOT have Notification Center ...
1
vote
1answer
116 views

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

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

how to test Android appplication in LoadRunner?

I am using Load Runner for Calculating Response time on Web pages. Now, i am planning to test Android applications through Load Runner. I have tried by using TruClient but i cant connect to Server ...
0
votes
1answer
352 views

How do I setup and learn the use of Selendroid for Android testing

I am a manual tester with knowledge in selenium webdriver but as I see that selendriod came in for mobile app testing. My question is What would be the best place from where anyone can learn ...
4
votes
1answer
25 views

Instrumented testing of Android Widget fails

When I try to run my Android instrumented on Google Cloud Platform I get the error "Your test artifact is not an android artifact!". My app is a Widget and I wonder if that's the reason? It works ...
0
votes
2answers
120 views

Any open source tool for recording android mobile user interaction with playback like selenium IDE for web?

I am looking for a tool to automate a few steps in android mobile on UI level like enable Mobile data/wifi, Download an app from play store, Sign in to google account, Download an apk using mobile ...
2
votes
3answers
2k 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
2answers
95 views

How to Force a server error on Android / Iphone platform?

So my question is somewhat simple. I want to test 2 things Error logging Server error page For the web platform it's somewhat easy to do using fiddler or Charles (I'm sure there are plenty other ...
1
vote
2answers
101 views

What language is required when learning Selendroid?

I want to learn Selendroid. I do not know what language I need to know before starting with selendroid. I know selenium using Java. For selendroid, do I have to learn android?
0
votes
0answers
181 views

Selendroid: Camera click Element ID

I want to know what is the capture button element id in the view finder of the camera in slendroid. I am not able to inspect it
2
votes
1answer
107 views

how to compare my app battery usage to other apps usage?

I have built a navigation app (android and iOS) I want to automatically\manually test its battery consumption while navigating from A to B. And compare it to the battery consumption of external apps ...
0
votes
0answers
185 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 ...
2
votes
2answers
141 views

How can I get the android window size using Java as programming language? [closed]

How to detect the screen size for different android phones? I want the coordinate values like startx, starty, endx, endy. With that I can use the swipe method which takes these coordinates as ...
0
votes
1answer
164 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
777 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 ...
1
vote
6answers
2k views

Test suite, Test plan, Test cases for Android application

I have been asked to learn about Test Plan, Test Suite, Black Box Testing, Test Cases. Can anyone guide me in which order should I start learning? And also what are the necessary test cases for ...
2
votes
2answers
1k 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 ...
0
votes
1answer
32 views
0
votes
0answers
57 views

what is the advantage of using roboectric for android UT over espresso?

I'm new to android testing. I have read espresso is more UI based framework and robolectric is a UT framework. I want to add UT to existing android project with espresso framework in use already. ...
1
vote
1answer
294 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 ...
1
vote
3answers
85 views

Android Quality Assurance Tool for Android

As a part of my class project I need to implement UI testing and QA testing on my sample android app which I have developed in Eclipse a while ago. I am thinking to run the Robotium as part of UI ...
3
votes
2answers
127 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
106 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 ...
0
votes
2answers
55 views

how to develop testing tool for android?

I am very new to mobile testing. I do not have any knowledge of creating test tool for mobile application. I want to create a test tool for Android 2.3 and above. Can anyone describe how to make ...
0
votes
2answers
398 views

Define different cases of Android test cases and ios test cases in same application

I have to write first time ios app test cases. I don't understand the different cases between android application and ios application of the same application. I know functionality-wise both are the ...
3
votes
2answers
967 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 ...
0
votes
0answers
157 views

Selendroid Selenium grid android test couldn't find element

Is it possible to do a parallel test of android native apps with Selendroid and Selenium Grid? If yes, kindly give a code snippet. I am trying to run a test on 2 android devices. Though, being in the ...
3
votes
2answers
9k 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.
1
vote
2answers
246 views

Ideas of load testing Android Push server side application

We are building server side GCM and ApplePush application. And I need any ideas on how to perform load testing of our server against GCM and real devices. Sure, I can get 10 or 20 android phones and ...
0
votes
4answers
2k views

Robotium How to click or enter or select a file in Downloads folder on android device to open options

Robotium How to click or enter or select a file in Downloads folder on android device to open options as (Gallery, Image Gallery, Photos, ...) Here is my code: String filepath = "/Downloads/"...
0
votes
2answers
234 views

Looking for an online mobile testing service [closed]

I had come across an online Mobile App testing service that offered their services for $10/hour a few days back. I am now searching all over the internet and can't recollect what their name was. ...
2
votes
1answer
304 views

how to run monkeytalk recorded scripts in multiple times?

We are using eclipse luna 4.4.1, adb is installed on linux system to test android app. I have recorded a monkeytalk script. So my question is how to run that monkeytalk recorded script in 500 times. ...