|
|
|
|
This task allows you to execute a command on the Symbian device (hardware or emulator).
<executeOnSymbian> task contains two sub-tasks:
<cmdSymbian>: This task is used to run a STAT
command on the Symbian board. You need to specify the STAT commands that need
to be run using statCommand attribute. While running this task you
have the following options:
statCommand: This is the STAT command that you need
to run.
output: The result will be printed to the file
specified, otherwise it will be printed to stdout and/or to the logfiles.
sync: To run the command asyncronously to the
current thread set this attribute to false. The command will be terminated only
when completed, when the timeout occurs or at the end of the current task
(whichever is first). By default sync is true and the current
thread will wait till the command is completed or the timeout occurs.
<testExecuteScript>: This task is used to run a
test on the device. It is a TEF script file which will be transfered, run and
results are retrieved to the TestDriver result folder. It provides the
following attributes:
TEF Scripts accepts only variables in the PCPath and not accept
wildcards. During the build phase of the TestDriver all scripts are collected
into the repository and packaged into an .SIS file.
In the run phase, if the PlatSec is on, the scripts will be transfered and installed at the beginning of the task, and uninstalled and deleted at the end of the task. If PlatSec is off, the files in the repository will be transfered at the beginning of the task and deleted at the end of the task.
<testExecuteScript> provides the following attributes:
PCPath
SymbianPath
For details on PCPath and SymbianPath, see
transferToSymbian task.
<rtest>: This task is deprecated.
For example xml file, see Example for <executeOnSymbian>