
- Javascript Basics Tutorial
- Javascript - Home
- Javascript - Overview
- Javascript - Syntax
- Javascript - Enabling
- Javascript - Placement
- Javascript - Variables
- Javascript - Operators
- Javascript - If...Else
- Javascript - Switch Case
- Javascript - While Loop
- Javascript - For Loop
- Javascript - For...in
- Javascript - Loop Control
- Javascript - Functions
- Javascript - Events
- Javascript - Cookies
- Javascript - Page Redirect
- Javascript - Dialog Boxes
- Javascript - Void Keyword
- Javascript - Page Printing
- JavaScript Objects
- Javascript - Objects
- Javascript - Number
- Javascript - Boolean
- Javascript - Strings
- Javascript - Arrays
- Javascript - Date
- Javascript - Math
- Javascript - RegExp
- Javascript - HTML DOM
- JavaScript Advanced
- Javascript - Error Handling
- Javascript - Validations
- Javascript - Animation
- Javascript - Multimedia
- Javascript - Debugging
- Javascript - Image Map
- Javascript - Browsers
- JavaScript Useful Resources
- Javascript - Questions And Answers
- Javascript - Quick Guide
- Javascript - Functions
- Javascript - Resources
State differences between Data Driven and Keyword Driven Framework.
The differences between Data Driven and Keyword Driven framework are described below.
In data driven testing, we can run our tests on multiple data in multiple combinations with the help of parameterization. Here the data is treated as an input to the test script logic. Each data set can be treated as a separate test case.
In keyword driven testing, the keywords that are developed represent an action. A list of keywords maintained in sequence form a test case. Thus a keyword once developed can be used in multiple test scripts.
The data driven framework revolves around the data (maintained in excel, csv or any other file) which is updated for individual test cases without making significant changes to the test script logic.
For example, for testing the login feature we can take ‘N’ number of usernames and passwords in an excel file and feed that data to the java file which contains the programming logic of automating the login functionality.
In keyword driven testing, the entire team consisting of both automation and manual testers can both contribute for testing the product. This framework is somewhat similar to the data driven framework since we are keeping the operations to be performed in excel.
Here we can customize our test case as per the requirement by mentioning the keywords or actions in the external file in a sequence.
For example, for testing the login feature we will have multiple steps like launching the browser, setting the username and password and closing the browser in the form of keywords or actions in the excel file.
- Related Articles
- Explain Keyword driven framework.
- Keyword Driven Testing Framework with Example
- Explain data driven framework.
- Explain Behavior Driven Framework.
- Explain Test Driven Development Framework.
- What is Data-Driven Testing? Learn to Create a Framework
- What is Keyword Driven Testing?
- Interrupt-driven data transfer in 8085
- What Is Data-Driven Decision-Making?
- What is Data-Driven Digital Marketing?
- Differentiate between event driven paradigm and algorithmic paradigms
- How to perform data-driven testing in Cypress?
- What is the design of quality driven data warehouse?
- Differentiate between programmed I/O and interrupt driven I/O.
- Using Data-Driven Marketing to Help Your Company’s Digital Transformation
