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

learn more… | top users | synonyms

3
votes
4answers
1k 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: ...
1
vote
0answers
16 views

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

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 ...
2
votes
1answer
75 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
37 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
640 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
2answers
51 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
1answer
39 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 ...
1
vote
3answers
70 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?
1
vote
1answer
639 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
542 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
969 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
47 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
30 views
0
votes
0answers
26 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. ...
0
votes
3answers
35 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
1answer
86 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 ...
2
votes
2answers
970 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 ...
1
vote
3answers
61 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
86 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
66 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
53 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
270 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
572 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
98 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 ...
0
votes
3answers
76 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
2answers
6k 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
156 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 = ...
0
votes
2answers
223 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. ...
1
vote
1answer
256 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
325 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
144 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
139 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
40 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
237 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
300 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 ...
1
vote
1answer
282 views

Connect selendroid with Genymotion

I have been working using selendroid to test android app. Code is running fine but thing is default android virtual devices are too slow. So I would like to call genymotion virtual device instead of ...
0
votes
1answer
42 views

Evolution of Android testing methods [closed]

I'm doing a research on Android testing methods and their evolution in time. Could someone point me in the right direction (recent articles, books) I'm finding a lot of material surfing blindly but ...
0
votes
0answers
392 views

Selendroid: Unable to launch selendroid.shows following error

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
0answers
1k 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; ...
1
vote
2answers
98 views

How to post a Utest project?

We have an android app that we have to do a little bit of usability testing/beta testing.All I have found about Utest.com is you can sign up and work on projects, but I was unable to find how to post ...
0
votes
0answers
150 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
5
votes
4answers
5k views

Experiences with automation of hybrid mobile apps

I am looking into the UI test automation options for hybrid apps (Cordova PhoneGap) on both iOS and Android. So far I still struggle with finding any decent tool. I may consider proprietary product ...
4
votes
2answers
980 views

Running automated tests for Unity apps on iOS/Android devices?

I want to run automated tests for a game that I am developing with Unity. It runs on iOS and Android devices. As a first step we would like to Launch the game on device type X If the game loaded on ...
2
votes
1answer
322 views

How does one measure pixel width on mobile devices?

I have a question about running fit and finish testing on mobile devices. For checking designs, the test usually involves measuring the pixel width of on-screen elements for webpages or native apps on ...
3
votes
2answers
434 views

Load testing web service with SoapUI to confirm android app's slowness

The AUT is on Android platform which has experienced slowness or long time loading a section's contents (more than 17s). I can notice the app only has long time loading the first time I enter that ...
0
votes
1answer
307 views

Want to learn Selendroid

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 ...
1
vote
3answers
189 views

Authentic Testing of Mobile Website

I'm currently on a project in which we've set up a test infrastructure for automated regression testing of the customer's website (that is, the desktop and mobile versions thereof). My question ...
0
votes
1answer
73 views

Android JUnit With Varying Network Conditions

I have written a suite of tests for our company's Android app using Android JUnit and Robotium. I have written a Utility that can enable and disable networking for a device. My Question is: "Is ...
1
vote
1answer
206 views

How priority of Push Notifications is decided in Android or iOS apps? [closed]

Suppose user has received around 5 notifications for the same app in Notification center/status bar and user tap any of the notification from notification center/status bar without viewing it then: ...