вівторок, 19 січня 2016 р.

Types of Automation Frameworks

types of automation frameworks
  1. Linear – Simplest form of creating a test. Just write a one single program without modularity in sequential steps
  2. Keyword driven – Create different keywords for different set of operations and in the main script we can just refer to these keywords.
  3. Data driven – To run same set of operations on multiple sets of data that are kept in separate files, mostly excel sheets.
  4. Hybrid – A combination framework that can be partly data driven and partly keyword driven
  5. BPT – This just means that programs are broken down into business components and are used with one or the other of the above types of frameworks
link

Below are the different types of frameworks:

  1. Module Based Testing Framework: The framework divides the entire “Application Under Test” into number of logical and isolated modules. For each module, we create a separate and independent test script. Thus, when these test scripts taken together builds a larger test script representing more than one module.
  2. Library Architecture Testing Framework: The basic fundamental behind the framework is to determine the common steps and group them into functions under a library and call those functions in the test scripts whenever required.
  3. Data Driven Testing Framework: Data Driven Testing Framework helps the user segregate the test script logic and the test data from each other. It lets the user store the test data into an external database. The data is conventionally stored in “Key-Value” pairs. Thus, the key can be used to access and populate the data within the test scripts.
  4. Keyword Driven Testing Framework: The Keyword driven testing framework is an extension to Data driven Testing Framework in a sense that it not only segregates the test data from the scripts, it also keeps the certain set of code belonging to the test script into an external data file.
  5. Hybrid Testing Framework: Hybrid Testing Framework is a combination of more than one above mentioned frameworks. The best thing about such a setup is that it leverages the benefits of all kinds of associated frameworks.
  6. Behavior Driven Development Framework: Behavior Driven Development framework allows automation of functional validations in easily readable and understandable format to Business Analysts, Developers, Testers, etc.

Немає коментарів:

Дописати коментар