gssettingsuis/Gs/tsrc/public/basic/test.xml
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:20:44 +0100
branchRCL_3
changeset 54 7e0eff37aedb
parent 0 8c5d936e5675
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

<?xml version="1.0" encoding="ISO-8859-1"?>
<test>
	<name>Gs - Automated Tests</name>
    <target>
        <device rank="none" alias="DEFAULT">
            <property name="HARNESS" value="EUNIT" />
            <property name="TYPE" value="Ariane" />
        </device>
    </target>
    <plan name="Gs - S60 5.0 Test Plan" harness="EUNIT" enabled="true" passrate="100">
        <session name="session" harness="EUNIT" enabled="true" passrate="100">
            <set name="set" harness="EUNIT" enabled="true" passrate="100">
                <target>
                    <device rank="master" alias="DEFAULT"/>
                </target>
                <case name="Test Case 1" harness="EUNIT" enabled="true" passrate="100">
                    <flash target-alias="DEFAULT" images="ATS3Drop/images/sydo_gs_ats3_image.fpsx" />
                    <flash target-alias="DEFAULT" images="ATS3Drop/images/sydo_gs_ats3_image_udaerase.fpsx" />

                    <!-- Create CTC coverage result folder -->
                    <!-- MANDATORY STEP -->
                    <step name="Create CTC log dir" harness="EUNIT" enabled="true" passrate="100" significant="false">
                        <command>makedir</command>
                        <params>
                            <param dir="c:\data\ctc\"/>
                        </params>
                    </step>

                    <!-- Install testmodule MT_GSFramework -->
                    <step name="Install testmodule MT_GSFramework DLL" harness="EUNIT" enabled="true" passrate="100" significant="false">
                        <command>install</command>
                        <params>
                            <param component-path="ATS3Drop"/>
                            <param type="binary"/>
                            <param src="MT_GSFramework.dll"/>
                            <param dst="c:\sys\bin\MT_GSFramework.dll"/>
                        </params>
                    </step>
                    <step name="Install testmodule T_GSBackgroundImage DLL" harness="EUNIT" enabled="true" passrate="100" significant="false">
                        <command>install</command>
                        <params>
                            <param component-path="ATS3Drop"/>
                            <param type="binary"/>
                            <param src="T_GSBackgroundImage.dll"/>
                            <param dst="c:\sys\bin\T_GSBackgroundImage.dll"/>
                        </params>
                    </step>
                    <step name="Install testmodule T_GSListBox DLL" harness="EUNIT" enabled="true" passrate="100" significant="false">
                        <command>install</command>
                        <params>
                            <param component-path="ATS3Drop"/>
                            <param type="binary"/>
                            <param src="T_GSListBox.dll"/>
                            <param dst="c:\sys\bin\T_GSListBox.dll"/>
                        </params>
                    </step>
                    <step name="Install testmodule MT_CGSLauncher DLL" harness="EUNIT" enabled="true" passrate="100" significant="false">
                        <command>install</command>
                        <params>
                            <param component-path="ATS3Drop"/>
                            <param type="binary"/>
                            <param src="MT_CGSLauncher.dll"/>
                            <param dst="c:\sys\bin\MT_CGSLauncher.dll"/>
                        </params>
                    </step>

                    <!-- Start CTC manager -->
                    <!-- MANDATORY STEP -->
                    <step name="CTC start" harness="EUNIT" enabled="true" passrate="100" significant="false">
                        <command>execute</command>
                        <params>
                            <param file="z:\sys\bin\ctcman.exe"/>
                        </params>
                    </step>

                    <!-- Create EUnit log dir -->
                    <!-- MANDATORY STEP -->
                    <step name="Create EUnit log dir" harness="EUNIT" enabled="true" passrate="100" significant="false">
                        <command>makedir</command>
                        <params>
                            <param dir="c:\shared\eunit\logs\"/>
                        </params>
                    </step>

                    <!-- Execute tests -->
                    <step name="Execute tests" harness="EUNIT" enabled="true" passrate="100" significant="true">
                        <command>execute</command>
                        <params>
                            <param parameters="/l xml /e s60appenv /t 90 /p All /w 30 /r warning MT_GSFramework MT_CGSLauncher T_GSBackgroundImage T_GSListBox"/>
                            <param timeout="720"/>
                            <param result-file="c:\shared\eunit\logs\EUnit_log.xml"/>
                            <param file="z:\sys\bin\EUNITEXERUNNER.EXE"/>
                        </params>
                    </step>

                    <!-- Save CTC coverage data -->
                    <!-- MANDATORY STEP -->
                    <step name="Save CTC data" harness="EUNIT" enabled="true" passrate="100" significant="false">
                        <command>execute</command>
                        <params>
                            <param parameters="writefile"/>
                            <param file="z:\sys\bin\ctcman.exe"/>
                        </params>
                    </step>

                    <!-- Fetch and clean CTC data -->
                    <!-- MANDATORY STEP -->
                    <step name="Fetch and clean CTC data" harness="EUNIT" enabled="true" passrate="100" significant="false">
                        <command>fetch-log</command>
                        <params>
                            <param delete="true"/>
                            <param path="c:\data\ctc\ctcdata.txt"/>
                        </params>
                    </step>
                </case>
            </set>
        </session>
    </plan>
    <files>
        <file>ATS3Drop/images/sydo_gs_ats3_image.fpsx</file>
        <file>ATS3Drop/images/sydo_gs_ats3_image_udaerase.fpsx</file>
        <file>ATS3Drop/armv5_urel/MT_GSFramework.dll</file>
        <file>ATS3Drop/armv5_urel/T_GSBackgroundImage.dll</file>
        <file>ATS3Drop/armv5_urel/T_GSListBox.dll</file>
        <file>ATS3Drop/armv5_urel/MT_CGSLauncher.dll</file>
    </files>

    <!-- Send ATS3 test reports -->
    <postAction>
        <type>SendEmailAction</type>
        <params>
            <param name="type" value="ATS3_REPORT"/>
            <param name="to" value="tomi.t.tolvanen@nokia.com;mika.kalkainen@nokia.com;ext-yang.1.lu@nokia.com"/>
            <param name="subject" value="ATS3 report for §RUN_NAME§ §RUN_START_DATE§ §RUN_START_TIME§"/>
            <param name="send-files" value="true"/>
        </params>
    </postAction>

    <!-- File store action sends the ATS3 report to \\ousrv058. -->
    <!-- MANDATORY POST ACTION -->
    <postAction>
        <type>FileStoreAction</type>
        <params>
            <param name="to-folder" value="\\ousrv058\data$\ATS3Reports\S60_5_0\Sydo\Devicemanagement\Gs\"/>
        </params>
    </postAction>
</test>