Getting Started

Installation of SVS Test Development Tool

SITK Workbench is an Eclipse perspective that provides options to install or uninstall the SVS Test Development tool, start the tool, view the configuration windows, refer to their documentation, and so on. For more information about getting started and installing or uninstalling the SVS Test Development tool refer to Introduction to the System Integration Toolkit » SITK Workbench Guide.

Note: The tool needs Carbide v1.3 to function as expected. Installation into Eclipse or Carbide v1.2 does not enable all the functionality.

Quick start guide

This Quick start guide is intended to show the minimum steps necessary to create, edit and run the project, and view the result in SVS Test Development tool. Minimal or no explanation is provided for each step and you must refer to the relevant sections for more comprehensive information on any given step.

Create a project

To create the test project complete the following steps:

  1. Click File > New > Project > Symbian OS C++ Project to launch the Project Creation Wizard.

  2. Select TEF Project and click Next .

  3. Type in the Project name. Select a location for the new project or accept the default location, the workspace.

  4. Click Next to select the SDKs and Build Configurations.

  5. Click Next to set the project properties in the Basic Settings page.

  6. Click Next to set the project related directories.

  7. Click Finish to create a project.

Create a test project from an existing project

To create a test project from an existing project, refer to the Carbide Help > Carbide.c++ User Guide > Creating Projects > Importing Projects from a BLD.INF File.

Create a TEF C++ code

To create a C++ test code, refer to Test Execution Framework (TEF) documentation and Carbide Help documentation.

Create a Test Data file

The Test Data file is an .ini file. To create an .ini file complete the following steps:

  1. Click File > New > Other > Symbian OS Test > TEF Ini File .

  2. Type the File name for the new .ini file.

  3. Click Finish. This creates a new Test Data ini file.

The Test Data ini file can have a Section, Data or Comment as a New Child.

Create a TEF Script file

To create a .script file complete the following steps:

  • Click File > New > Other > Symbian OS Test > TEF Script file.

  • To create a new child right-click TEF Script File > New Child.

  • To create a new sibling right-click TEF Script File and select New Sibling, then choose one of the script commands.

Create a Test Suite file

The Test Suite file is a .driver file. To create a .driver file complete the following steps:

  1. Click File > New > Other > Symbian OS Test > TestDriver file to open a new dialog box.

  2. Type a name for the new driver file. The name and the timeout can also be set in the driver file. Save the changes you have made and then exit.

  3. Click Finish to create a new driver file.

The .driver file can have many tasks. A new child or a new sibling can be created inside a task.

To add a new child right-click the driver file and select New Child, and to add a new sibling right click the task and select New Sibling.

Run the test

The create, manage and run configurations are the settings for executions that can be changed from one execution to another. The typical create, manage and run configurations can be selected such as one for Build and one for Run , and when the jobs need to be submitted the appropriate create, manage and run configuration must be selected.

Complete the following steps to run the .driver file:

  • Click Run > Run to launch the Run dialog box. The create, manage and run configuration dialog box has four tabs: Main, Arguments, Device, and Common.

  • From the main tab, select TestDriver configuration type and create a new create, manage and run configuration by clicking the top left icon or right-click the .driver file and select New.

  • Type the Name for the new create, manage and run configuration.

  • Set the Driver Location, Suite fields, Command, the platform target, and the variant.

  • Click the Arguments tab to specify the Paths variables, Build Options, Test Execution Framework Options.

  • The Hardware options and the Emulator options must be set.

  • Click Run to run the TestDriver. The result can be viewed in the Test Results Viewer window. The previous results can be viewed by right-clicking the Results XML File > Show In > Test Results Viewer.