2024-2025
Selenium - Answers automated testing framework used to validate web applications across different
browsers and platforms
Difference from Whitebox / Blackbox / Greybox testing - Answers White Box Testing is software testing
technique in which internal structure, design and coding of software are tested to verify flow of input-
output and to improve design, usability and security.
Black Box Testing is a software testing method in which the functionalities of software applications are
tested without having knowledge of internal code structure, implementation details and internal paths.
Grey Box Testing or Gray box testing is a software testing technique to test a software product or
application with partial knowledge of internal structure of the application.
Cucumber - Answers Cucumber is a testing tool that supports Behavior Driven Development (BDD)
framework. It defines application behavior using simple English text, defined by a language called
Gherkin
Gherkin - Answers It uses plain language to describe use cases and allows users to remove logic details
from behavior tests; it is used in the feature files.
What is a feature file? - Answers A Feature File is an entry point to the Cucumber tests. This is a file
where you will describe your tests in Descriptive language (Like English). It is an essential part of
Cucumber, as it serves as an automation test script as well as live documents.
What is defect/bug lifecycle? - Answers The purpose of Defect life cycle is to easily coordinate and
communicate current status of defect which changes to various assignees and make the defect fixing
process systematic and efficient.
What are steps when dealing with a feature file? - Answers file must be declared with .feature
Feature and Scenario must be declared
What is the purpose of a runner file? - Answers To run a group of feature files and the associated step
files. Cucumber uses @RunWith Junit annotation from Junit framework to run.
, What is @CucumberOptions? - Answers This annotation tells Cucumber a lot of things like where to look
for feature files, what reporting system to use, and which tags to use.
What is TDD? - Answers Software development process relying on software requirements being
converted to test cases before software is fully developed, and tracking all software development by
repeatedly testing the software against all test cases.
What is ATDD? - Answers Acceptance Test Driven Development (ATDD) aims to help a project team flesh
out user stories into detailed Acceptance Tests that, when executed, will confirm whether the intended
functionality exists.
What is BDD? - Answers (BDD) is a branch of Test Driven Development (TDD). BDD uses human-readable
descriptions of software user requirements as the basis for software tests.
How to use a datatable? - Answers feature file must be created and feature and scenario must be
declared
data table is represented as | name1 | name2 | name3 | under a gurken keyword such as When
DataTable must be imported into the objects page and steps file and used as a parameter in the
corresponding method or step and retrieved using the row and column
What is automation testing? - Answers Test automation is the practice of running tests automatically,
managing test data, and utilizing results to improve software quality.
What are the main advantages of using Test Automation? - Answers Faster Feedback Cycle. Without test
automation, feedback for newly developed features can take a while.
Team Saves Time.
Reduced Business Expenses.
How will you find an element using Selenium? - Answers Elements are found using locators.
ID, Name, Linktext, Partial Linktext, Tag Name, Class Name, DOM Locator, CSS Selector, Xpath
Difference between an implicit wait and an explicit wait? - Answers Implicit waits are used to provide a
default waiting time between each consecutive test step/command across the entire test script.