Questions tagged [android]
For questions related to testing Google's Android operating system.
181
questions
11
votes
5
answers
2k
views
Android application testing
I have been working as Android developer and been presenting about Android testing with the main SDK tooling, Robotium and Robolectric and running builds on Hudson. It looks like there is a lot of ...
9
votes
1
answer
1k
views
Continuous Integration and testing environment and configuration for Android
I am an Android developer but I am not satisfied with my testing and Continuous Integration environment and configuration.
Someone could recommend me how to configure the best setup and workflow for ...
8
votes
3
answers
6k
views
Appium vs. AndroidDriver + IPhoneDriver in Mobile Automation Tests
I have been writing Selenium Browser automated tests and now I would like to begin writing mobile browser automated tests for Android and IPhone. I am deciding between the Appium framework and the ...
7
votes
2
answers
6k
views
How to test a location based application
Our application is location based. We have tested its main functionality, (using mock locations) and now it is time to test how it reacts on real cases using GPS.
So, what are the main limitations ...
7
votes
0
answers
286
views
Why session is not created in Bot-Bot? [closed]
I'm using Bot-Bot, Android automation testing tool with record and replay features.
I was able to start a server, record and play sample APK accompanied by a bot.
Now I need to test my own APK, so I ...
6
votes
7
answers
108k
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
1
answer
384
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 ...
6
votes
2
answers
689
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 ...
6
votes
3
answers
734
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, ...
6
votes
6
answers
25k
views
Unable to launch uiautomator in mac terminal
I am unable to launch uiautomator through mac terminal. I get the below error when I typed Android or Uiautomator in the terminal, or click uiautomator from tool folder.
ERROR
Djava.ext.dirs=/Users/...
6
votes
4
answers
8k
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 (...
5
votes
3
answers
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....
5
votes
2
answers
1k
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 ...
5
votes
4
answers
5k
views
Can't find the element of a toast message because it disappears immediately
I am trying to add an assertion on the shown toast message in my scenario, Is there a way to stop the screen to find the element of a toast message?
4
votes
5
answers
386
views
How does one set up a Private By-Invite Beta Site for Android Apps?
We're working on an Android game (a port) for a professional game studio. We have internal QA who've done a great job testing the app on multiple devices but we'd still like to expand feedback more ...
4
votes
6
answers
344
views
Mobile app security testing
I am trying to analyze on "what could be done from testing point of view" for testing a mobile app for (ios & Android) on "Application Security level". Here are the points that I wish to consider ...
4
votes
2
answers
210
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 ...
4
votes
1
answer
8k
views
How to always allow access to phone data automatically for USB connection of Android 8? [closed]
I have a testing mobile device Galaxy J5 Prime with Android version 8.0.0 and Samsung Experience version 9.0
I often have to plug in and plug out this device through USB connection and every time I ...
4
votes
7
answers
2k
views
Testing an Android App on different phone models and Android versions
I have an Android app. Occasionally, some user reports an issue that is reproducible only on their particular phone/OS version combination. I cannot possibly get all phone models to try and reproduce ...
4
votes
2
answers
255
views
What the most efficient way of testing cross platform (i.e. iOS and Android) applications?
I work on several projects were the client wants basically the same application implemented in both iOS and Android. At the end of the day, you have to test both - they are distinct pieces of software,...
4
votes
3
answers
2k
views
ADB command prompt pops up new CMD and doesn't shows me results of ADB commands
Suddenly this began to happen after a windows update (Windows 10).
Every time I execute an ADB command for example, ADB devices the CMD pops up a new CMD window like for 2 seconds then closes up and ...
4
votes
1
answer
30k
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"...
4
votes
2
answers
2k
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 ...
4
votes
2
answers
286
views
GUI Automation testing framework for android games
Is there any test framework which supports android games? I have used UiAutomator2.0 for GUI automation test, but for some games, it is unable to capture screen.
4
votes
2
answers
449
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 ...
4
votes
1
answer
1k
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 ...
4
votes
1
answer
3k
views
uiautomatorviewer not running on Mac Big Sur
I'm trying to run uiautomatorviewer on Big Sur and I'm getting this error
java.lang.NullPointerException
at org.eclipse.swt.widgets.Control.internal_new_GC(Unknown Source)
at org.eclipse.swt....
4
votes
0
answers
243
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 ...
3
votes
9
answers
23k
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 ...
3
votes
5
answers
2k
views
how to test mobile application which uses wifi connection?
I need to test the application, which was working based on the WiFi signal strength.
Is there any application/automation tool to randomize my WiFi signal and check for applications functionality, my ...
3
votes
5
answers
5k
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
6
answers
215
views
how do i make the case to management for QA to get a new android for testing the mobile platform?
Right now we only have the Sprint HTC Hero and I feel there is a need for a more recent model of android for QA testing our mobile platform. So, how do I make the case to management for QA to get a ...
3
votes
2
answers
1k
views
Andriod Selenium testing by Python - connecting problem
I'm trying to get the Selenium Android client to run in my emulator:
Install SDK
Run emulator
Install android-server-2.0rc1.apk in the emulator and devices
Forward the port by adb forward tcp:8080 ...
3
votes
2
answers
786
views
Nested explicit wait does not work in Appium
For example, I'm sending a message. While it's being sent to the recipient it has the resource-id "pending_indicator". When it is delivered, it has the resource-id "delivered_indicator".
So, I'm ...
3
votes
2
answers
20k
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.
3
votes
8
answers
5k
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.
3
votes
2
answers
276
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 ...
3
votes
2
answers
3k
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 ...
3
votes
3
answers
89
views
What issues, when automating responsive mobile sites, don't appear on a desktop
We're trying to have automated mobile testing but it's taking a huge amount of effort and I'm not seeing any rewards.
Our site is responsive and has a mobile view. We do not have native mobile apps.
...
3
votes
9
answers
22k
views
iPhone / Android Emulators for PC that works with apk / ipa files
We have an application coming up, which is a hybrid application developed using Phonegap. This will be available to us as APK and IPA packages.
I have been trying Android ADT Emulator, it is painfully ...
3
votes
3
answers
2k
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 ...
3
votes
2
answers
2k
views
Unable to see Settings & Administrator tab on SonarQube dashboard
Environment - Mac
I have configured SonarQube earlier, after that various other configuration might removed my admin user or something happen. But today I am not able to access my admin account/user.
...
3
votes
1
answer
115
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 ...
3
votes
2
answers
15k
views
How can I get the android window size using Java as programming language for android automation testing? [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 ...
3
votes
6
answers
5k
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....
3
votes
2
answers
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 ...
3
votes
2
answers
5k
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....
3
votes
1
answer
6k
views
How to know which tab is currently selected on my Android app, using Calabash?
Our app uses tabs (android.widget.TabWidget).
It looks similar to
.
Using Calabash, how to verify that 'TAB1' is selected in example?
3
votes
2
answers
4k
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 ...
3
votes
3
answers
1k
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 ...