Testing Frameworks Supported By Selenium

Testing Frameworks Supported By Selenium

• Testing Framework is used in Selenium to Group Test Cases, Prioritize Test Cases, Execute Test Batches, Data Driven Testing and Generate Test Reports.

• You know Selenium Supports various Programming (Java, C#, Perl, Python, Ruby and PHP) Environments to write Programs (Test scripts).

Selenium is used for automating web applications for testing purposes, but it does not include a testing framework. Some testing frameworks that can be used with Selenium are listed below.

i) Testing Frameworks available for Java,



ii) Testing Frameworks available for C#,



iii) Testing Frameworks available for JavaScript,




iv) Testing Frameworks available for PHP

Behat + Mink

v) Testing Frameworks available for Python




robot framework

vi) Testing Frameworks available for Ruby


Note: We can use any one Testing Framework in Selenium that depends on Programming platform.

Example: If we use Java Programming Environment then we can use either JUnit or TestNG Framework.

JUnit Framework 

It is a Testing Framework used by developers to implement unit testing in Java, It is also used with Selenium for Functional and Regression Test Automation. 

JUnit Framework can be easily integrated with either Eclipse or Ant or Maven.

TestNG Framework 

TestNG is a Testing framework designed to simplify a broad range of testing needs, from Unit Testing to System Testing.

Initially developed for Unit Testing, now used for all kinds of Testing. 

TestNG is an open source framework, where NG stands for Next Generation. 

TestNG inspired from Junit (Java platform) and NUnit (.NET platform), but introduced some new functionalities that make it more powerful and easier to use. 

NUnit Framework 

NUnit is an open source Unit Testing Framework for Microsoft .NET Development Platform. It is also used with Selenium(for C# Programming) for Functional and Regression test Automation.

It serves the same purpose as JUnit does in the Java platform.
Related Posts:

TestNG Testing Framework Videos


Post a Comment