Well it works a lot better if you tell it where the testng.xml files is. :)  I 
was able to get it to work by adding some configuration information to the 
build plugins of the pom.xml.  Now the tests run and it shows the correct 
number of tests.  

So to correct my list.  It looks the you need the following 5 things to switch 
to SeleniumTestCase.

1. testng.xml must configure the package containing the tests and 
SeleniumLauncher

2. The test class must extend SeleniumTestCase

3. The tests have to be run as a suite. (Calling mvn test should do this).

4. The surefire plugin must point to testng.xml

Jack

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
     <configuration>
     <suiteXmlFiles>
       <suiteXmlFile>src/test/conf/testng.xml</suiteXmlFile>
     </suiteXmlFiles>
     </configuration>
</plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to