Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Typical use cases

Following are some of the typical uses cases of the TestDriver:


Manual

Complete the following to run the tests manually using the TestDriver:

  1. Run testdriver config --export a.xml in the command line.

  2. Edit a.xml file to set the required configuration.

  3. Run testdriver config --import a.xml command line

  4. Run testdriver build using the preset configuration from the config

  5. Check the results of the build both in the TestDriver0_0.log file and in the HTML page in the repository root.

  6. Run testdriver run command.

  7. Check the results of run both in the TestDriver0_0.log and in the HTML page in the resutls root.

[Top]


Automatic

Complete the following to run the automated tests using the TestDriver:

  1. Run testdriver config --export b.xml.

  2. Edit b.xml file to set the configuration required.

  3. Add b.xml file to the version control system.

  4. Create the scripts to import the configuration, build and run the testdriver

  5. Place the scripts in the automated build system.

  6. Analyse the results.

  7. Run the automated build system.

  8. Analyse the results.

[Top]


UCC

Complete the following to run the tests with UCC:

UCC use case: Run "testdriver help config" to investigate the possible commands for the config switch -> Run "testdriver config --source c:\src -x c:\xml" to configure testdriver -> Set up UCC -> Run "testdriver run -f localhost:1234" to run with UCC.

  1. Run the testdriver help config command to investigate the options available for the config command. For more details, see config

  2. Run testdriver config --source c:\src -x c:\xml command to configure the testdriver.

  3. Set up the Use Case Controller (UCC)

  4. Run testdriver run -f localhost:1234 command to run with UCC.

[Top]


Remoting

Complete the following to run the tests remotely using the TestDriver:

  1. Configure and run a testdriver build

  2. Setup the Server

  3. Package a build

  4. Run the package on a remote system

For more details on running the tests remotely, see Running test remotely. For the options available to run the tests remotely, see runremote

[Top]


Emulator

Complete the following to run the tests on an emulator:

  1. Build the TestDriver using testdriver build -p winscw

  2. Run the TestDriver using testdriver run -p winscw.

  3. Use the --commdb switch to automatically add WinTAP to the emulator.