sysstatemgmt/tsrc/public/basic/test.xml
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 <?xml version="1.0" encoding="ISO-8859-1"?>
       
     2 <test>
       
     3     <name>systemstartup Automated Tests</name>
       
     4     <target>
       
     5         <device rank="none" alias="DEFAULT">
       
     6             <property name="HARNESS" value="EUNIT" />
       
     7             <property name="TYPE" value="Ariane" />
       
     8         </device>
       
     9     </target>
       
    10     <plan name="systemstartup Automated Test Plan" harness="EUNIT" enabled="true" passrate="100">
       
    11         <session name="session" harness="EUNIT" enabled="true" passrate="100">
       
    12             <set name="set" harness="EUNIT" enabled="true" passrate="100">
       
    13                 <target>
       
    14                     <device rank="master" alias="DEFAULT"/>
       
    15                 </target>
       
    16                 <case name="Test Case 1" harness="EUNIT" enabled="true" passrate="100">
       
    17                     <flash target-alias="DEFAULT" images="ATS3Drop/images/sydo_systemstartup_ats3_image.fpsx" />
       
    18                     <flash target-alias="DEFAULT" images="ATS3Drop/images/sydo_systemstartup_ats3_image_udaerase.fpsx" />
       
    19                     
       
    20                     <!-- Create CTC coverage result folder -->
       
    21                     <step name="Create CTC log dir" harness="EUNIT" enabled="true" passrate="100" significant="false">
       
    22                         <command>makedir</command>
       
    23                         <params>
       
    24                             <param dir="c:\data\ctc\"/>
       
    25                         </params>
       
    26                     </step>
       
    27                     
       
    28                     <!-- Install testmodule mt_systemstartup -->
       
    29                     <step name="Install testmodule MT_RStarterSession DLL" harness="EUNIT" enabled="true" passrate="100" significant="false">
       
    30                         <command>install</command>
       
    31                         <params>
       
    32                             <param component-path="ATS3Drop"/>
       
    33                             <param type="binary"/>
       
    34                             <param src="MT_RStarterSession.dll"/>
       
    35                             <param dst="c:\sys\bin\MT_RStarterSession.dll"/>
       
    36                         </params> 
       
    37                     </step>
       
    38 
       
    39                     <!-- Start CTC manager -->
       
    40                     <step name="CTC start" harness="EUNIT" enabled="true" passrate="100" significant="false">
       
    41                         <command>execute</command>
       
    42                         <params>
       
    43                             <param file="z:\sys\bin\ctcman.exe"/>
       
    44                         </params>
       
    45                     </step>
       
    46 
       
    47                     <!-- Create EUnit log dir -->
       
    48                     <step name="Create EUnit log dir" harness="EUNIT" enabled="true" passrate="100" significant="false">
       
    49                         <command>makedir</command>
       
    50                         <params>
       
    51                             <param dir="c:\shared\eunit\logs\"/>
       
    52                         </params>
       
    53                     </step>
       
    54 
       
    55                     <!-- Execute tests -->
       
    56                     <step name="Execute tests" harness="EUNIT" enabled="true" passrate="100" significant="true">
       
    57                         <command>execute</command>
       
    58                         <params>
       
    59                             <param parameters="/l xml /w 10 /r Warning MT_RStarterSession"/>
       
    60                             <param timeout="360"/>
       
    61                             <param result-file="c:\shared\eunit\logs\EUnit_log.xml"/>
       
    62                             <param file="z:\sys\bin\EUNITEXERUNNER.EXE"/>
       
    63                         </params>
       
    64                     </step>
       
    65                     
       
    66                     <!-- Save CTC coverage data -->
       
    67                     <step name="Save CTC data" harness="EUNIT" enabled="true" passrate="100" significant="false">
       
    68                         <command>execute</command>
       
    69                         <params>
       
    70                             <param parameters="writefile"/>
       
    71                             <param file="z:\sys\bin\ctcman.exe"/>
       
    72                         </params>
       
    73                     </step>
       
    74                     
       
    75                     <!-- Fetch and clean CTC data -->
       
    76                     <step name="Fetch and clean CTC data" harness="EUNIT" enabled="true" passrate="100" significant="false">
       
    77                         <command>fetch-log</command>
       
    78                         <params>
       
    79                             <param delete="true"/>
       
    80                             <param path="c:\data\ctc\ctcdata.txt"/>
       
    81                         </params>
       
    82                     </step>
       
    83                 </case>
       
    84             </set>
       
    85         </session>
       
    86     </plan>
       
    87     <files>
       
    88         <file>ATS3Drop/images/sydo_systemstartup_ats3_image.fpsx</file>
       
    89         <file>ATS3Drop/images/sydo_systemstartup_ats3_image_udaerase.fpsx</file>
       
    90         <file>ATS3Drop/armv5_urel/MT_RStarterSession.dll</file>
       
    91     </files>
       
    92     
       
    93     <!-- Send ATS3 test reports -->
       
    94     <postAction>
       
    95         <type>SendEmailAction</type>
       
    96         <params>
       
    97             <param name="type" value="ATS3_REPORT"/>
       
    98             <param name="to" value="annikka.aalto@nokia.com;mika.kalkainen@nokia.com"/>
       
    99             <param name="subject" value="ATS3 report for §RUN_NAME§ §RUN_START_DATE§ §RUN_START_TIME§"/>
       
   100             <param name="send-files" value="true"/>
       
   101         </params>
       
   102     </postAction>
       
   103     
       
   104     <!-- File store action sends the ATS3 report to \\ousrv058. -->
       
   105     <postAction>
       
   106         <type>FileStoreAction</type>
       
   107         <params>
       
   108             <param name="to-folder" value="\\ousrv058\data$\ATS3Reports\S60_5_0\SyDo_OSExt\systemswextensions\systemstartup\"/>
       
   109         </params>
       
   110     </postAction>
       
   111 </test>