Manual Build & Run

To run it manually instead of automatically:

  1. In Eclipse, open the SeleniumCubicTest project. Run "tomcatFromScratch/antTomcatFromScratch.xml" as an ant build -- follow the prompt and build the .war file as it specifies. Wait until the build completes (you may have to check the console). If it fails you may have to edit the build.properties in tomcatFromScratch
  2. In Eclipse, go to the "Servers" view and start up Tomcat (sometimes, if you want to use Debug mode, you may have to turn off Eclipse's automatic refreshes, because that may get Eclipse Tomcat into perpetual restarts).
  3. Open "SeleniumCubicTest/tomcatFromScratch/TestFromScratch.aat". Right click, "Run As..." -> "Run CubicTest with Selenium".
    1. If you want to test the Survey Manager survey creation (which mostly needs testing by hand), you can alternatively run TestSurveyManagerFromScratch.aat -- which includes the same initialization as TestFromScratch.aat.