Download presentation
Published byStephen Holmes Modified over 9 years ago
1
Cognizant Reusable Automation Framework for Testing C.R.A.F.T.
2
C.R.A.F.T – Introduction What? Why? Who?
Cognizant’s proprietary test automation framework Stands for Cognizant Reusable Automation Framework for Testing Follows a hybrid approach by combining the best practices of keyword driven and data driven approaches Tool agnostic framework Why? C.R.A.F.T greatly improves the quality of test automation through a well-defined set of design patterns and best practices C.R.A.F.T focuses on increased participation from business users and functional consultants in the automation process C.R.A.F.T has been in place for nearly a decade, and has matured over a wide range of project implementations across various domains C.R.A.F.T – Introduction * Any automation framework – including C.R.A.F.T – is predominantly focused on improving automation quality, and should not be looked at from a cost savings perspective. Who? C.R.A.F.T has been created by the Research and Development team from Cognizant’s Automation Centre of Excellence C.R.A.F.T is continuously enhanced and updated by the R&D team, based on feedback from the end users of the framework C.R.A.F.T has a dedicated helpdesk to assist end users with the framework implementation and troubleshooting
3
C.R.A.F.T – Architecture Execution Flow
<Test case details> Business Flow3 <Keyword Driven> Test Data5 <Data Driven> Data driving Library Support Libraries4 <Generic reusable functions> Allocator1 <Batch Execution Controller> Run Manager.xls2 <Batch Run Configurations> Test Scripts2 <One Script per Testcase> Customized Test Results6 <HTML, Excel> Component Groups Business Components Business Keywords3 <Building blocks of test cases> Reporting Utility Core Driver Script3 <Keyword processor with in-built error handling> C.R.A.F.T – Architecture Execution Flow The Allocator is the entry point of the batch execution The Allocator reads the specified batch run configuration from the Run Manager and invokes the Test Scripts accordingly The Test Scripts in turn call the Driver Script, which reads the Business Flow of the test case and passes control to the relevant Business Keywords as specified The Business Keywords leverage the Support Libraries (mainly the data driving and reporting libraries) as required The Business Keywords consume the Test Data specified in the datasheets The Test Scripts publish the Test Results at the end of every test execution
4
C.R.A.F.T for Selenium (Java)
Features Benefits Hybrid framework approach (Keyword + Data driven) Facilitates effective BA-QA interaction Test cases are broken down into business keywords Ensures increased reusability and reduced maintenance effort Keywords are strung together in an Excel sheet to form automated test cases based on the business flow Simplifies the process of creating end-to-end automated scripts and improves the automation quality Centralized test data in Excel, with provision to reuse any data common to multiple test cases Empowers functional consultants to configure test data easily Robust error handling with automatic screen capture of failures Enables uninterrupted batch execution of scripts Out-of-the-box integration with TestNG Provides a uniform test runner for unit, integration and functional tests. Also enables easy integration with continuous integration systems. Out-of-the-box integration with Selenium Grid Enables parallel execution of scripts on multiple machines to reduce the cycle time Batch execution engine Provides one-click execution facility Integrates with Windows Scheduler and MS Outlook to facilitate scheduled script execution and triggers for execution Enables unattended overnight execution and on-demand execution of scripts Customized HTML/Excel based reports Helps in easy analysis of test results Out-of-the-box integration with HP QC/ALM Leverages the end-to-end test management features of QC Selenium (Java) C.R.A.F.T for Selenium (Java)
5
Thank you
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.