CASE STUDY ON AUTOMATION TESTING FOR LEADING DISASTER MANAGEMENT COMPANY
ABOUT BUGRAPTORS BugRaptors a CMMi level5 company is preeminent independent software testing organization, led by committed, young, and dynamic professionals with extensive expertise and experience of independent testing and QA consulting services. We maintain a distinguished level of testing services which blends top quality with cost effective solutions. The proficiency we have gained in software testing and QA services over the years by implementing latest tools and technologies ensures that client’s product is launched with highest degree of quality.
THE CLIENT The client is a global leader of disaster management companies. Client is committed to provide emergency management principles that deliver customers with the required expertise, bandwidth, and tools to track and account for assets and personnel, to manage all-hazard emergency situations, and to save lives. It looked for a QA and Testing partner who could help to set up their QA and test process and provide one stop testing solutions to all their needs.
ABOUT PROJECT Our client had a SaaS based web application that mitigate risks, improve emergency preparedness and response, facilitate interagency collaboration, provide emergency response logistics and resource management, and assist in recovery from natural and man-made disasters. Some of the key features of application are: • • • • • • • •
Emergency Response Logistics Emergency Management Software Vulnerability Assessments Situational Awareness Incident Management Inventory / Warehouse Management Fleet Management Emergency Planning
5858 Horton Street, Suite 101, Emeryville, CA 94608, United States. | +1.240.241.6903
|
info@bugraptors.com
CHALLENGES There were numerous challenges faced in testing the application system. •
•
•
•
•
End-to-End testing – Client expected End-to-End testing every time and on each build delivered to him. Long test cycles had to be implemented to ensure the quality and avoid issue leakage, which affected deadlines. Improved test coverage – Client had a growing application, so he anticipated improved test coverage for continuous enhancements in the application that covered all implemented functionalities. Device and OS compatibility – Another challenge was to test the application on multiple devices and platforms. The same web application would be running on different devices and operating systems. Frequent change in customer requirements – Due to unique nature of disaster management application, client was uncertain about the requirements therefore there were rapid changes in the application that were to be delivered in tight timelines. Multiple Module Integration – Application had complex integration of multiple modules that had different page level access for different user types. Covering all these permutation and combinations by manual testing affected the quality of the build as there were slippages.
HOW BUGRAPTORS HELPED As the application was very vast we had to ensure that all the scenarios are covered. Therefore we created test cases covering all permutation and combinations. These extensive test cases were converted to test scripts. The answer to all challenges BugRaptors decided that the best approach was to automate the application. We designed an automation suite to testing that provided the solution of delivering of a thoroughly tested build every time and to make QA process faster. BugRaptors choose Selenium to automate client’s application because it is open source, supports multiple languages and is platform independent.
BugRaptors proposed a solution to meet all clients’ expectation using: • •
Selenium Web Driver for web application Selenium Web driver with Appium TestNG for device coverage.
5858 Horton Street, Suite 101, Emeryville, CA 94608, United States. | +1.240.241.6903
|
info@bugraptors.com
We designed a customized Automation framework to support client’s complex architecture. As a framework makes the connection to the database, maintains library and uses user defined function throughout the script. BugRaptors developed a comprehensive automated regression test suite for client’s disaster management website. Test suites were developed considering facts for increased reusability and maintainability. Once the framework was in place, the page object design pattern was utilized in which classes were created for each page in the application. The page object classes provided an interface for the testers to interact with each page. The framework automatically generates reports of the test run and shows the results in an easy-to-read format. The reports specified about where application failures occurred and what test data was used.
CLIENT BENEFITS • • •
• •
•
Reduced test cycle time by 70% - Automated test scripts reduced the manual execution time of testing considerably. As these test suites can be run on parallel machines thus saving a time. Reliable, scalable, and maintainable framework – Bugraptors developed customized framework that had basic standardization and uniformity and thus delivered expected results. Reusable test suites for regression – Re-usable Test suites were used in succeeding regression cycles. Priority was set of test suites depending on business impact, critical and frequently used functionalities. Selection of test cases based on priority greatly reduced the regression test suite. Comprehensive test execution reports – Readable and easily understandable test execution reports listed out the count of failures in test suites along with test case ids. Exhaustive test case coverage – Due to complex nature and integration of multiple modules, test coverage was an important aspect of quality in the application. Automated test scripts covered all the scenarios and cases. Prioritized test scripts – Test scripts were executed in batch, based on the attributes (for e.g. ID, Category, Priority) or a specific test script depending on the functionality to be tested in hand.
RESULTS Client was very happy as it reduced the testing time and cost. Reduction in manual test cycles and execution of automation scripts improved quality of the website considerably. And the project was a good learning experience for our team.
5858 Horton Street, Suite 101, Emeryville, CA 94608, United States. | +1.240.241.6903
|
info@bugraptors.com