Updated tct-ext02-wrt-tests according to test team's feedback
authoryunfeix.hao <yunfenx.hao@intel.com>
Wed, 10 Jul 2013 15:20:24 +0000 (23:20 +0800)
committeryunfeix.hao <yunfenx.hao@intel.com>
Wed, 10 Jul 2013 15:20:24 +0000 (23:20 +0800)
Change-Id: I8d8328ab06b2fad49e8e54fb08394207f886c7a8
Signed-off-by: yunfeix.hao <yunfenx.hao@intel.com>
tct-ext02-wrt-tests/tests.xml

index 18006d2..6b332cc 100644 (file)
@@ -37,7 +37,7 @@
                    <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
                  </step>
                  <step order="3">
-                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/view,MIME is image/jpg.</step_desc>
+                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/view,MIME is image/jpg then press button "Launch Service APP then press button "Launch Service APP"".</step_desc>
                    <expected>Some appcontrols can be displayed on screen.</expected>
                  </step>
                  <step order="4">
       </spec>
     </specs>
     </testcase>
-    <testcase purpose="Check that the web runtime can install the app which has a required valid version successfully." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="application-required-version-support">
+    <testcase purpose="Check that the web runtime can install the app which has a required valid version successfully." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P1" id="application-required-version-support">
       <description>
         <pre_condition></pre_condition>
-           <post_condition>Get the 'application id' of application-required-version-support.wgt with the command :"wrt-launcher -l" and uninstall the application-required-version-support.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+           <post_condition></post_condition>
               <steps>
                  <step order="1">
-                   <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/application-required-version-support.wgt</step_desc>
-                   <expected>Widget application is able to be installed successfully</expected>
-                 </step>
-                 <step order="2">
                    <step_desc>Confirm the widget application work properly in required version.</step_desc>
                    <expected>The widget application can work properly</expected>
                  </step>
               </steps>
-           <test_script_entry test_script_expected_result="0"></test_script_entry>
+           <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/WRTInstaller application-required-version-support.wgt</test_script_entry>
       </description>
     <specs>
       <spec>
                    <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
                  </step>
                  <step order="3">
-                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/edit,MIME is image/jpg.</step_desc>
+                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/edit,MIME is image/jpg then press button "Launch Service APP".</step_desc>
                    <expected>The widget application appcontrol-operation-edit can be launched by this app.</expected>
                  </step>
                  <step order="4">
                    <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
                  </step>
                  <step order="3">
-                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/pick,MIME is image/jpg.</step_desc>
-                   <expected>The widget application appcontrol-operation-pick can be launched by this app.</expected>
+                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/pick,MIME is image/jpg then press button "Launch Service APP".</step_desc>
+                   <expected>A popup displayed on the screen and several application can be selected.</expected>
                  </step>
                  <step order="4">
+                   <step_desc>Click appcontrol-operation... option.</step_desc>
+                   <expected>A popup "Default application settings" displayed on the screen.</expected>
+                 </step>
+                 <step order="5">
+                   <step_desc>Click "cancel" button</step_desc>
+                   <expected>Passes if "operation-pick" displayed on the screen.</expected>
+                 </step>
+                 <step order="6">
                    <step_desc>Close the widget application appcontrol-test-app.</step_desc>
                    <expected>The widget application appcontrol-test-app is closed successfully.</expected>
                  </step>
                    <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
                  </step>
                  <step order="3">
