|
1 <?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 <test> |
|
3 <name>Gs - 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="Gs - S60 5.0 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_gs_ats3_image.fpsx" /> |
|
18 <flash target-alias="DEFAULT" images="ATS3Drop/images/sydo_gs_ats3_image_udaerase.fpsx" /> |
|
19 |
|
20 <!-- Create CTC coverage result folder --> |
|
21 <!-- MANDATORY STEP --> |
|
22 <step name="Create CTC log dir" harness="EUNIT" enabled="true" passrate="100" significant="false"> |
|
23 <command>makedir</command> |
|
24 <params> |
|
25 <param dir="c:\data\ctc\"/> |
|
26 </params> |
|
27 </step> |
|
28 |
|
29 <!-- Install testmodule MT_GSFramework --> |
|
30 <step name="Install testmodule MT_GSFramework DLL" harness="EUNIT" enabled="true" passrate="100" significant="false"> |
|
31 <command>install</command> |
|
32 <params> |
|
33 <param component-path="ATS3Drop"/> |
|
34 <param type="binary"/> |
|
35 <param src="MT_GSFramework.dll"/> |
|
36 <param dst="c:\sys\bin\MT_GSFramework.dll"/> |
|
37 </params> |
|
38 </step> |
|
39 <step name="Install testmodule T_GSBackgroundImage DLL" harness="EUNIT" enabled="true" passrate="100" significant="false"> |
|
40 <command>install</command> |
|
41 <params> |
|
42 <param component-path="ATS3Drop"/> |
|
43 <param type="binary"/> |
|
44 <param src="T_GSBackgroundImage.dll"/> |
|
45 <param dst="c:\sys\bin\T_GSBackgroundImage.dll"/> |
|
46 </params> |
|
47 </step> |
|
48 <step name="Install testmodule T_GSListBox DLL" harness="EUNIT" enabled="true" passrate="100" significant="false"> |
|
49 <command>install</command> |
|
50 <params> |
|
51 <param component-path="ATS3Drop"/> |
|
52 <param type="binary"/> |
|
53 <param src="T_GSListBox.dll"/> |
|
54 <param dst="c:\sys\bin\T_GSListBox.dll"/> |
|
55 </params> |
|
56 </step> |
|
57 <step name="Install testmodule MT_CGSLauncher DLL" harness="EUNIT" enabled="true" passrate="100" significant="false"> |
|
58 <command>install</command> |
|
59 <params> |
|
60 <param component-path="ATS3Drop"/> |
|
61 <param type="binary"/> |
|
62 <param src="MT_CGSLauncher.dll"/> |
|
63 <param dst="c:\sys\bin\MT_CGSLauncher.dll"/> |
|
64 </params> |
|
65 </step> |
|
66 |
|
67 <!-- Start CTC manager --> |
|
68 <!-- MANDATORY STEP --> |
|
69 <step name="CTC start" harness="EUNIT" enabled="true" passrate="100" significant="false"> |
|
70 <command>execute</command> |
|
71 <params> |
|
72 <param file="z:\sys\bin\ctcman.exe"/> |
|
73 </params> |
|
74 </step> |
|
75 |
|
76 <!-- Create EUnit log dir --> |
|
77 <!-- MANDATORY STEP --> |
|
78 <step name="Create EUnit log dir" harness="EUNIT" enabled="true" passrate="100" significant="false"> |
|
79 <command>makedir</command> |
|
80 <params> |
|
81 <param dir="c:\shared\eunit\logs\"/> |
|
82 </params> |
|
83 </step> |
|
84 |
|
85 <!-- Execute tests --> |
|
86 <step name="Execute tests" harness="EUNIT" enabled="true" passrate="100" significant="true"> |
|
87 <command>execute</command> |
|
88 <params> |
|
89 <param parameters="/l xml /e s60appenv /t 90 /p All /w 30 /r warning MT_GSFramework MT_CGSLauncher T_GSBackgroundImage T_GSListBox"/> |
|
90 <param timeout="720"/> |
|
91 <param result-file="c:\shared\eunit\logs\EUnit_log.xml"/> |
|
92 <param file="z:\sys\bin\EUNITEXERUNNER.EXE"/> |
|
93 </params> |
|
94 </step> |
|
95 |
|
96 <!-- Save CTC coverage data --> |
|
97 <!-- MANDATORY STEP --> |
|
98 <step name="Save CTC data" harness="EUNIT" enabled="true" passrate="100" significant="false"> |
|
99 <command>execute</command> |
|
100 <params> |
|
101 <param parameters="writefile"/> |
|
102 <param file="z:\sys\bin\ctcman.exe"/> |
|
103 </params> |
|
104 </step> |
|
105 |
|
106 <!-- Fetch and clean CTC data --> |
|
107 <!-- MANDATORY STEP --> |
|
108 <step name="Fetch and clean CTC data" harness="EUNIT" enabled="true" passrate="100" significant="false"> |
|
109 <command>fetch-log</command> |
|
110 <params> |
|
111 <param delete="true"/> |
|
112 <param path="c:\data\ctc\ctcdata.txt"/> |
|
113 </params> |
|
114 </step> |
|
115 </case> |
|
116 </set> |
|
117 </session> |
|
118 </plan> |
|
119 <files> |
|
120 <file>ATS3Drop/images/sydo_gs_ats3_image.fpsx</file> |
|
121 <file>ATS3Drop/images/sydo_gs_ats3_image_udaerase.fpsx</file> |
|
122 <file>ATS3Drop/armv5_urel/MT_GSFramework.dll</file> |
|
123 <file>ATS3Drop/armv5_urel/T_GSBackgroundImage.dll</file> |
|
124 <file>ATS3Drop/armv5_urel/T_GSListBox.dll</file> |
|
125 <file>ATS3Drop/armv5_urel/MT_CGSLauncher.dll</file> |
|
126 </files> |
|
127 |
|
128 <!-- Send ATS3 test reports --> |
|
129 <postAction> |
|
130 <type>SendEmailAction</type> |
|
131 <params> |
|
132 <param name="type" value="ATS3_REPORT"/> |
|
133 <param name="to" value="tomi.t.tolvanen@nokia.com;mika.kalkainen@nokia.com;ext-yang.1.lu@nokia.com"/> |
|
134 <param name="subject" value="ATS3 report for §RUN_NAME§ §RUN_START_DATE§ §RUN_START_TIME§"/> |
|
135 <param name="send-files" value="true"/> |
|
136 </params> |
|
137 </postAction> |
|
138 |
|
139 <!-- File store action sends the ATS3 report to \\ousrv058. --> |
|
140 <!-- MANDATORY POST ACTION --> |
|
141 <postAction> |
|
142 <type>FileStoreAction</type> |
|
143 <params> |
|
144 <param name="to-folder" value="\\ousrv058\data$\ATS3Reports\S60_5_0\Sydo\Devicemanagement\Gs\"/> |
|
145 </params> |
|
146 </postAction> |
|
147 </test> |