Skip to main content
Share Your Experience: Take the 2024 Developer Survey
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 &...
Bharat Mane's user avatar
  • 6,775
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 ...
Nitin Rastogi's user avatar
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; ...
João Farias's user avatar
  • 10.9k
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
Steven Avery's user avatar
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 ...
Narendra Chandratre's user avatar
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 ...
lauda's user avatar
  • 977
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 ...
Bharat Mane's user avatar
  • 6,775
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)...
fred_online's user avatar
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 ...
K-8's user avatar
  • 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 ...
Kate Paulk's user avatar
  • 31.5k
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 ...
Lea Klein's user avatar
  • 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 ...
newsn31's user avatar
  • 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 ...
Prome's user avatar
  • 1,015
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 ...
Vineeth Balan's user avatar
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 ...
Niels van Reijmersdal's user avatar
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.
ChathuD's user avatar
  • 2,147
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 ...
Narendra Chandratre's user avatar
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 ...
BountyHunter's user avatar
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 ...
Lesmana Sitepu's user avatar
2 votes

Security testing tools for android and ios apps

I don't specifically know any security testing tools for mobile, but I wouldn't rely on them because you won't learn security testing by only using tools. Try to manually test for security ...
return's user avatar
  • 445
2 votes

Security testing tools for android and ios apps

Many passive scanners exist to give holistic views of both a device and services running on it. So, while running a scan against a device with the application running and its ports open will give you ...
maznika's user avatar
  • 601
2 votes
Accepted

Appium is get an error "unable to create new remote session"

Seems like session between client and server is failing to get initiated. I noticed that URL you use for Appium server is "http://0.0.0.0:4723/wd/hub". This could be an issue, since as I understood ...
Al Kan's user avatar
  • 51
2 votes

JMeter Proxy setting for Android

You may need to populate the password field too. In some android devices, the password field needs to be added too, you cannot leave it blank, even if you are already connected to the network. It may ...
QA9's user avatar
  • 591
2 votes

How to create android Emulator using command line

I've been working on something similar myself recently, and had similar issues with outdated and unclear instructions. Here's what I got to work for me: To create a new device run avdmanager create ...
knpfletcher's user avatar
2 votes

How to write test cases of an application which has almost same functionalities on its web and mobile app(ios + android)

Yes, you have pointed out clearly that the chat application meant for both web and mobile devices. An application which is responsive has different UI views based on the environment in which it is ...
Ranjani's user avatar
  • 316
2 votes
Accepted

Cannot find an element with Xpath in Appium

When querying Android apps with Xpath there is no id attribute. There is a resource-id attribute instead. Appium is doing work behind the scenes to still provide By.id as a locator despite this. By....
anonygoose's user avatar
2 votes

Nested explicit wait does not work in Appium

When you use xpath that is to locate nested elements you have to start your query from .. Like String query = ".//*[contains(@resource-id, 'delivered_indicator')]"; https://selenium.dev/selenium/docs/...
wec's user avatar
  • 409
2 votes

Nested explicit wait does not work in Appium

Solution:1 From your code “wait.until (ExpectedConditions.visibilityOfNestedElementsLocatedBy (lastMessage, By.xpath(query)))” The expectation of the method (visibilityOfNestedElementsLocatedBy) used ...
Indium Software's user avatar
2 votes

Appium finding an element that need to be scrolled into view

For Android: You can scroll till you don’t find element with given resource id. This can be achieved with UiAutomator2as automation engine. You need to use automation name as UiAutomator2 in desires ...
Muzzamil's user avatar
  • 201
2 votes
Accepted

Windows + Android emulator : How to fix "No internet/Internet not working for android emulator" on windows 10?

Solution to fix emulator issue: Open Control Panel Click on Network and Internet Click on Internet and Sharing Center Click on your Wi-Fi Connection name Click on Properties Then select Internet ...
Narendra Chandratre's user avatar

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