Who is the Client

A US-based medical equipment company with over $3B annual sales that provides cloud-connectable medical devices to treat respiratory conditions.

The Challenge

The client connects with its customers and sells the medical devices and related products online through a B2B e-commerce website. They had monthly software releases in queue, but lack of automated regression testing was adversely affecting these release cycles. The client needed to automate their B2B e-commerce application testing, eliminating all manual testing efforts for both new and current functionalities.

Additionally, the customer urgently needed a tracking mechanism to ease the management and associated defects with these test cases to meet their B2B e-commerce application's ever-changing needs.

The Solution

GSPANN followed the agile approach to understand the requirement quickly and built an end-to-end test automation solution for the client. We built a test automation framework by leveraging a Cucumber-based behavior-driven development (BDD) framework for user interface (UI) and application programming interface (API) testing. This test automation framework was leveraged to build a test automation suite based on the BDD framework. We extended the framework using Java and Cucumber to automate API testing and implemented Java Database Connectivity (JDBC) to validate various e-commerce fields directly from the Oracle database. The implemented framework is flexible and can be easily scaled to support the future enhancements.

We also integrated test management and bug tracking by using TestRail APIs to post test results into the tool and in Jira stories beside using TestRail to capture the test cases. Sanity checks and regression testing ensured defect-free releases, while integrated Atlassian Jira (defect management tool) with TestRail (test case management tool) allowed easy tracking of test cases and associated defects. This mapping helped us provide test reports and measure progress.

The execution of testing scenarios was automated through Jenkins. We mapped test cases in TestRail with user stories in Jira for easy traceability of defects associated with each failed test case. We implemented an email notification process to send alerts, notifications, and reports to the stakeholders. The daily site verification for sanity checks on software builds ensured the stability of the B2B e-commerce application. The automation and use of tools have simplified progress-tracking and reviewing application history for audit purposes.

Business Impact

  • Increased test automation coverage. Reduced regression testing time for the e-commerce application by 50% via automated execution of 400+ test cases.
  • Reduced total regression cycle time for UI, API, and DB. Validation time was reduced from 3 days to under 2 hours.
  • Enabled multitasking. Reduced the test execution time from 3 hours 45 minutes to under 2 hours via a Cucumber-JVM parallel plugin.

Technologies Used

Atlassian Jira and Confluence. To manage sprint stories and provide online team collaboration
Selenium. A portable framework for testing web applications that authors functional tests without using any test scripting language
Rest Assured API. API automation library
Cucumber. A testing tool that supports Behavior-Driven Development (BDD) and offers a way to write easy-to-understand test cases
Maven and Jenkins. CI/CD build and deployment tool
TestRail. A web-based test case management software used to efficiently manage, track, and organize test cases
Oracle JDBC Java Library. Driver connecting Java framework with Oracle database
Atlassian BitBucket. Version control and source code management tool

Related Capabilities

High-Quality Applications Enabling Faster Business at all Times

Quality automated testing, high-frequency development releases, and large codebases prepare applications for the ever-changing business demands and technology upgrades/changes. Our rigorous testing processes take care of all these functionalities in the shortest timespan, ensuring application stabilization, least code breaks in high-frequency releases, and adequate testing.

Do you have a similar project in mind?

Enter your email address to start the conversation