Tests
Running Tests
Run XForms Selenium Tests
Adding Tests
In order to add a new test, the following procedure should be followed:
-
Create the test form in the appropriate ././html directory.
-
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:
-
instructions on writing selenese can be found here,
-
and TestOutput.html is a reasonable
document to use as a kick-start/template.
-
Add a row:
<tr><td><a
href="TestSomething.html">TestSomething</a></td><tr/>
to the table with @id="suiteTable" in the appropriate TestSuite.html
-
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.)