r/softwaretesting
•
u/TestChronicle
•
Jun 04 '26
•
1
What’s everyone using for mobile automation testing in 2026? (iOS + Android)
We’re reviewing our mobile automation approach and I’m interested in what others are using in production.
Historically we’ve used:
- Appium
- BDD-style framework layer
- BrowserStack for running against real devices
A few thoughts:
- We’ve always found real devices more reliable than simulators/emulators due to platform and hardware nuances.
- Appium often requires a language/framework that’s different from the iOS codebase, making developer ownership harder.
- Maintenance overhead can become significant as apps grow.
7
u/Ok_Opportunity_4228 Jun 05 '26
Your three pain points are basically the universal mobile-automation story, so you're not doing anything wrong. A few things that helped us without changing tools:
Stop writing scripted tests for the long tail — that's where Appium maintenance compounds fastest. Keep code-based tests only for stable, high-value flows, and push their ownership onto the feature devs so they don't rot.
Standardizing the format helped more than I expected. You've already got a BDD layer, so lean into it — if every test is expressed the same way (Gherkin-style given/when/then, shared step library, consistent naming), maintenance drops because a broken step gets fixed once and every scenario using it benefits. The failure mode is the opposite: half the suite in raw Appium calls, half in BDD. A single convention also makes the tests readable to PMs and devs, which feeds back into the ownership problem.
Pull the "what" away from the "how." Keep the business intent in the BDD/feature files and bury all the brittle locator and platform detail behind the step definitions or a page-object layer.
For real-device cost: This is a real cost but depends on the device coverage required for your app.
1
u/TestChronicle Jun 05 '26
Is anyone using https://maestro.dev/ in a commercial setting?
1
u/ohlaph Jun 05 '26
Espresso and XCUITest mostly. Targeting real devices for daily runs.
1
u/latnGemin616 Jun 06 '26 edited Jun 06 '26
Why are you using BDD? It adds an unnecessary abstraction layer to an already complex framework.
I just refreshed my appium skills after a long drought and realized the use of helpers + a solid POM structure + a legible naming convention is all you need. The example below is in python but it applies just the same in any other language:
1
u/okwasniewski Jun 06 '26
I've been a software engineer for quite a while now, working on various mobile apps before.
Few months ago I started working on a product that solves the headache of testing mobile apps. We basically use AI agents to test apps with everything handled for you (orchestration, infra, simulators, etc).
I've struggled with e2e myself and I'm curious if you have any thoughts on the topic. Happy to share the project if you’re interested.
1
u/Malthammer Jun 05 '26
Appium with physical devices.
2
u/SnarkaLounger Jun 06 '26
We use locally hosted iOS/iPadOS simulators and Android emulators running on multiple Mac Minis for our automated smoke and regression test suites, which are based on Appium, Selenium WebDriver, and a POM framework. Our manual testers use a collection of physical devices, and we have a few physical iPhones and iPads connected to the Macs as well.
However, we do also have an automated device compatibility test suite which is basically our smoke tests plus some specific tests around known device and platform specific issues we've encountered previously. This device compatibility test suite is executed on a selection of physical iOS and Android devices running on the Br*wserSt*ck service, and is typically run against any new devices and OS versions.
We chose cloud hosted devices because attempting to build our own in-house device farm became too unmanageable. Automated tests running on cloud hosted devices and sims are definitely slower than running on locally hosted hardware and sims.
All of our automated tests are orchestrated using Jenkins, and our smoke tests are run automatically prior to new deployments to our QA environment.
Appium is a great choice for covering both iOS/iPadOS and Android platforms for apps, especially if the apps are built using React Native. If your cross-platform mobile app has feature and UI parity, and if you adopt a Page/Screen Object Model based framework, you can create separate Screen Objects for each screen in the two platforms that use platform specific locator strategies, and then use the same test cases to drive either iOS or Android platform tests.
The UI element locator strategy may be different for an iOS/iPadOS app vs an Android app, even when testing an app built with React Native. If your devs assign an
accessibility_idattribute to each UI element that you need to interact with or validate, then that id is good across both iOS and Android platforms. Below is a list of the various selectors you can use when defining a UI element's locator strategy and thelocator_identifierthat is the value or attribute that uniquely and unambiguously identifies the UI element:accessibility_id:id:name:class:xpath:predicate:(iOS only)class_chain:(iOS only)uiautomator:(Android only)css:(WebViews in hybrid apps only).I have a couple of git repos that offer example projects that demonstrates the implementation of a screen object model framework using Appium. One example is for a React Native based cross platform app, and the other uses the WebDriverIO sample app. The repos can be found here:
[ https://github.com/TestCentricity/tc_mobile_react_native_demo ]
[ https://github.com/TestCentricity/tc_mobile_wdio_demo ]
2
u/pavank30 Jun 08 '26
I prefer native automation using XCUITest for iOS and Espresso for Android. But finding good mobile automation engineers with this skill set is difficult. Appium + TestNG is the second option. In previous setup mobile automation used to run in headspin
2
u/One_Title_6837 Sep 07 '26
+1 on dropping the BDD layer. Cucumber on top of Appium can make sense initially, but once the suite gets big, keeping all the step definitions n framework pieces in sync becomes a maintenance issiue. we looked at a few different approaches, including Maestro and Testsigma, mainly to see what could simplify things without losing cross-platform coverage. For us, Testsigma was helpful because it took away a lot of the framework and device-management work, so there was compartively less to maintain day to day. You could also try BrowserStack or Kobiton for that case...
2
u/Low-Shirt3433 Sep 12 '26
WebdriverIO and Browserstack here.
I'm not a fan of BDD, as someone else already mentioned keeping the step definitions in sync is a huge maintenance issue imho. The page object model design pattern already provides an abstraction from the locators/logic, adding another abstraction on top of them just seems unnecessary. One of the selling points of BDD was to empower Product to contribute to writing automated tests (which I've never seen before in my life), or enable easy porting of manual to automated tests, which requires establishing a shared vocabulary that rots within weeks.
Rather than BDD, if there are specific workflows that are repeated often in the tests then I'll usually create a separate workflow class to avoid having 15 lines of duplicated code across the test framework.
I try to avoid doing this too often and only really if it's something I'm going to have to use more than 10 to 15 times, or there's no simple way of reducing the LOC without creating God functions on the POMs.
1
u/StoreLanky556 28d ago
Real devices are still hard to beat for the bugs that emulators miss.
1
u/MaximumShoulder780 28d ago
Appium is fine until the test suite gets huge.
1
u/Aggravating_Dark6910 20d ago
Appium works well for smaller test suites, but keeping everything maintainable as the app grows can become a real challenge.
1
u/Equivalent-Egg-1785 Jun 05 '26
How about headspin? I have heard they have the most custom and flexible deployment options as well as performance testing capabilities?
0
u/Past-Shower1519 Oct 31 '26
We use Appium, but OS updates keep breaking tests on certain devices. It gets annoying when something that worked yesterday suddenly fails. How do you guys deal with this? Do you use native tools instead? I know TestFort also works with mobile testing, so I’m curious what setups people use.
0
u/ashwinipatle 7h ago
There is no single answer, it depends on how the app is built and who writes the tests. What I see teams use for iOS and Android:
- Appium: one test codebase for both platforms, many languages. Good for mixed teams and for black-box testing of the real app. It can be slower and needs care to keep stable.
- Espresso (Android) and XCUITest (iOS): fast and reliable, written by developers, but two separate codebases.
- Maestro: simple YAML-style flows, quick to start. Good for smoke tests and basic user journeys.
- Framework-specific tools: Detox for React Native and Flutter's own integration tests, if you are on those.
- Device clouds (BrowserStack, Sauce Labs, AWS Device Farm and similar) to run the same tests on many real devices instead of buying phones.
What tends to work well:
If it is a small team, I would start with Maestro or Appium for the main flows. If developers own the tests, Espresso and XCUITest give faster and steadier runs.
(Disclosure: I work in QA at a testing services company)