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.