Hot answers tagged

9 votes

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

Here are some Test cases Verify the notification received even if the app is open. Verify the notification received even if the app is closed. Verify the notification received even if the device is ...
9 votes

Suggest some Android and iPhone mobile app automation tools

There are number of tools available in the market like:- a) Robotium b) Uiautomator c) Espresso d) Appium e) Calabash But my experience -I can suggest you Appium is the best tool for both Android &...
  • 6,769
6 votes
Accepted

Android App testing with appium

I suggest you to use adb (Android Debug Bridge) tool (part of Android SDK). So, install application under test on target Android device or emulator. And you should run application to get current ...
  • 789
6 votes
Accepted

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

$driver.find_element(:xpath,element2) Above, you are trying to find an element. .displayed? Now you are trying to check the state in a element. The exception is thrown by the first computation; ...
  • 10.2k
4 votes

Android Studio and Appium

You'll need the Android SDK at least for adb, otherwise you will not be able to communicate with a device. You are confusing the IDE either Eclipse or Android Studio and the enabling environment. ...
  • 7,040
4 votes
Accepted

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?

adb logcat -v long time > C:\Users\username\folder\logcat.log
4 votes
Accepted

How to resolve - "adb server version (32) doesn't match this client (36); killing..."

Faced this issue on Mac: I have tried different solution, But below works for me - Uninstall "Vysor" plugin if you have installed for Chrome Under Home folder > find .Android folder and move to ...
4 votes

Want to move from development to QA

An interview is an interview, you should be interviewed for any position that you apply. If you have 1y experience as an Android developer does not mean that you are overqualified for a QA role, even ...
  • 977
3 votes

Android App testing with appium

If you can install 3rd party App on phone or emulator , I recommend you to install "Apk Info" It always help me to get package and activity.
3 votes

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

Yes, it’s possible to get code coverage using Appium. We had similar issue few years back on using Appium and Emma (not Jococo, but I believe your problem can be solved using the same technique used ...
3 votes

How to resolve - "adb server version (32) doesn't match this client (36); killing..."

I had the same issue. I realized that I updated all my packages in the SDK manager recently. And having a second look I saw that I had the Android SDK platform tools installed twice (24.0.1 and 23.0.3)...
3 votes

Will android 5.0.1 sdk package work for android 5.0.4?

I think you have asked wrong information. While automating Mobile browsers/applications we will use appium & this will work for ANDROID with above API-17 level. It means you must have Android ...
  • 6,769
3 votes

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

You are checking that an element that doesn't exist is displayed. Elements must exist if they are displayed so you are failing before you get to the .display? For the findElement part, you need to ...
  • 355
3 votes

What is the difference among App CPU, System CPU and User CPU

These terms are probably used to mean the following: System CPU - the percentage of CPU capacity the entire system is using. User CPU - the percentage of CPU capacity the current user is using. This ...
  • 31.2k
3 votes
Accepted

How do we perform installation testing of a native Android app on different devices

There are several apps that support testing such as: SauceLabs AWS Device Farm Xamarin Test Cloud BrowserStack Perfecto mobile Test Object Bugsnag Bugsnag has modules to test mobile applications in ...
  • 156
3 votes

Differences between Android emulators / iOS simulator and real devices for mobile web testing

There will be differences between emulators/simulators and actual devices. Android emulators just emulate the screen size and pixel ratio and run a stock version of Android. Many of the major ...
  • 609
3 votes
Accepted

How to always allow access to phone data automatically for USB connection of Android 8?

Updating the driver for Samsung Mobile USB Composite Device to the latest version should resolve this issue. For Windows 10: Start Device manager Navigate to USB Controllers Find Samsung Mobile USB ...
  • 1,007
2 votes

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

Check if Push Message is received when Device is locked. Check that the notification received even if the app is not running. Check that the notification received if the app was open or using another ...
2 votes

Evolution of Android testing methods

The really good source of information related not only about testing on Android platform but mobile testing in general is "Hands-On Mobile App Testing" book by Daniel Knott. It'll give you a general ...
2 votes

Android Studio and Appium

can we use Android Studio plus Appium? Yes! you can. Lets break down things here: Appium: A driver for your tests Android Studio: A code editor(IDE) built for Android. Consider the example of using ...
2 votes

Test suite, Test plan, Test cases for Android application

Test Plan Test Suite Black-box Testing Test Cases Test Plan: In Test plan you can understand whole application, Flow on your android application and after create test plan & test cases. Black-...
2 votes

Android App api testing with mock

It should be realtively easy to setup a server that behaves as your API, but always returns the same values so you can test against it. You just need to make sure you can redirect the traffic from ...
2 votes

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

Testing with old versions makes little sense. Only do it to familiarize QA team with new features (if changes are not radical), and develop testing protocols and tools. To deal with changes in ...
2 votes

Android Quality Assurance Tool for Android

There are lots of tools available in market for your QA testing part of Android apps. A couple of them you can find below:- Appium (already suggested by wmarchewka) Robotium (Paid tool) EggPlant (...
  • 4,580
2 votes
Accepted

Unable to record Android native app requests in jmeter

It might be the case your application talks to backend using SSL, in that case some extra tweaks may be required: Android network configuration tool won't proxy SSL connections so you may have to use ...
  • 13k
2 votes
Accepted

How to swipe specific element using appium?

The code below is taken from the test suite for the Appium C# bindings. Basically, you use the element's coordinates as a starting point for the swipe. The only thing you need to know is the target ...
  • 5,904
2 votes
Accepted

How to resolve Could not start a new session? UnreachableBrowserException

Hope you are using appium server with Appium application. Solution: Open Appium.exe Go to settings and click on it. Select "Over ride existing sessions" and click on it. Bingo you are done.
  • 2,099
2 votes
Accepted

What issues, when automating responsive mobile sites, don't appear on a desktop

Michael Agree. Faced same condition before. As experienced earlier few things might help you at some extend. You need to convey them the pros & cons of the automation testing. You need to give ...
2 votes
Accepted

How to automate WEBVIEW in Native Android application?

If you are using Appium or Selendroid to automate this WebView, you may simply use the inspector to locate the element/elements used for Bold/underlined text. Once you have located the element, simply ...
2 votes
Accepted

How to test a application which is having multiple recent screen?

Prior to raising a question to the development team, you should refer to the software requirement and or software design documentation first, if any. Check in the requirement or design, how the ...

Only top scored, non community-wiki answers of a minimum length are eligible