Using TestDriver with platform security

TestDriver works with platform security (PlatSec). When using the TestDriver with PlatSec, we need to install an application using an installation file (SIS file). TestDriver must be told if PlatSec is ON or OFF.

To configure the TestDriver to use with PlatSec, use the --platsec ON option with the build, run or config commands. You can set the following platsec modes:

  • testdriver config --platsec ON will turn the .sis packaging ON. Use this option for Hardware Testing on Platsec builds.

  • testdriver config --platsec OFF will turn the .sis packaging OFF. Use this option for Emulator Testing or Hardware Testing on the non-Platsec builds.

When PlatSec is ON, the TestDriver does the following:

  • The testdriver build command creates a signed SIS file of the child tasks, namely <build>, <transferToSymbian> and <testExecuteScripts>

  • The testdriver run command

    1. uploads and installs the SIS file (that is created during build phase) at the start of a task on the development board.

    2. uninstalls and deletes the SIS file at the end of the task

You can always bypass this setting by forcing the command line using --platsec ON or --platsec OFF.