The TestNG examples used in this chapter will be using TestNG version 6.9.4 and the Maven failsafe plugin version 2.17. If you use older versions of these components, the functionality that we are going to use may not be available.
To start off, we are going to make some changes to our POM le. We are going
to add a threads property that will be used to determine the number of parallel threads used to run our checks. Then, we are going to use the maven-failsafe plugin to con gure TestNG:
<properties> <project.build.sourceEncoding>UTF-8 </project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8 </project.reporting.outputEncoding> <!-- Dependency versions --> <selenium.version>2.45.0</selenium.version> <!-- Configurable variables --> <threads>1</threads>
Comments
0 comments
Please sign in to leave a comment.