Smooth payment processing is essential for gastronomic services in the compartment. The tested Android app makes it possible to process cashless orders at the seat on the train - even without an Internet connection. Peer-to-peer communication between devices ensures that payments and receipts can be processed offline. The migration to a new app supplier required a thorough review of all interfaces and functions. The limited data availability in the UIAutomator2 interface posed a challenge for automation, so an OCR solution had to be integrated into the framework. A flexible testing approach was just as crucial as a specially developed test framework to ensure continuous quality assurance and adaptations to new requirements.
Automation should not only accompany the migration, but also ensure quality in the long term. To achieve this, we developed a powerful test framework that reduces manual testing and covers various roles and usage scenarios. By using OCR, incorrect or incomplete data could be detected automatically. The combination of Selenium, Appium, Google UIAutomator2 API, Maven, Jenkins, Cucumber/Gherkin and Jira Xray enabled reliable and extensible test automation with automated test documentation. All tests were defined in a comprehensible syntax to optimize collaboration between business departments and IT teams.
The developed test automaton controls the application via an automated framework. Test cases are defined in Gherkin via Jira Xray, which are then started by Jenkins or Maven and executed via the test automaton. This uses Selenium and Appium to interact with the user interface, while OCR is used to capture missing data or data that is difficult to read. The Google UIAutomator2 API enables precise control of the app functions, even under varying conditions. All test results are recorded in a structured manner, documented with screenshots and logs and automatically fed back to Jira to ensure seamless tracking and continuous optimization.
The automated test solution significantly reduced the manual testing effort and increased the stability of the app. Early error detection in automated regression tests now minimizes potential problems before they could affect operations. The framework developed is easy to maintain, flexible and scalable so that future adaptations can be integrated efficiently. The clear definition of test cases and structured documentation also facilitate collaboration and maintenance.
This project shows how targeted test automation can solve demanding challenges in mobile payment processing. The combination of widely available technologies and a well thought-out automation strategy ensures long-term stability and efficiency. The mobile checkout solution is now well prepared for future developments and offers passengers a convenient and reliable service.
IT quality assurance in the mobility sector is one of our core competencies.
We look forward to an exchange.