• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

Frameworks in Selenium

Different Frameworks in Selenium

Def 1:- It is a combination of classes, methods, applications & libraries these all will combine together to work on the application & handling

Def 2:- The structural way of maintaining the scripts is known as frame work.

2Maintains means how we are developing the scripts. Is it easy to analysis, update, execute and review the report.

2we have multiple frame works.

1) module frame work

2) Data driver frame work

3) key board driver frame work

4) Hybrid frame work

1) Modular framework:–

2It is the basic frame work and also known as linear fw.

2Application will be divided into multiple modules by the automation engg

2He will develop the scripts for all the module.

2Once the scripts are stable they will integrate in hierarchical order to execute.

Ex:-open url, login, compose, logout.

 

Interested in mastering Selenium Training? Enroll now for FREE demo on Selenium Training.

2)Data driver framework:-

2From this framework onwards, Selenium introduces external files like excel extend xml, data base a.tic to take the input data as well as to give the output results.

2It contains the driver scripts which is responsible for execution.

2Driver scripts doesn’t contain any of the test cases or test classes we will be available in the external file.

2Driver script will take the test data from the external file and executes hence we will call it has data driver framework.

Advantages:

2If any change in application it can be updated in the external file .so maintenance is easy.

2Driver script can be develop based on the common fields in the application. so it is responsible for all  kinds of application.

2when the application is under development. The driver scripts can be develop.

It is a suitable for Agile based applications

2If the application contains multiple fields like ido text boxes,100 buttons,100 check boxes etc. Not necessary to develop those many lines of code to work on an the fields ,we can use the driver scripts.

Disadvantages:-

2Developing the driver scripts is a challenge ,it needs expectation

2To take all the project related information [test data ,locators] is a challenge [problem]

Learn more about Selenium Interview Questions in this blog post.

Keyword driver Framework:-

2keyboard means a step ,it is a step by step execution

2It is very similar to manual testing

2Junit &test NG are keyword driver frameworks

2The way we have use to develop the test cases in manual testing the same can be followed in a keyboard driver framework by using j unit or test NG.

Manual:-                                  

1)pre condition

2)test scenario

3)post condition

Keyword driver:

1)Before

2)test

3)after

Advantages:

2J unit &test NG predefined frameworks so the maintains is easy

2These will provide the test report also

Disadvantages:

2It is suitable for stable applications only

Hybrid Framework:-

2combinations of any two or more framework is known as hybrid framework

For an Indepth knowledge on Selenium, click on below

Summary
Review Date
Reviewed Item
Frameworks in Selenium
Author Rating
4

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Frameworks in Selenium"

Leave a Message

Your email address will not be published. Required fields are marked *

Site Disclaimer, Copyright © 2016 - All Rights Reserved.