-                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/send,MIME is */*.</step_desc>
-                   <expected>The widget application appcontrol-operation-send can be launched by this app.</expected>
+                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/send,MIME is image/* then press button "Launch Service APP".</step_desc>
+                   <expected>A popup displayed on the screen and several application can be selected.</expected>
                  </step>
                  <step order="4">
+                   <step_desc>Click appcontrol-operation... option.</step_desc>
+                   <expected>A popup "Default application settings" displayed on the screen.</expected>
+                 </step>
+                 <step order="5">
+                   <step_desc>Click "cancel" button</step_desc>
+                   <expected>Passes if "operation-send" displayed on the screen.</expected>
+                 </step>
+                 <step order="6">
                    <step_desc>Close the widget application appcontrol-test-app.</step_desc>
                    <expected>The widget application appcontrol-test-app is closed successfully.</expected>
                  </step>
                    <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
                  </step>
                  <step order="3">
-                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/dial,MIME is image/jpg.</step_desc>
-                   <expected>The widget application appcontrol-operation-dial can be launched by this app.</expected>
+                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/dial,MIME is image/jpg then press button "Launch Service APP".</step_desc>
+                   <expected>Passes if "operation-default" displayed on the screen.</expected>
                  </step>
                  <step order="4">
                    <step_desc>Close the widget application appcontrol-test-app.</step_desc>
                    <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
                  </step>
                  <step order="3">
-                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/search,MIME is image/jpg.</step_desc>
+                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/search,MIME is image/jpg then press button "Launch Service APP".</step_desc>
                    <expected>The widget application appcontrol-operation-search can be launched by this app.</expected>
                  </step>
                  <step order="4">
                    <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
                  </step>
                  <step order="3">
-                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/default,MIME is image/jpg.</step_desc>
-                   <expected>The widget application appcontrol-operation-default can be launched by this app.</expected>
+                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/default,MIME is image/jpg then press button "Launch Service APP".</step_desc>
+                   <expected>Passes if "operation-default" displayed on the screen.</expected>
                  </step>
                  <step order="4">
                    <step_desc>Close the widget application appcontrol-test-app.</step_desc>
                    <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
                  </step>
                  <step order="3">
-                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_empty_type,MIME is image/jpg.</step_desc>
+                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_empty_type,MIME is image/jpg then press button "Launch Service APP".</step_desc>
                    <expected>The widget application appcontrol-operation-nfc-empty can be launched by this app.</expected>
                  </step>
                  <step order="4">
                    <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
                  </step>
                  <step order="3">
-                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_well_known_type,MIME is image/jpg.</step_desc>
+                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_well_known_type,MIME is image/jpg then press button "Launch Service APP".</step_desc>
                    <expected>The widget application appcontrol-operation-nfc-wellknow can be launched by this app.</expected>
                  </step>
                  <step order="4">
                    <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
                  </step>
                  <step order="3">
-                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_mime_type,MIME is image/jpg.</step_desc>
+                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_mime_type,MIME is image/jpg then press button "Launch Service APP".</step_desc>
                    <expected>The widget application appcontrol-operation-nfc-mime can be launched by this app.</expected>
                  </step>
                  <step order="4">
                    <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
                  </step>
                  <step order="3">
-                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_uri_type,MIME is image/jpg.</step_desc>
+                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_uri_type,MIME is image/jpg then press button "Launch Service APP".</step_desc>
                    <expected>The widget application appcontrol-operation-nfc-uri can be launched by this app.</expected>
                  </step>
                  <step order="4">
                    <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
                  </step>
                  <step order="3">
-                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/create_content,MIME is image/jpg.</step_desc>
-                   <expected>The widget application appcontrol-operation-content can be launched by this app.</expected>
+                   <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/create_content,MIME is image/jpg. then press button "Launch Service APP".</step_desc>
+                   <expected>A popup displayed on the screen and several application can be selected.</expected>
                  </step>
                  <step order="4">
-                   <step_desc>Close the appcontrol-test-app widget application.</step_desc>
+                   <step_desc>Click appcontrol-operation... option.</step_desc>
+                   <expected>A popup "Default application settings" displayed on the screen.</expected>
+                 </step>
+                 <step order="5">
+                   <step_desc>Click "cancel" button</step_desc>
+                   <expected>Passes if "operation-content" displayed on the screen.</expected>
+                 </step>
+                 <step order="6">
+                   <step_desc>Close the widget application appcontrol-test-app.</step_desc>
                    <expected>The widget application appcontrol-test-app is closed successfully.</expected>
                  </step>
               </steps>
                  </step>
                  <step order="3">
                    <step_desc>Press button "open1"</step_desc>
-                   <expected>See "PASS" on the screen.</expected>
+                   <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
                  </step>
               </steps>
            <test_script_entry test_script_expected_result="0"></test_script_entry>
                  </step>
                  <step order="3">
                    <step_desc>Press button "open2"</step_desc>
-                   <expected>See "PASS" on the screen.</expected>
+                   <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
                  </step>
                  <step order="4">
                    <step_desc>Press button "close",then press button "open3"</step_desc>
-                   <expected>See "PASS" on the screen.</expected>
+                   <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
                  </step>
               </steps>
            <test_script_entry test_script_expected_result="0"></test_script_entry>
                  </step>
                  <step order="3">
                    <step_desc>Press button "open4"</step_desc>
-                   <expected>See "PASS" on the screen.</expected>
+                   <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
                  </step>
               </steps>
            <test_script_entry test_script_expected_result="0"></test_script_entry>
                  </step>
                  <step order="3">
                    <step_desc>Press button "open5"</step_desc>
-                   <expected>See "PASS" on the screen.</expected>
+                   <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
                  </step>
                  <step order="4">
                    <step_desc>Press button "close",then press button "open6"</step_desc>
-                   <expected>See "PASS" on the screen.</expected>
+                   <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
                  </step>
               </steps>
            <test_script_entry test_script_expected_result="0"></test_script_entry>