top of page
Search
Writer's pictureTuyen Nguyen

Selenium Testing Framework

Updated: Jul 29

What is Selenium Testing framework


Selenium Testing Framework is a code structure for making code maintenance more simpler, increase code readability. A framework involves breaking the entire code into smaller pieces of code, which test a particular functionality.


In that structured framework, the "data set" is separated from the actual "test case" or code, which will test the software. It can also be structured in a way, wherein the test cases that need to be executed are called/invoked from an external resource.


There are a number of frameworks out there, but 3 commonly standing-out used Selenium frameworks are:

I will have a particular post for expanding in the detail of each above framework.


Benefits of Selenium Testing Framework


Without a framework in place, there will be the case that one test case will comprise the entire test functionality. The scariest part is, this single test case has the capability to rise up to a million lines of code. So it's pretty obvious that a massive test case will be difficult to read. Even if we want to make a modification to any functionality of the software, then it will be a nightmare in modifying the code.


Since the test cases become bigger and bigger, the framework will offer us various benefits:

  • Increase the code usage

  • Improve the code readability

  • Higher portability

  • Reduce script maintenance

40 views0 comments

Comments


bottom of page