The aim of this document is to describe how to create the test XML used for defining Symbian OS tests and how the XML should be structured to represent your test suite hierarchy.
The test XML is based on four different Data Type Definition files (DTDs) which contain the correct information using appropriate tag names. These are used for describing test suites, RTests, TestExecute servers, TestExecute tests and CommandLine tests, as follows:
TestSuite.dtd
RTest.dtd
TestExecuteTest.dtd
TestExecuteServer.dtd
CommandLineTest.dtd
These DTDs can be found in an XML subfolder (after unzipping and installing TestDriver) in C:\Program Files\Common Files\Symbian
.
Once you have defined your test suite hierarchy and have the XML files in place, it is possible to create new suites based on existing tests. This is achieved using a technique called test referencing.
The sections shown below describe how the five types of test XML files should be created using the above DTDs; which tags you should use and the data they should contain. It also describes how the XML files should be stored and structured in order to create a test suite hierarchy.