Interview Questions

Selenium WebDriver - What is Datadriven framework & Keyword Driven ?

Selenium WebDriver Interview question and Answers


(Continued from previous question...)

Selenium WebDriver - What is Datadriven framework & Keyword Driven ?

Datadriven framework- In this Framework , while Test case logic resides in Test Scripts, the Test Data is separated and kept outside the Test Scripts.Test Data is read from the external files (Excel File) and are loaded into the variables inside the Test Script. Variables are used both for Input values and for Verification values. act.sendKeys(Keys.ENTER);

act.sendKeys(Keys.ENTER);

Keyword Driven framework- The Keyword-Driven or Table-Driven framework requires the development of data tables and keywords, independent of the test automation tool used to execute them . Tests can be designed with or without the Application. In a keyword-driven test, the functionality of the application-under-test is documented in a table as well as in step-by-step instructions for each test.

(Continued on next question...)

Other Interview Questions