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

learn more… | top users | synonyms

0
votes
1answer
35 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
117 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
292 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
28 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
704 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 ...
1
vote
1answer
82 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 ...
0
votes
4answers
103 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
41 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
133 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
112 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
51 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
348 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
112 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
94 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
99 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
178 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
0
votes
0answers
16 views

Testing in other languages on an Android device with cellular capabilities

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 ...
2
votes
1answer
97 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
152 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
116 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
124 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
763 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
49 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?
0
votes
1answer
32 views
0
votes
0answers
54 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
250 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
80 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
121 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
98 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
54 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
353 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
899 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
152 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
233 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
232 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
299 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. ...
2
votes
1answer
431 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 ...
2
votes
0answers
174 views

Using MonkeyTalk to test android app, the record button stays disabled

I am unable to record in MonkeyTalk, the record button stays disabled I took the following steps: Created a sample android project in eclipse Created libs folder in the android project and copied ...
0
votes
1answer
141 views

Android / Java Unit-Testing Clarification

While looking up for unit testing for Android applications, I came across a lot of voices over how it is difficult to test-unit an Android app. For example: Dependency issue - why is this a problem ...
1
vote
1answer
42 views

Testing mobile apps on power users' device

Some applications are resource intensive, example using location, accelerator, web services and running constantly in the background. Such apps tend to behave differently on test devices that are ...
1
vote
1answer
277 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; ...
4
votes
3answers
329 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 ...