Skip to main content
🏠Documentation|QR Code Scanning

Last updated on : 21 Jan 2025

Testing QR Code Scanning in Mobile Applications

Overview

QR Code Scanning Testing ensures that mobile applications accurately detect, read, and process QR codes using the device camera under real world conditions. By validating scanning behavior on real devices, teams can assess camera access, focus handling, lighting tolerance, and response time across different devices and OS versions. This helps ensure reliable QR recognition, correct data parsing, and a smooth user experience in scenarios such as payments, authentication, onboarding, and app navigation.

Prerequisites

  • User must be registered Pcloudy account

.

Steps

  1. Login to the Pcloudy platform

  2. Select Function Experience on the left Panel and Click on Real Devices.

  3. First, the user will need to Instrument the App and Upload the QR Code Image

    1. Under the All Apps section, Select the App that needs to be tested.

    2. Click on the three dots of the corresponding mobile application.

    3. Click on Image Injection

    4. A Progress notification bar on the top right corner will let the user know once the application is instrumented.

    5. The Instrumented app will be placed within the corresponding app, Click on drop down on the corresponding app to view the instrumented application.

    6. The user will also need to upload the QR Code Image that needs to be scanned.

    7. Select Files/Testdata in the Select Application section.

    8. Click on Upload and choose the QR Code image that needs to be scanned.

    9. A Progress notification bar on the top right corner will let the user know once the image is successfully uploaded to the repository.

  4. Now, simply select the instrumented app, the device of your choice and click on Start Testing.

  5. This will automatically install and start up the instrumented app on the device.

  6. Allow the necessary permissions to scan the QR Code image.

  7. Click on Image Injection on the Left Panel.

  8. Select the Image that needs to be scanned and click Inject.

  9. Once the image is injected, you can follow the prompt on the application to scan or read the image that you uploaded.

Did this page help you?