Update 24 cases in WRT
authoryunfeix.hao <yunfenx.hao@intel.com>
Wed, 3 Jul 2013 14:38:00 +0000 (22:38 +0800)
committeryunfeix.hao <yunfenx.hao@intel.com>
Wed, 3 Jul 2013 14:38:00 +0000 (22:38 +0800)
Change-Id: Id815bebdc052641fba62d6049b2f87721e1c0ef8
Signed-off-by: yunfeix.hao <yunfenx.hao@intel.com>
tct-ext02-wrt-tests/tests.xml
tct-pm-wrt-tests/tests.xml
tct-rt02-wrt-tests/README
tct-stab-wrt-tests/tests.xml
tct-ui-wrt-tests/tests.xml

index b3ffba5..05f2826 100644 (file)
                  </step>
                  <step order="2">
                    <step_desc>Confirm the widget application is encrypted</step_desc>
-                   <expected>if the resources(js, CSS, HTML files) of setting-encrypt-enable application is encrypted.</expected>
+                   <expected>if the resources(js, CSS, HTML files) of setting-encrypt-enable application is encrypted.(For example, use the command:vi /opt/usr/apps/wrt2see029/res/wgt/index.html to show the content of index.html, the content of index.html is encrypted )</expected>
                  </step>
               </steps>
            <test_script_entry test_script_expected_result="0"></test_script_entry>
                  </step>
                  <step order="2">
                    <step_desc>Confirm the widget application is not encrypted</step_desc>
-                   <expected>if the resources(js, CSS, HTML files) of setting-encrypt-disable application is not encrypted.</expected>
+                   <expected>if the resources(js, CSS, HTML files) of setting-encrypt-disable application is not encrypted.(For example, use command:vi /opt/usr/apps/wrt2sed028/res/wgt/index.html to show the content of index.html, the content of index.html is not encrypted.)</expected>
                  </step>
               </steps>
            <test_script_entry test_script_expected_result="0"></test_script_entry>
index 8a7fc43..1fb9c6d 100644 (file)
           <post_condition>Get the 'application id' of Sample-widget.wgt with the command :"wrt-launcher -l" and uninstall the Sample-widget.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
           <steps>
             <step order="1">
-              <step_desc>Access to the folder(/opt/tct-pm-wrt-tests/) which is Sample-widget.wgt storage. Push the Sample-widget.wgt into the Downloads folder with command: sdb push Sample-widget.wgt /opt/usr/media/Downloads.</step_desc>
+              <step_desc>Copy the Sample-widget.wgt to Downloads folder. For example, use the command: cp -a /opt/tct-pm-wrt-tests/Sample-widget.wgt /opt/usr/media/Downloads</step_desc>
               <expected>Pass if Sample-widget WebApp is copied to the folder.</expected>
             </step>
             <step order="2">
       </testcase>
       <testcase purpose="Check if package management can return Web Application information." type="user_experience" status="approved" component="Web/Runtime/PackageManagement" execution_type="manual" priority="P2" id="WebApp_Get_Information">
         <description>
-          <pre_condition>Make sure the Sample-widget.wgt is installed  with the command : wrt-installer -i /opt/tct-appwgt-wrt-tests/Sample-widget.wgt.</pre_condition>
+          <pre_condition>Make sure the Sample-widget.wgt is installed  with the command : wrt-installer -i /opt/tct-pm-wrt-tests/Sample-widget.wgt.</pre_condition>
           <post_condition>Get the 'application id' of Sample-widget.wgt with the command :"wrt-launcher -l" and uninstall the widget with the command :"wrt-installer -un 'application id'"</post_condition>
           <steps>
             <step order="1">
             </step>
             <step order="2">
               <step_desc>Check the widget info.</step_desc>
-              <expected>Pass if Name: Sample-widget Version: 1.0.0 View: maximized.</expected>
+              <expected>Pass if the application information is the same with config.xml. For example, Name: Sample-widget Version: 1.0.0.</expected>
             </step>
           </steps>
           <test_script_entry test_script_expected_result="0"/>
index d0f9a38..7ddbfb1 100644 (file)
@@ -73,21 +73,6 @@ Steps:
           [1]. Download 2304x1296 PNG image to local machine such as "c:/".
           [2]. Rename the downloaded image as "test.png"
           [3]. Push the image into device with the command "sdb push c:/test.png /opt/media/Images/"
-          [4]. Rename the downloaded image as "Lighthouse.jpg"
-               Push the image to device:
-                 Terminal: sdb push Lighthouse.jpg "path"
-                 path:
-                  1. "opt/apps/wrt3uri039/res/wgt/".
-                  2. "opt/apps/wrt3uri092/res/wgt/".
-                  3. "opt/apps/wrt3uri091/res/wgt/".
-                  4. "opt/apps/wrt3uri090/res/wgt/".
-                  5. "opt/apps/wrt3uri089/res/wgt/".
-                  6. "opt/apps/wrt3uri088/res/wgt/".
-                  7. "opt/apps/wrt3uri087/res/wgt/".
-                  8. "opt/apps/wrt3uri085/res/wgt/".
-                  9. "opt/apps/wrt3uri084/res/wgt/image/".
-                  10."opt/apps/wrt3uri082/res/wgt/".
-                  11."opt/apps/wrt3uri081/res/wgt/".
        2) music
           [1]. Download mp3 file to local machine such as "c:/".
           [2]. Rename the downloaded file as "test.mp3"
