_Global mobile test automation for OneSpan

Industry

Cybersecurity

Challenge

  • Implementation of automated tests
  • Standardization of testing processes
  • Standardization of mobile teams

Technologies

Frontend, Backend

Results

  • Early detection of product errors
  • Increased range of test scenarios
  • Automatic regression testing

About OneSpan

OneSpan, one of our key long-term clients. The company focuses its activities on technologies in the field of digital identity, cybersecurity, and counteracting digital fraud. OneSpan is headquartered in Chicago, Illinois, with other major offices located in Montreal and Brussels. The company also has sub-offices around the world. It provides a cloud-based solution, offering an open architecture to combat fraud. Our client’s best known products include the implementation of multifactor authentication and also electronic signature software.

Project Background

The collaboration between TT PSC and OneSpan began in the autumn 2017. In 2019, as many as 50 TT PSC experts were involved in the company’s ongoing projects. Our specialists supported the work of the client’s Research and Development (R&D) department. To start working with OneSpan, TT PSC had to prove its willingness to work and competence in several areas. You can read about these activities in the case study Scaling of R&D activities through comprehensive outsourcing of IT services for OneSpan.

Challenges and needs (Business and Technical)

The client’s main challenge and need were to introduce automation testing in the existing assurance quality processes for his mobile portfolio solutions.OneSpan is the owner of many different projects, libraries, and tools used by both internal work teams and external development teams.

The client concluded that a single, standardized test process with automation was needed for better test process management. OneSpan was looking for a new framework that would unify the work of different mobile teams.

The goal was to build something easy to reuse and adapt for different mobile solutions test automation. The company expected a solution that would provide automation for repetitive tasks such as regression testing – an automation tool, which creates visual recordings and logs, and makes it easy to detect why tests fail. The company receives immediate feedback, which speeds up the repair of errors. Re-testing would become a fairly easy process that takes place in the background.

Project Scope – Mobile Test Project

One of the implementations in the scope of the project included several dozen test scenarios implemented as automated end-to-end tests. These tests will increase with the change or addition of features. As the automation tests are not frozen due to several possible changes (scenarios update, tool update, OS version update, new phone support, etc…), TT PSC’s main priority is now to maintain the test automation for mobile applications after it’s delivered.

Specific project goals for the client:

Project goal for the client from OneSpan global test automation success story: Optimization / Resource Savings icon

Optimization / Resource Savings – additional time to set up and maintain automated workflows and reduce dependency on quality control and developers. Manual testers can work on tasks that generate more value, while regression testing runs in the background.

project goal for the client from OneSpan global test automation success story: Removing bottlenecks in the process TT PSC

Removing bottlenecks in the process – thanks to the optimization of work time and resources, it’s possible to remove the existing bottlenecks and avoid the appearance of new ones.

project goal for the client from OneSpan global test automation success story: Modern automation process TT PSC

Modern automation process – visual recordings and logs are created during the process, which speeds up the testing process.

project goal for the client from OneSpan global test automation success story: Comprehensive and dynamic solution - Transition Technologies PSC

Comprehensive and dynamic solution – the solution must be generic and adaptable to various mobile applications. Architecture should be modular, tailored to the needs of each project, but it’s essential that it maintains a common code base.

project goal for the client from OneSpan global test automation success story: View of the current state of the application in one - Transition Technologies PSC

View of the current state of the application in one report – a comprehensive summary that supports the Product Owner in making decisions about the application implementation schedule.

Project Phase

The implemented solution has standardized and optimized the automation testing process. As part of the project, Transition Technologies provided the following products and services:

  • Test automation used in the CI/CD process, for this task we used the most popular mobile application testing tool called Appium.
  • Together with the DevOps team, we were able to implement the complete process using Jenkins Pipeline scripts. As the project was led by the R&D department, there was a risk of dynamic chan-ges. The first big challenge was therefore the migration of the existing solution from Jenkins to Gitlab-CI. During this process, we created a series of documentation, live presentations and training for team members, mainly for Quality Assurance specialists, Developers, and Product Owners
  • We started with Proof Of Concept, which was to confirm the assumptions of our project, creating a physical Test Farm located in one of the offices.
  • Once the flow was well-known and stable, we introduced a new test farm powered by Browserstack. The appropriate architecture selected for this task at the beginning facilitated this stage of implementation, as all activities were based on interfaces. The solution is fully used in the CI/CD production process.

Results

Thanks to the cloud-based solution, we were able to test the application on several different devices. Maximizing test coverage in the shortest possible time was key to the success of the mobile application. As our work was well received, we started working with other teams. So far, we have provided the automation of different mobile solutions. The next planned steps are to train more Quality Assurance-Developers to use the provided solution. We will work on growing the team and supporting more and more mobile solutions (ex: SDKs) delivered by OneSpan.

Thanks to the implementation of a global solution for automating tests of mobile applications and standardizing test processes, it has become possible to:

Results of a global solution for automating tests of mobile applications and standardizing test processes in OneSpan - Transition Technologies PSCResults of a global solution for automating tests of mobile applications and standardizing test processes in OneSpan - Transition Technologies PSCResults of a global solution for automating tests of mobile applications and standardizing test processes in OneSpan - Transition Technologies PSCResults of a global solution for automating tests of mobile applications and standardizing test processes in OneSpan - Transition Technologies PSC

Project shortcut

Products/services used: Quality assurance in the CI/CD process

Project Duration

Start: February 2020 – until now

Delivery Team: Two QA-Developers involved for 40 h/week, Agnieszka and Paweł QA Engineers/Developers

Key Technologies:

Key technologies used in Quality assurance in mobile applications service- global test automation in OneSpan Mobile by Transition Technologies PSCKey technologies used in Quality assurance in mobile applications service- global test automation in OneSpan Mobile by Transition Technologies PSCKey technologies used in Quality assurance in mobile applications service- global test automation in OneSpan Mobile by Transition Technologies PSCKey technologies used in Quality assurance in mobile applications service- global test automation in OneSpan Mobile by Transition Technologies PSC
Key technologies used in Quality assurance in mobile applications service- global test automation in OneSpan Mobile by Transition Technologies PSCKey technologies used in Quality assurance in mobile applications service- global test automation in OneSpan Mobile by Transition Technologies PSCKey technologies used in Quality assurance in mobile applications service- global test automation in OneSpan Mobile by Transition Technologies PSC

Sample application screenshots:

Figure 1:
Test execution pipeline (GitlabCI)

Screenshot from app. Figure 1: Test execution pipeline (GitlabCI)- global test automation for OneSpan provided by TT PSC

Figure 2:
Multiple devices test diagram

Screenshot from app. Figure 2: Multiple devices test diagram)- global test automation for OneSpan provided by TT PSC

Figure 3:
Slack notification with test summary

Screenshot from app.Figure 3: Slack notification with test summary- global test automation for OneSpan provided by TT PSC

Figure 4:
Multi-level pipeline

Screenshot from app.Figure 4: Multi-level pipeline - global test automation for OneSpan provided by TT PSC

Figure 5:High-level automation framework architecture

Screenshot from app.Figure 5: High-level automation framework architecture - global test automation for OneSpan provided by TT PSC

Figure 6:
Test results dashboard (Report Portal)

Screenshot from app.Figure 6: Test results dashboard (Report Portal) - global test automation for OneSpan provided by TT PSC

Test Farm

Test Farm - global test automation for OneSpan provided by TT PSC

_Let’s get in touch

Contact us