The Test Class
Learn how to extend the base test class, include the automated tests in the test class, and use a listener for taking screenshots.
We'll cover the following...
We'll cover the following...
Each test case is automated by a test method of the VplTests class.
The test class has 3 test methods, one for each test case:
keyword_Search_Returns_Resultsany_Page_Has_Resultsnext_Page_Has_Results
A few important things about the test class need to be discussed before we proceed.
No driver object
The test class does not have a driver object. The driver object is moved from the test class to the base test class so that there are no Selenium methods and objects in the test class.
No test fixtures
The test class does not have test fixtures to set up and clean the environment. The ...