In brief
A mobile banking app is tested on a device matrix chosen from data about the bank's own customers, not on every phone on the market. Most regression runs automatically on emulators and simulators, while key paths such as biometric login, transfer authorization, and notifications are checked on physical devices. On top of that come tests of interruptions and poor networks, security according to OWASP MASVS, accessibility, and API compatibility with older app versions that customers still have installed.
How to choose devices for testing
The starting point is analytics data from the app: which models, system versions, and resolutions the bank's customers have. On that basis you build a matrix with three tiers:
- core tier: a few devices that together cover most customers; the full regression runs on them with every release;
- extended tier: further models and older system versions; critical paths run on them;
- edge tier: the oldest supported system version, the smallest screen, a cheap phone with little memory, a tablet, a foldable phone; selected scenarios are checked on them before larger releases.
On Android, what counts is not only the system version but also the manufacturer, because system overlays change the behavior of notifications, battery saving, and permissions. On iOS the device diversity is smaller, but customers update older phones more slowly, so the oldest supported system version needs attention.
The matrix is worth supplementing with parameters that do not follow from the phone model: the system browser version, if the app opens some screens in it, language and region settings, and configurations with accessibility features turned on. Analytics data also shows which paths customers use most often on given models, which helps decide which scenarios to run on the extended tier.
The matrix has to be reviewed every quarter. A bank that set it once and never changes it will, after a year, be testing on phones customers no longer use while skipping the ones they bought.
Emulators, physical devices, and device farms
Each environment has its place in the test strategy:
| Environment | What it is good for | Limitations |
|---|---|---|
| Emulator (Android) and simulator (iOS) | Fast regression in CI, many configurations in parallel | Does not reproduce biometrics, the camera, a real network, or performance |
| Physical devices in the team | Biometrics, NFC, camera, notifications, the feel of real use | A small number of models, manual upkeep |
| Cloud device farm | Many models without buying hardware, automated tests on real phones | Test data leaves the bank, which requires security approval |
In banks, a cloud device farm often requires a vendor assessment as with any ICT service, because test data and screenshots pass through the devices. The alternative is a farm of your own inside the bank's network.
Automation uses native tools, Espresso on Android and XCUITest on iOS, or Appium, which supports both platforms through the WebDriver protocol. Native tests are usually faster and more stable, while Appium lets you share some of the scenarios. A comparison of UI testing tools is in the article Playwright, Cypress, or Selenium.
What to test beyond the screens
Most banking app errors surface outside the screens themselves:
- Biometrics and authorization. Login with fingerprint and face, a change of biometrics in the system (a new fingerprint should invalidate the stored binding), opting out of biometrics, and transfer authorization in the app as an element of strong authentication under PSD2.
- Interruptions. A phone call during authorization, the app going to the background, the screen turning off, low memory, and a forced close by the system.
- Network. Switching from Wi-Fi to the cellular network during a transfer, weak signal, no network. The customer must see a clear status, and a retry must not create a second transfer.
- Notifications and links. A transaction notification that opens the right screen after login, and a link from an SMS or e-mail leading into the app.
- System settings. Large font, dark mode, language, date format, battery saving.
- Updates. Moving from an old app version to a new one while keeping data and the device binding.
Older app versions and the API
Customers do not update apps right away. At any moment, several app versions use the bank's API, some of them a year old. Every API change must be backward compatible, or the bank must force an update and test how the old version reacts to the message about the need to update.
The risk of a new version is also reduced by a staged rollout. Google Play lets you make an update available first to part of the users, and the App Store offers a phased release for automatic updates. The team then watches errors and reports from the first group of customers and can halt the release before it reaches everyone. The condition is monitoring app crashes broken down by version and phone model.
Contract tests between the app and the backend, described in the article API contract tests, help, as does regression on the oldest supported app version with every API change. B2Bnetwork engineers built such a test setup in the regression automation of a bank's mobile app on iOS and Android.
Security and accessibility
The security of a mobile app is worth checking against OWASP MASVS, a requirements standard, and OWASP MASTG, a guide with test cases. Typical areas in banking are data storage on the device, detection of rooted or jailbroken devices, certificate pinning, protection against screenshots on screens with data, and what ends up in system logs. Security tests are worth repeating with every change to the libraries responsible for cryptography, authentication, and network communication, not just once a year before an audit.
Accessibility is now a legal requirement. The European Accessibility Act, Directive (EU) 2019/882, covers consumer banking services, including mobile apps. Tests include working with the VoiceOver and TalkBack screen readers, text enlargement, contrast, and operation without precise gestures. The reference point is the WCAG guidelines. Automated scanners catch some of the problems, and the rest must be checked manually with a screen reader.
Automated tests on many devices tend to be unstable, especially with animations and network delays. How to deal with this is described in the article Flaky tests.
Questions and answers
On how many devices should a bank's app be tested?
On as many as it takes for the core tier of the matrix to cover most customers according to the bank's analytics data, and for the extended and edge tiers to cover older systems, small screens, and cheap phones. The exact number depends on the customer base. More important than the number is that the matrix is reviewed every quarter based on current data.
Are emulators enough for testing a banking app?
For fast regression in CI, yes, but not for everything. Emulators and simulators do not faithfully reproduce biometrics, NFC, the camera, a real network, or the performance of weaker phones. Critical paths such as biometric login, transfer authorization, and notifications have to be checked on physical devices before every release.
Appium or native tools?
Espresso and XCUITest are usually faster and more stable, because they work close to the app code, but they require two sets of tests. Appium supports Android and iOS through the WebDriver protocol and lets you share some scenarios, at the cost of speed. Many teams combine both approaches: native tests for regression, Appium for shared scenarios.
Does a bank's mobile app have to meet accessibility requirements?
Yes. The European Accessibility Act, Directive (EU) 2019/882, covers consumer banking services, including mobile apps. In practice this means tests with screen readers, text enlargement, contrast, and operation without precise gestures, with the WCAG guidelines as the reference point.