Interview Questions

Selenium WebDriver - Explain what is Datadriven framework and Keyword driven?

Selenium WebDriver Interview question and Answers


(Continued from previous question...)

Selenium WebDriver - Explain what is Datadriven framework and Keyword driven?

Datadriven framework: In this framework, the test data is separated and kept outside the Test Scripts, while test case logic resides in Test Scripts. Test data is read from the external files ( Excel Files) and are loaded into the variables inside the Test Script. Variables are used for both for input values and for verification values.

Keyworddriven framework: The keyword driven frameworks requires the development of data tables and keywords, independent of the test automation. In a keyword driven test, the functionality of the application under test is documented in a table as well as step by step instructions for each test.

(Continued on next question...)

Other Interview Questions