What is a Selenium framework and what are the benefits of it?

0 votes
What is a Selenium framework and what are the benefits of it?
May 12 in Selenium by Disha
29 views

1 answer to this question.

0 votes

Hi Disha, Selenium framework is a code structure for making code maintenance simpler, and code readability better. A framework involves breaking the entire code into smaller pieces of code, which test a particular functionality. The code is structured such that, the “data set” is separated from the actual “test case” which will test the functionality of the web application. It can also be structured in a way wherein, the test cases which need to be executed are called (invoked) from an external application (like a .csv).

Without a framework in place, there will be one test case which will comprise the entire test functionality. So its pretty obvious that a test case so huge will be tough to read. Even if you want to modify any functionality later, then you will have a tough time modifying the code. So  the implementation of a framework, will result in smaller but multiple code pieces.

answered May 13 by Abha
• 16,380 points

Related Questions In Selenium

0 votes
1 answer

What is Xpath and what are the types of it in Selenium Webdriver?

Hi Piyush, XPath is defined as XML path. It is ...READ MORE

answered May 8 in Selenium by Pratibha
• 2,740 points
80 views
0 votes
2 answers
0 votes
1 answer

What is JUnit and what are the features of it?

Hey Irfaan, JUnit is an open source ...READ MORE

answered Jun 11 in Selenium by Anvi
• 10,310 points
25 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,050 points
258 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
625 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
251 views
0 votes
1 answer

What are locators in Selenium and what are the different types of it?

Hi Divya, in Selenium Locators define an ...READ MORE

answered May 7 in Selenium by Abha
• 16,380 points
53 views
0 votes
1 answer