β€’
Drizz raises $2.7M in seed funding β€’
β€’
Featured on Forbes
β€’
Drizz raises $2.7M in seed funding β€’
β€’
Featured on Forbes
Logo
Schedule a demo
Blog page
>
Firebase Test Lab: Setup Guide and Alternatives

Firebase Test Lab: Setup Guide and Alternatives

Firebase Test Lab setup, pricing, limitations, and alternatives. BrowserStack, LambdaTest, AWS Device Farm compared for mobile QA teams.
Author:
Asad Abrar
Posted on:
June 22, 2026
Read time:

Firebase Test Lab is Google's cloud-based device testing service. It lets you run automated tests on real Android and iOS devices without owning or managing hardware. You upload your APK or IPA, pick your devices, and Firebase runs your Espresso, UI Automator, XCUITest, or Robo tests across them.

For Android teams already using Android Studio and Firebase, Test Lab integrates tightly with your existing workflow. You can trigger tests from Firebase console, gcloud CLI, or directly from Android Studio. But Firebase Test Lab has real limitations: a narrow device catalog compared to BrowserStack or LambdaTest, weak iOS coverage, and a Robo test that only scratches surface of your app.

How do you set up Firebase Test Lab?

Setting up test lab firebase takes three steps.

Step 1: Connect your app to Firebase. If your app already uses Firebase (Crashlytics, Analytics, Remote Config), you're set. If not, download Android Studio and add Firebase SDK through Firebase Assistant (Tools β†’ Firebase in developer Android Studio). Testing firebase integration requires a linked project.

Step 2: Upload your test APK. You need two files: your app APK and your test APK (instrumentation tests). Build both with Gradle:

./gradlew assembleDebug assembleDebugAndroidTest

‍

Step 3: Run test. You have three options:

  • Firebase console: upload APKs through web UI, pick devices, run. Best for one-off tests.
  • gcloud CLI: script your test runs for CI/CD integration.
  • Android Studio: right-click your test class and select "Run on Firebase Test Lab." Requires Firebase plugin.

The gcloud CLI command for running Espresso tests:

gcloud firebase test android run \
  --type instrumentation \
  --app app-debug.apk \
  --test app-debug-androidTest.apk \
  --device model=Pixel8,version=34,locale=en,orientation=portrait \
  --device model=oriole,version=33

‍

This runs your Espresso suite on a Pixel 8 (Android 14) and a Pixel 6 (Android 13). Results appear in Firebase console with logs, screenshots, and video recordings.

What does Firebase Test Lab cost?

Firebase test lab pricing uses two tiers:

Plan Virtual Devices Physical Devices Daily Free Quota
Spark (Free) 10 tests/day 5 tests/day 15 total tests/day
Blaze (Pay-as-you-go) $1/device/hour $5/device/hour Includes Spark quota, then pay only for additional usage.

The free tier covers small teams running a handful of tests daily. For a team running 50 tests across 5 physical devices nightly, math looks like this: if each test takes 3 minutes average, that's 250 device-minutes (about 4.2 device-hours) at $5/hour = roughly $21/night or $630/month.

Compare that to BrowserStack App Automate starting at $249/month with broader device access, or Lambda Test plans starting lower. Firebase is cheaper for small test volumes but gets expensive at scale on physical devices.

What can you test with Firebase Test Lab?

Firebase Test Lab supports three testing modes:

  • Instrumentation tests run your Espresso or UI Automator test suites on real or virtual devices. This is full automated testing with assertions. Your tests control exactly what happens.

  • Robo tests use a crawler that automatically explores your app. It taps buttons, fills forms, and navigates screens without any test scripts. Firebase testing with Robo catches crashes and ANRs but can't validate business logic or specific user flows.

  • Game loop tests run pre-programmed loops for game testing. Used primarily by game developers to validate performance across devices.

For most mobile QA teams, instrumentation tests are what matter. Robo tests are useful as a quick smoke check (firebase test runs in 5 minutes by default) but they don't replace structured testing.

What are Firebase Test Lab's limitations?

Limited device catalog. Firebase offers around 100 Android device models and roughly 20 iOS models. BrowserStack offers 3,000+. If you need to test on a Samsung Galaxy A14 (one of most popular budget phones globally), Firebase might not have it.

iOS is an afterthought. Firebase Test Lab started as Android-only. iOS support was added later and feels limited. The device selection is smaller, and XCUITest integration isn't as smooth as Android side. If your team ships on both platforms, Firebase alone won't cover iOS adequately.

Robo test is shallow. The Robo crawler explores randomly for 5 minutes (default) or up to 30 minutes. It can't log in, complete a checkout, or navigate a multi-step flow. It finds crashes in surface-level interactions but misses bugs in deeper flows.

