[common][tct-alarm-tizen-tests][[DPTTIZEN-2858 Add test step in xml] 54/143154/1
authorxy.qian <xy.qian@samsung.com>
Wed, 9 Aug 2017 01:36:59 +0000 (09:36 +0800)
committerxy.qian <xy.qian@samsung.com>
Wed, 9 Aug 2017 01:36:59 +0000 (09:36 +0800)
Change-Id: Ifdf305d8e5da87b28c49e87a4e094a28b2efd84f
Signed-off-by: xy.qian <xy.qian@samsung.com>
common/tct-alarm-tizen-tests/tests.full.xml
common/tct-alarm-tizen-tests/tests.xml

index cfacff0f75d9ffe1c7a56231b139fa7bde6ece56..40ae8a6ebb26ff43def4b77fcea63d09986d2e77 100755 (executable)
         <description>
           <test_script_entry>/opt/tct-alarm-tizen-tests/alarm/AlarmRelative_getRemainingSeconds_return_null.html</test_script_entry>
         </description>
+          <pre_condition>Press "Application Launched" button after application is launched.</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Wait for application launch.</step_desc>
+              <expected>Application with Message: "This application was created for some unit tests." and button with label "exit" launched.</expected>
+            </step>
+            <step order="2">
+              <step_desc>Press button labeled "exit".</step_desc>
+              <expected>Application eixt.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Back in test application press button labeled "Application Launched".</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
         <specs>
           <spec>
             <spec_assertion interface="AlarmRelative" element_type="method" element_name="getRemainingSeconds" specification="Alarm" section="Application" category="Tizen Device API Specifications"/>
index 0f2b1a58b83e908d7276ab2e83df9b2b94be77b2..e3df60ee321613f1595bcb869edb61757ecb9d3b 100755 (executable)
       </testcase>
       <testcase component="TizenAPI/Application/Alarm" execution_type="manual" id="AlarmRelative_getRemainingSeconds_return_null" onload_delay="1000" priority="P1" purpose="Check if method AlarmRelative::getRemainingSeconds() return null for already fired alarm">
         <description>
-          <pre_condition>Press "Application Launched" button after application is launched. You must wait for the test application at least for 16 minutes.</pre_condition>
+          <pre_condition>Press "Application Launched" button after application is launched.</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Wait for application launch.</step_desc>
+              <expected>Application with Message: "This application was created for some unit tests." and button with label "exit" launched.</expected>
+            </step>
+            <step order="2">
+              <step_desc>Press button labeled "exit".</step_desc>
+              <expected>Application eixt.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Back in test application press button labeled "Application Launched".</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-alarm-tizen-tests/alarm/AlarmRelative_getRemainingSeconds_return_null.html</test_script_entry>
         </description>
       </testcase>