You can use a testng.xml file to help control the tests and browser used by Selenium in Tapestry. However, you have to tell Maven to look for the testng.xml file or it will ignore it. You do this by putting the following in your pom.xml -> build -> plugins:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.6</version> <configuration> <suiteXmlFiles> <suiteXmlFile>src/test/conf/testng.xml</suiteXmlFile> </suiteXmlFiles> </configuration> </plugin>
People Found This When Looking For:
- testng xml (23)
- testng xml example (5)
- tapestry testng (3)
- testng xml file (3)
- testng xml sample (2)
- what is tapestry? (1)
- testng version tapestry pom (1)
- testng testng xml (1)
- TestNG testng = new TestNG(); xml (1)
- testng tapestry (1)