Test Automation Framework
What is a automation framework?
An automated test framework may be loosely defined as a set of abstract concepts, processes, procedures and environment in which automated tests will be designed, created and implemented.A test automation framework is an integrated system that sets the rules of automation of a specific product. This system integrates the function libraries, test data sources, object details and various reusable modules. These components act as small building blocks which need to be assembled to represent a business process. The framework provides the basis of test automation and simplifies the automation effort.
Types of Frameworks:
1. Linear (procedural code, possibly generated by tools like those that use record and playback.
2. Structured (uses control structures - typically ‘if-else’, ‘switch’, ‘for’, ‘while’ conditions/ statements)

A Testing framework is responsible for:
- Data-driven (data is persisted outside of tests in a database, spreadsheet, or other mechanism)
- Keyword-driven
- Hybrid (two or more of the patterns above are used)
- Agile automation framework

A Testing framework is responsible for:
- defining the format in which to express expectations
- creating a mechanism to hook into or drive the application under test
- executing the tests
- reporting results

Comments
Post a Comment