Why do we need a framework while doing test automation? Why don’t we just code and make sure the script is runable? What is the advance by building a framework before implementing test cases?
Thank for advice
© 2024 AskTester
Theme by Anders Noren — Up ↑
Hi Lan,
A framework is an integrated system that sets the rule of automation of a specific product. This system integrates the function libraries, test data sources, object details and various reusable modules. The framework provides the basis of test automation and simplifies the automation effort.
Advantages of an automation framework are:
– To enable reuse and sharing of automation scripts to improve efficiency and scalability
– To manage test data and enable tests to use a range of different data.
– To reduce the test maintenance overhead.
– To provide a non-technical user interface for business user testers.
– To capture and leverage the domain knowledge of business users into a set of regression tests that can be executed repeatedly without needing the business users to be present.