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

AwedExuberance avatar
AwedExuberance
·
·
Download

Start Quiz

Study Flashcards

Questions and Answers

Which implementation of the POI library is used to read XLS files?

HSSF

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 in the Selenium Framework?

To execute the test cases

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

<p>To help in code maintenance</p> Signup and view all the answers

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

<p>To perform actions corresponding to keywords</p> Signup and view all the answers

What is the file extension for Excel files in the POI library?

<p>.xlsx</p> Signup and view all the answers

What is the purpose of the ReadGuru99ExcelFile.java class in the Selenium Framework?

<p>To read data from an Excel file</p> Signup and view all the answers

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

<p>ReadObject</p> Signup and view all the answers

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

<p>To click on a web element</p> Signup and view all the answers

Which method is used to get the URL of the application in the UIOperation class?

<p>gotoURL</p> Signup and view all the answers

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

<p>getText</p> Signup and view all the answers

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

<p>To find a web element by xpath</p> Signup and view all the answers

Which file format is being read in the ExecuteTest class?

<p>.xlsx</p> Signup and view all the answers

What is the purpose of the testLogin method in the ExecuteTest class?

<p>To read test cases from an Excel file</p> Signup and view all the answers

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

<p>Data Driven Framework</p> Signup and view all the answers

What are the benefits of using a Selenium automation framework?

<p>All of the above</p> Signup and view all the answers

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

<p>POI</p> Signup and view all the answers

What is the purpose of a Selenium automation framework?

<p>To make code maintenance easy and efficient</p> Signup and view all the answers

Which type of framework is a combination of Data Driven Framework and Keyword Driven Framework?

<p>Hybrid Driven Framework</p> Signup and view all the answers

What are the three types of frameworks created by Selenium WebDriver?

<p>Data Driven Framework, Keyword Driven Framework, Hybrid Driven Framework</p> Signup and view all the answers

What happens if code and data are placed at the same location in Selenium automation?

<p>Code becomes neither reusable nor readable</p> Signup and view all the answers

Which type of framework combines the advantages of both Keyword driven and Data driven frameworks?

<p>Hybrid Framework</p> Signup and view all the answers

What is the purpose of the HybridExecuteTest.java file in the Hybrid framework?

<p>To replace the ExecuteTest.java file</p> Signup and view all the answers

Which file is used to maintain test cases in the Hybrid framework?

<p>TestCase.xlsx</p> Signup and view all the answers

What is the role of the UIOperation class in the Hybrid framework?

<p>To perform operations on the UI</p> Signup and view all the answers

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

<p>Keyword Driven Framework</p> Signup and view all the answers

What is the advantage of using Excel files for maintaining test cases in the Hybrid framework?

<p>Allows for data-driven testing</p> Signup and view all the answers

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

<p>Data Driven Framework</p> Signup and view all the answers

What is the purpose of the ReadObject class in the Hybrid framework?

<p>To read object repository</p> Signup and view all the answers

What is the complete pictorial representation of the Hybrid framework?

<p>Selenium Framework: Keyword Driven &amp; Hybrid</p> Signup and view all the answers

Use Quizgecko on...
Browser
Browser