#70
[Maven] Execute Selenium Test Cases
Following properties must be defined :
selenium.server.host : Selenium Standalone server hostname/IP
selenium.server.port : Selenium Standalone server port
<!-- Surefire Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>2.13</version> <configuration> <environmentVariables> <selenium.server.host>${selenium.server.host}</selenium.server.host> <selenium.server.port>${selenium.server.port}</selenium.server.port> </environmentVariables> <includes> <include>**/selenium/**/*.java</include> </includes> <excludes> <exclude>**/*Oracle*.java</exclude> <exclude>**/*Dao*.java</exclude> <exclude>**/*Service*.java</exclude> </excludes> </configuration> <executions> <!-- Firefox --> <execution> <id>integration-test-FF</id> <goals> <goal>integration-test</goal> </goals> <configuration> <environmentVariables> <selenium.browser>firefox</selenium.browser> <selenium.browser.version>8</selenium.browser.version> </environmentVariables> </configuration> </execution> <!-- Verify --> <execution> <id>verify</id> <goals> <goal>verify</goal> </goals> </execution> </executions> </plugin>
[Maven] Execute SSH Bash command [Maven] Execute SQL/PL-SQL script/command
Comments are currently closed.