Selenium Automation Framework: Data Driven, Keyword Driven & Hybrid (easy)

AwedExuberance avatar
AwedExuberance
·
·
Download

Start Quiz

Study Flashcards

30 Questions

Which class is used to read an Excel file in the given code?

ReadGuru99ExcelFile

Which method is used to get the text of an element in the UIOperation class?

getText

What is the purpose of the getObjectRepository method in the ReadObject class?

To read an object repository file

Which WebDriver is used in the ExecuteTest class?

FirefoxDriver

What is the purpose of the perform method in the UIOperation class?

To click on an element

What is the purpose of the ReadGuru99ExcelFile class?

To read an Excel file

What is the purpose of the getObject method in the UIOperation class?

To get the properties of an object

Which type of framework is used to separate data sets from the test case in Selenium?

Data Driven Framework

What are the benefits of using a Selenium automation framework?

All of the above

Which library is commonly used to read or write Excel files in Selenium Webdriver?

POI

What is the purpose of a Selenium automation framework?

To make code maintenance easy and efficient

How many types of frameworks are created by Selenium WebDriver?

3

What does the Data Driven Framework in Selenium allow for?

All of the above

Which type of framework is used to fetch test cases and suites from external files?

Data Driven Framework

Which library implementation is used to read XLS files?

HSSF implementation

Which library implementation is used to read XLSX files?

XSSF implementation

What is the purpose of the Keyword Driven Framework in Selenium?

To separate keywords for common set of functions and instructions

What is the role of the driver script Execute.java in the Selenium Framework?

To call ReadGuru99ExcelFile.java

Why do we need to create an object repository in the Selenium Framework?

To help in code maintenance

What is the purpose of the UIOperation class in the Selenium Framework?

To perform operations on UI web elements

What are the steps involved in the Selenium Framework?

Call ReadGuru99ExcelFile.java, read data from an Excel file, read the object repository

Which type of framework allows manual testers to create test cases without coding in the framework?

Hybrid Framework

What is the advantage of using the Hybrid Framework in Selenium?

It combines the advantages of the Keyword Driven and Data Driven frameworks

Which file needs to be replaced in the Hybrid Framework?

HybridExecuteTest.java

What does the HybridExecuteTest file contain in the Hybrid Framework?

Code for keyword driven with data provider concept

What is the purpose of the getDataFromDataprovider() method in the HybridExecuteTest class?

To get data for the hybrid framework

What is the purpose of the perform() method in the UIOperation class?

To perform operations on UI

Which framework uses Excel files to maintain test cases?

Data Driven Framework

Which framework uses TestNG's data provider for test data?

Data Driven Framework

What type of framework is a mix of the Keyword Driven and Data Driven frameworks?

Hybrid Framework

Test your knowledge of Excel file formats and learn how to read different types of Excel files using Java.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser