Mobile Testing Features
The Untestable Feature
You’re testing a mobile banking app. Everything works—login, account views, transfers. Then you hit the “Scan QR Code to Pay” feature. You stare at the button. How do you test this? The feature requires:- Opening the device camera
- Pointing it at a QR code
- Scanning and processing the code
- Completing the payment
The Problem with Camera Features
Let’s understand why camera testing seems impossible. When your app accesses the camera, it’s talking directly to device hardware. Testing tools run at the software level—they can tap buttons and read text, but they can’t control physical cameras or create real camera input. Traditional solutions:- Mock the camera: Replace camera logic with test code (doesn’t test real behavior)
- Manual testing only: A human physically scans QR codes every time (slow, inconsistent)
- Skip the feature: Hope it works and catch bugs in production (risky)
How Autonoma Solves This
Autonoma introduces a simple concept: Set the camera image before opening the camera. Think of it like this: Instead of trying to physically show a QR code to the camera, you tell Autonoma “when the camera opens, use THIS image.” Autonoma loads that image into the device’s camera, so when your app reads the camera, it sees your test image. It’s the same approach as file uploads—prepare the input before the feature asks for it.Testing Your First QR Code
Let’s build a test for a payment app’s QR code feature. Step 1: Prepare your QR code image Before building the test, create or download a test QR code image. Save it astest-qr-code.png. This should be a real QR code that your app can process—maybe one that triggers a test payment or links to a test merchant.
Step 2: Start your test
Begin with standard navigation:
test-qr-code.png file.
This tells Autonoma: “When the camera opens, show this image.”
Step 4: Open the camera
Now tap the button in your app that opens the camera:
Real-World Camera Testing Scenarios
Digital wallet with ID scanning:Platform Availability
Android: Camera image setting is available now. You can test QR codes, barcodes, document scanning, and any camera-based feature. iOS: Camera image testing is coming soon. Check your Autonoma dashboard for updates on iOS availability. Web: Camera testing is not applicable for web tests (use file uploads instead—see Testing File Uploads).Tips for Effective Camera Testing
Use realistic test images: Your test QR codes, barcodes, and documents should be realistic. If your app validates QR code format, use properly formatted codes. If it checks ID security features, use images that pass basic validation. Test different scenarios:What Camera Testing Enables
Think about all the mobile features you couldn’t test before:- Payment apps: QR code payments, bill scanning
- Banking apps: Check deposits, card scanning
- Retail apps: Barcode scanning, price checking
- Healthcare apps: Insurance card scanning, prescription reading
- Travel apps: Boarding pass scanning, passport scanning
- Social apps: QR friend codes, AR features
- Logistics apps: Package scanning, inventory management
The Bigger Picture
Camera testing is part of a larger principle: Autonoma brings automation to features that were previously “manual testing only.” We’ve covered three of these in recent guides:- File uploads: Upload files before your app requests them
- Data extraction: Capture app-generated values for later verification
- Camera input: Set images before your app opens the camera

