October 2018
Intermediate to advanced
192 pages
5h 12m
English
Create the following packages in src/main/java:
In the org.packt.testbase package, create our TestBase class. This will serve as the base class for all of our classes.
This base class has methods for the following:
You can add additional methods to this test base and the changes will percolate throughout the framework since all of our classes will extend the test base. The following code shows the declarations, the various methods for sending different keystrokes, and clicking elements:
public class TestBase { public static WebDriver driver ...Read now
Unlock full access