Skip to main content

QR code scanning automation

Note:
  • Please note that the use case presented here is a suggestion only and should be implemented with caution. It has not undergone quality assurance testing and is not officially supported by our platform.

This article guidelines how Katalon Studio helps users can handle QR code scanning for mobile devices. We will demonstrate a test case that picks a QR code from gallery and scan the it via QR code scanner to make a payment.

How to automate QR code scanning

  • Katalon Studio

  • Install PayZapp from Play store.

  • Open Emulator/Real devices.

The use case includes:
  • Open a mobile app

  • Make a payment via QR code scanner option

  • Select QR code from gallery/photos

  • Enter the amount and make the payment.

Here is our sample project GitHub repository.

  1. Record test script via Katalon Recorder and save test objects and test cases. You can refer to Record web utility in Katalon Studio.
  2. Run the test execution. You can refer to Execute tests with Katalon Studio overview.
  3. Verify the test execution result. You can refer to View test results and execution logs in Katalon TestOps.