The Base Test Class
Learn how to set up the base test class to make the test fixtures, the driver object, and the method for opening the site's Home Page reusable.
We'll cover the following...
We'll cover the following...
The code of the base test class is shown below:
Why is the base test class needed?
The base test class is used as a parent for the test classes to avoid each test class having its own driver object and its own test fixtures. It also allows removing the code duplication for the test fixtures and the driver object.
The base test class should be used by the test classes that only need the driver object to be instantiated before ...
Why is the base class needed?