From d7db2f6ce63eceeae3ed81a5472fca4e1e32670c Mon Sep 17 00:00:00 2001 From: "yunfeix.hao" Date: Wed, 3 Jul 2013 22:38:00 +0800 Subject: [PATCH] Update 24 cases in WRT Change-Id: Id815bebdc052641fba62d6049b2f87721e1c0ef8 Signed-off-by: yunfeix.hao --- tct-ext02-wrt-tests/tests.xml | 4 ++-- tct-pm-wrt-tests/tests.xml | 6 +++--- tct-rt02-wrt-tests/README | 15 --------------- tct-stab-wrt-tests/tests.xml | 4 ++-- tct-ui-wrt-tests/tests.xml | 26 ++++++++++++++++++-------- 5 files changed, 25 insertions(+), 30 deletions(-) diff --git a/tct-ext02-wrt-tests/tests.xml b/tct-ext02-wrt-tests/tests.xml index b3ffba5..05f2826 100644 --- a/tct-ext02-wrt-tests/tests.xml +++ b/tct-ext02-wrt-tests/tests.xml @@ -262,7 +262,7 @@ Confirm the widget application is encrypted - if the resources(js, CSS, HTML files) of setting-encrypt-enable application is encrypted. + 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 ) @@ -334,7 +334,7 @@ Confirm the widget application is not encrypted - if the resources(js, CSS, HTML files) of setting-encrypt-disable application is not encrypted. + 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.) diff --git a/tct-pm-wrt-tests/tests.xml b/tct-pm-wrt-tests/tests.xml index 8a7fc43..1fb9c6d 100644 --- a/tct-pm-wrt-tests/tests.xml +++ b/tct-pm-wrt-tests/tests.xml @@ -319,7 +319,7 @@ 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'" - 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. + 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 Pass if Sample-widget WebApp is copied to the folder. @@ -511,7 +511,7 @@ - Make sure the Sample-widget.wgt is installed with the command : wrt-installer -i /opt/tct-appwgt-wrt-tests/Sample-widget.wgt. + Make sure the Sample-widget.wgt is installed with the command : wrt-installer -i /opt/tct-pm-wrt-tests/Sample-widget.wgt. 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'" @@ -520,7 +520,7 @@ Check the widget info. - Pass if Name: Sample-widget Version: 1.0.0 View: maximized. + Pass if the application information is the same with config.xml. For example, Name: Sample-widget Version: 1.0.0. diff --git a/tct-rt02-wrt-tests/README b/tct-rt02-wrt-tests/README index d0f9a38..7ddbfb1 100644 --- a/tct-rt02-wrt-tests/README +++ b/tct-rt02-wrt-tests/README @@ -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" diff --git a/tct-stab-wrt-tests/tests.xml b/tct-stab-wrt-tests/tests.xml index d177c39..956f0bd 100644 --- a/tct-stab-wrt-tests/tests.xml +++ b/tct-stab-wrt-tests/tests.xml @@ -73,7 +73,7 @@ - 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/" + 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/" @@ -237,7 +237,7 @@ - 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 + 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 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'" diff --git a/tct-ui-wrt-tests/tests.xml b/tct-ui-wrt-tests/tests.xml index cde86e0..930fe99 100644 --- a/tct-ui-wrt-tests/tests.xml +++ b/tct-ui-wrt-tests/tests.xml @@ -13,8 +13,13 @@ The widget package is installed successfully. Its icon appears on screen. + Click the icon of the installed widget + It is able to open a browsing context. + + + Confirm the screen of device. - The view mode is maximized. + The view mode is maximized.(displayed area is the screen with indicator) @@ -38,8 +43,13 @@ The widget package is installed successfully,its icon appears on screen. + Click the icon of the installed widget + It is able to open a browsing context. + + + Confirm the screen of device. - The view mode is fullscreen. + The view mode is fullscreen.(displayed area is the screen without indicator) @@ -64,7 +74,7 @@ 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. - The screen is landscape and maximized. + The screen is landscape and maximized.(if the indicator is hidden, you can flick down it from the screen top by finger) @@ -204,7 +214,7 @@ The widget package is installed successfully. Its icon appears on screen. - Turn on the auto-rotate screen + Turn on the auto-rotate screen.(Maybe this option can be found in the "setting" menu of the device) The auto-rotate screen is turned on. @@ -1151,13 +1161,13 @@ - + - Install the widget with the command : wrt-installer -i /opt/tct-ui-wrt-tests/multiple-other-sysytemsetting.wgt - 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'" + Install the widget with the command : wrt-installer -i /opt/tct-ui-wrt-tests/multiple-other-systemsetting.wgt + 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'" - 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'". + 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'". The screen shows "Pass" and a button "Launch". -- 2.7.4