No cross app testing. Firebase tests run inside your app only. If your push notification flow involves interacting with notification tray, or your deep link opens from a browser, Firebase can't test those system level interactions.

No Vision AI. Firebase runs your selector based tests (Espresso, UI Automator). When selectors break from UI changes, your Firebase tests break too. Firebase doesn't solve maintenance problem. It just provides devices.

How does Firebase Test Lab compare to alternatives?

Feature Firebase Test Lab BrowserStack LambdaTest AWS Device Farm Drizz
Android devices ~100 models 3,000+ models 3,000+ models ~200 models Real devices (curated matrix)
iOS devices ~20 models Broad coverage Broad coverage Limited Real devices (curated matrix)
Test frameworks Espresso, UI Automator, XCUITest, Robo Appium, Espresso, XCUITest Appium, Espresso, XCUITest Appium, Espresso, XCUITest Plain English (Vision AI)
Selector maintenance Required Required Required Required None
Free tier 15 tests/day Free trial only Available 1,000 device-min/month (first 12 months) Available
CI/CD integration gcloud CLI, Android Studio, GitHub Actions CLI, all major CI tools CLI, all major CI tools AWS CLI, Jenkins, GitHub Actions CLI, GitHub Actions, all major CI tools
Best for Android-first teams using Google Cloud. Large device coverage and cross-platform testing. Cost-effective cross-platform testing. Organizations already invested in AWS. Teams looking for AI-driven testing without selector maintenance.

When is Firebase Test Lab enough?

Firebase Test Lab works well when:

  • Your team is Android-first and already uses Firebase services
  • You run Espresso or UI Automator tests and need a device cloud
  • Your test volume fits within free tier or modest Blaze budget
  • You want Robo testing as a quick smoke check alongside structured tests
  • Your test environment needs are simple (few device models, one locale)

When do you need an alternative?

Switch or supplement when:

  • You need broad iOS device coverage (Firebase's iOS catalog is limited)
  • You test on budget/mid-range Android devices that Firebase doesn't stock
  • Your test suite exceeds 50 tests nightly on physical devices (cost scales fast)
  • You need cross-app testing (notifications, deep links, system dialogs)
  • Selector maintenance is consuming your SDET time and you want Vision AI

For teams that outgrow Firebase, practical path is to keep Firebase for Robo smoke tests (free, zero setup) and move structured test execution to a platform with better device coverage or a different testing approach entirely.

Drizz is worth evaluating if selector maintenance is your main pain point. You write tests in plain English, Drizz runs them on real devices using Vision AI, and UI changes don't break your tests. Firebase gives you devices. Drizz gives you devices and eliminates selector problem that makes firebase app testing fragile.

‍

FAQs

What is Firebase Test Lab?

Firebase Test Lab is Google's cloud device testing service for mobile apps. It runs your automated tests (Espresso, UI Automator, XCUITest, Robo) on real and virtual Android and iOS devices hosted by Google. You access it through Firebase console, gcloud CLI, or directly from Android Studio.

How much does Firebase Test Lab cost?

The free Spark plan gives you 10 virtual device tests and 5 physical device tests per day. The Blaze plan charges $1/device/hour for virtual devices and $5/device/hour for physical devices. A team running 50 nightly tests on physical devices spends roughly $630/month.

Is Firebase Test Lab good for iOS testing?

Firebase testing for iOS is limited. The iOS device catalog has around 20 models compared to 100+ Android models. XCUITest integration works but isn't as smooth as Android side. Teams that ship on both platforms typically need BrowserStack, LambdaTest, or Drizz for adequate iOS coverage.

What is Firebase Robo testing?

Robo testing is Firebase's automated crawler that explores your app without test scripts. It taps buttons, fills forms, and navigates screens for up to 30 minutes. Robo catches crashes and ANRs but can't validate business logic, complete multi-step flows, or test logged-in states. Use it as a smoke check, not a replacement for structured tests.

What are best Firebase Test Lab alternatives?

BrowserStack (broadest device coverage), LambdaTest (cost-effective cross-platform), AWS Device Farm (for AWS-native teams), and Drizz (Vision AI, no selector maintenance). Firebase is best for Android-first teams in Google ecosystem. Alternatives are better for cross-platform coverage, broader device selection, or eliminating selector-based test fragility.

Can you use Firebase Test Lab in CI/CD?

Yes. Use gcloud CLI to trigger firebase android testing from GitHub Actions, Jenkins, CircleCI, or any CI tool that runs shell commands. Firebase also integrates directly with Android Studio for local test runs and with Google Cloud Build for automated pipelines.

About the Author:

Asad Abrar
Co-founder & CEO, Drizz
Ex-Coinbase PM and IIT Kharagpur grad killing flaky mobile tests by day, and obsessing over F1 lap timings by night.
Schedule a demo