Automated Testing Framework on Selenium for Functional Testing

Success Story.

Automated Testing Framework on Selenium for Functional Testing

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

Business Challenge

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 Solution

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:

  • Home
  • Create / Manage Account
  • Product Details
  • Sort
  • Order Submission
  • Order Review and Payment
  • Shipping

Technologies Used

Language ASP.NET MVC4
Language

Java

Language ASP.NET MVC4
Platform

Windows, iOS, Android

3rd Party Integrations QuickBooks Online (For Invoice & Payments)
3rd Party Integrations

Test Link, Jenkins, Appium

Test Automation Framework
Test Automation Framework

Selenium (Selenium Web Driver, Selenium Grid)

Testing framework
Testing framework

TestNG

Bug Tracking
Bug Tracking

JIRA

Client Benefits

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.

2700 Post Oak Blvd, Suite 1625 | Houston, TX 77056 | www.silicus.com | (866) 912-8855 | info@silicus.com

  • Houston, TX
  • Dallas, TX
  • Atlanta, GA
  • San Jose, CA
  • Pune, India

© Copyright 2016 Silicus Technologies, LLC.