index d177c39..956f0bd 100644 (file)
@@ -73,7 +73,7 @@
     </testcase>
     <testcase purpose="Check that WRT can launch webapp roundly." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-repeat-launch-100-times">
       <description>
-        <pre_condition>Install test-hd-image application with command : wrt-installer -i /opt/tct-stab-wrt-tests/test-hd-imagwgte.wgt.Download 2304x1296 PNG image to location of local machine(such as "c:/"). Rename the downloaded image as "test.png".Push the image into device with the command "sdb push c:/test.png /opt/media/Images/"</pre_condition>
+        <pre_condition>Install test-hd-image application with command : wrt-installer -i /opt/tct-stab-wrt-tests/test-hd-image.wgt.Download 2304x1296 PNG image to location of local machine(such as "c:/"). Rename the downloaded image as "test.png".Push the image into device with the command "sdb push c:/test.png /opt/media/Images/"</pre_condition>
         <post_condition></post_condition>
               <steps>
                  <step order="1">
     </testcase>
     <testcase purpose="Check that WRT can play music normally while play/paus music roundly." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-repeat-play-pause-music">
       <description>
-        <pre_condition>Download mp3 file to location of local machine(such as "c:/"). Rename the downloaded file as "test.mp3". Push the image to device with the command "sdb push c:/test.mp3 /opt/media/Videos/".Install the test-music application with command : wrt-installer -i /opt/tct-stab-wrt-tests/test-music</pre_condition>
+        <pre_condition>Download mp3 file to location of local machine(such as "c:/"). Rename the downloaded file as "test.mp3". Push the image to device with the command "sdb push c:/test.mp3 /opt/media/Videos/".Install the test-music application with command : wrt-installer -i /opt/tct-stab-wrt-tests/test-music.wgt</pre_condition>
         <post_condition>Get the 'application id' of test-music application with the command :"wrt-launcher -l" and uninstall the test-music widget with the command :"wrt-installer -un 'application id'"</post_condition>
               <steps>
                  <step order="1">
index cde86e0..930fe99 100644 (file)
             <expected>The widget package is installed successfully. Its icon appears on screen.</expected>
           </step>
           <step order="2">
+            <step_desc>Click the icon of the installed widget</step_desc>
+            <expected>It is able to open a browsing context.</expected>
+          </step>  
+          </step>
+          <step order="3">
             <step_desc>Confirm the screen of device.</step_desc>
-            <expected>The view mode is maximized.</expected>
+            <expected>The view mode is maximized.(displayed area is the screen with indicator)</expected>
           </step>
         </steps>
         <test_script_entry test_script_expected_result="0"></test_script_entry>
             <expected>The widget package is installed successfully,its icon appears on screen.</expected>
           </step>
           <step order="2">
+            <step_desc>Click the icon of the installed widget</step_desc>
+            <expected>It is able to open a browsing context.</expected>
+          </step>  
+          </step>
+          <step order="3">
             <step_desc>Confirm the screen of device.</step_desc>
-            <expected>The view mode is fullscreen.</expected>
+            <expected>The view mode is fullscreen.(displayed area is the screen without indicator)</expected>
           </step>
         </steps>
         <test_script_entry test_script_expected_result="0"></test_script_entry>
@@ -64,7 +74,7 @@
           </step>
           <step order="2">
             <step_desc>Get the 'application id' of view-mode-maximized-rotation.wgt with the command :"wrt-launcher -l" and launch the view-mode-maximized-rotation.wgt with the command :"wrt-launcher -s 'application id'", confirm the screen of device.</step_desc>
-            <expected>The screen is landscape and maximized.</expected>
+            <expected>The screen is landscape and maximized.(if the indicator is hidden, you can flick down it from the screen top by finger)</expected>
           </step>
         </steps>
         <test_script_entry test_script_expected_result="0"></test_script_entry>
             <expected>The widget package is installed successfully. Its icon appears on screen.</expected>
           </step>
           <step order="2">
-            <step_desc>Turn on the auto-rotate screen</step_desc>
+            <step_desc>Turn on the auto-rotate screen.(Maybe this option can be found in the "setting" menu of the device)</step_desc>
             <expected>The auto-rotate screen is turned on.</expected>
           </step>
           <step order="3">
         </spec>
       </specs>
     </testcase>
-    <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to systemsetting feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="manual" priority="P3" id="multiple-other-sysytemsetting">
+    <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to systemsetting feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="manual" priority="P3" id="multiple-other-systemsetting">
       <description>
-        <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ui-wrt-tests/multiple-other-sysytemsetting.wgt</pre_condition >
-        <post_condition>Get the 'application id' of multiple-other-sysytemsetting.wgt with the command :"wrt-launcher -l" and uninstall the multiple-other-sysytemsetting.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+        <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ui-wrt-tests/multiple-other-systemsetting.wgt</pre_condition >
+        <post_condition>Get the 'application id' of multiple-other-systemsetting.wgt with the command :"wrt-launcher -l" and uninstall the multiple-other-systemsetting.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
         <steps>
           <step order="1">
-            <step_desc>Get the 'application id' of multiple-other-sysytemsetting.wgt with the command :"wrt-launcher -l" and launch the multiple-other-sysytemsetting.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+            <step_desc>Get the 'application id' of multiple-other-systemsetting.wgt with the command :"wrt-launcher -l" and launch the multiple-other-systemsetting.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
             <expected>The screen shows "Pass" and a button "Launch".</expected>
           </step>
           <step order="2">