About the Client
- A privately held corporation that designs, manufactures, and sells lighting products
- Largest online lighting retailer in the US with a network of large ecommerce sites and store locations
- Product portfolio includes portable lighting, fixture lighting, home décor items and a variety of other related products
The client operated several ecommerce storefronts, powered by a single back end platform, each site having different themes and targeting different customers for home furnishing. It took the QA team 3 days to test the entire set of website whenever functional changes were made.
There was a need to reduce manual testing time and improve test accuracy. The client wanted a test automation framework that could handle frequent deployments by executing the test scripts to run parallelly across browsers and OS.
Need help with a Selenium Test Automation project?Contact Silicus Sales
Silicus selected Selenium to develop the test automation framework for its strong compatibility with OS and browsers, and integration options with source code management, continuous integration and test management frameworks. The technology stack included Selenium Web Driver, and TestNG with Java as the programming language.
Silicus created a test automation framework on Selenium, developing test scripts to handle OS and browser types, device types ranging from Laptops to Smart Phones running Android and iOS, and different functional modules. The testing process was accelerated by leveraging Selenium Grid, where multiple test cases were executed in parallel across OS’ and browsers.
Silicus set up a process where bugs were identified and fixed at early stages of development through smoke testing. The test scripts were executed every 15 days, in line with the development sprint cycle, with focus on regression testing to check existing functionality breakage due to new code being added.
The Selenium framework integrated with JIRA for bug tracking, Jenkins for continuous integration and test script execution, and Appium for managing test scripts for mobile platforms.
Test Link was used to maintain test cases and to verify test results generated by the Automation scripts.
For each of the E-commerce storefronts, following pages were tested:
- Create / Manage Account
- Product Details
- Order Submission
- Order Review and Payment
Windows, iOS, Android
3rd Party Integrations
Test Link, Jenkins, Appium
Test Automation Framework
Selenium (Selenium Web Driver, Selenium Grid)
Reduced Time & Effort
Test cases were executed in just 3 hours as compared to 3 days taken for Manual QA, a significant reduction in time and effort. Smoke testing helped to identify bugs at an earlier development stage, further reducing developer time and effort.
Parallel Execution & Reusability
Appium cross platform framework was used to write test scripts for iOS and Android environments with the same APIs enabling code reuse between iOS and Android test suites. The Selenium Grid helped run multiple test cases in parallel environment over a wide array of OS and Browsers.