TestExecute tests are relatively new test types used for testing Symbian OS components and should be defined using the testExecuteTest.dtd
. The logs of these tests are written to file.
Test Execute tests use scripts to execute a series of test steps defined in one or several Test Execute servers. These servers
also need to be defined using the testExecuteServer.dtd
, see Defining TestExecute Servers.
Below is an example of how to create a Test Execute test XML file, SimpleTest.xml
.
<?xml version="1.0"?>
<!DOCTYPE testExecuteTest SYSTEM "c:\program files\common files\symbian\testExecuteTest.dtd" [ ]>
<testExecuteTest>
<name>simpleTest</name>
<timeout>120</timeout>
<copyFrom src="c:\testdriver\test.txt" dst="test.txt"/>
<beforeTestRun cmd="C:\WINNT\notepad.exe"/>
<afterTestRun cmd="c:\WINNT\notepad.exe"/>
<testScripts>
<script>
<hostPath>TestX\Test\Data\Source\SimpleTestExecuteTest\Scripts\SimpleTest.script</hostPath>
<devicePath>c:\SimpleTest\simpletest.script</devicePath>
</script>
<script>
<hostPath>TestX\Test\Data\Source\SimpleTestExecuteTest\Scripts\simpletest1.script</hostPath>
<devicePath>c:\SimpleTest\simpletest1.script</devicePath>
</script>
</testScripts>
<testServers>
<server>simpleServer</server>
</testServers>
</testExecuteTest>
|