Transfer to Symbian
This task transfers a file from your PC to the Symbian device (hardware
or emulator).
In the build phase of TestDriver, all files specified in the
<transferToSymbian>
operation is collected in a repository
and a SIS package is created irrespective of PlatSec being on or off.
In the run phase of TestDriver, if the PlatSec is on, the SIS file is
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
are transfered at the beginning of the task and deleted at the end of the task.
The sub-task <transfer>
transfers a file from your PC
to the Symbian device. When used with <transferToSymbian>
,
wildcards and variables are allowed.
This sub-task has the following attributes:
-
PCPath
: Path to the file on your PC. It accepts the
following variables: "${epocroot}", "${sourceroot}", "${xmlroot}",
"${platform}" and lastly "${build}"
. Wildcards and variables are allowed
while defining the PCPath
.
These variables point to locations and settings specified in the
testdriver config
command. If these variables are used for
creating an absolute path then the wildcard "*" can be used to copy all files
in a directory. For example,
${epocroot}\a\b\${platform}\${build}\d\e\*"
will copy all files
from the e
directory to the Symbian device.
-
SymbianPath
: Path to a file on the Symbian device. This
must be an absolute and a valid path.
-
move
: When set to true
files are moved to
the specified path, and when set to false
files are copied in the
specified path.
Example for <transferToSymbian>
An example xml file to describe a <transferToSymbian>
task is provided below:
<transferToSymbian>
<transfer move="false" PCPath="${epocroot}\epoc32\release\${platform}\${build}\z\systemtest\pt_agenda.ini" SymbianPath="c:\systemtest\pt_agenda.ini"/>
<transfer move="true" PCPath="${epocroot}\epoc32\release\${platform}\${build}\z\systemtest\systemtest.vcs" SymbianPath="c:\systemtest\systemtest.vcs"/>
<transfer move="true" PCPath="${epocroot}\epoc32\release\${platform}\${build}\z\textfiles\*" SymbianPath="c:\systemtest\"/>
</transferToSymbian>