Introduction
This final chapter is a working set of sample classes to demonstrate some of the best practices and standards that were discussed in this book. Users should be able to take the sample classes and run them in their own IDE after setting up their Selenium development environment.
The samples were built using Chrome, Firefox, and IE11 browsers. Users should download the latest Selenium 3.x JAR files, TestNG JAR files, and the required browser driver releases to support them. The following JARs and files are required to get the sample tests running:
- Java 1.8 SDK and JRE
- IntelliJ IDEA 2017.3
- Selenium 3.7.1 WebDriver JARs
- TestNG 6.11 JARs
- ExtentReports 3.1.0 JARs
ChromeDriver.exe
2.33 (Windows 32-bit; there is no current 64-bit driver)- Firefox
GeckoDriver.exe
0.19.1 (Windows 64-bit) IEDriverServer.exe
3.7.1 (Windows 32-bit; runs faster than the 64-bit driver)- Chrome browser 62.0
- Firefox browser 57.0
- Internet Explorer browser 11.0
Users must place the files in a project folder in their IDE and...