profilesservices/tsrc/public/basic/test.xml
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:29:50 +0300
branchRCL_3
changeset 53 8ee96d21d9bf
parent 0 8c5d936e5675
permissions -rw-r--r--
Revision: 201033 Kit: 201035

<?xml version="1.0" encoding="ISO-8859-1"?>
<test>
    <name>ProfilesServices 5.0 Automated Tests</name>
    <target>
        <device rank="none" alias="DEFAULT">
            <property name="HARNESS" value="EUNIT" />
            <property name="TYPE" value="Ariane" />
        </device>
    </target>
    <plan name="ProfilesServices Automated 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_ProfilesServices_ats3_image.fpsx" />
                    <flash target-alias="DEFAULT" images="ATS3Drop/images/sydo_ProfilesServices_ats3_image_udaerase.fpsx" />
                    
                    <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>
                    
                    <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>

                    <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>

                    <step name="Execute tests" harness="EUNIT" enabled="true" passrate="100" significant="true">
                        <command>execute</command>
                        <params>
                            <param parameters="/l xml /e s60appenv /w 30 /r warning T_CFLDFileList T_ProfileEngine T_ProfileEngineWrapper"/>
                            <param timeout="720"/>
                            <param result-file="c:\shared\eunit\logs\EUnit_log.xml"/>
                            <param file="z:\sys\bin\EUNITEXERUNNER.EXE"/>
                        </params>
                    </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>
                    
                    <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_ProfilesServices_ats3_image.fpsx</file>
        <file>ATS3Drop/images/sydo_ProfilesServices_ats3_image_udaerase.fpsx</file>
    </files>
    
    <postAction>
        <type>SendEmailAction</type>
        <params>
            <param name="type" value="ATS3_REPORT"/>
            <param name="to" value="olli.an.makinen@nokia.com;pasi.p.keranen@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>
    
    <postAction>
        <type>FileStoreAction</type>
        <params>
            <param name="to-folder" value="\\ousrv058\data$\ATS3Reports\S60_5_0\SyDo\profile\ProfilesServices\"/>
        </params>
    </postAction>
</test>