Tests

Running Tests

Run XForms Selenium Tests

Adding Tests

In order to add a new test, the following procedure should be followed:

  1. Create the test form in the appropriate ././html directory.
  2. Create a document called "TestSomething.html" where Something is the name of the set of tests to run on the test form. This will contain the test instructions in tabular format:
  3. Add a row:
    <tr><td><a href="TestSomething.html">TestSomething</a></td><tr/>
    to the table with @id="suiteTable" in the appropriate TestSuite.html
  4. The test will now appear in the list of tests available under the Selenium TestRunner.
Important: when writing "open" tests, the path is relative to selenium/core, so in order to reach the _testsuite directory, the path will begin with ../../ (Unless you map a drive.)