From: yuhanx.xu Date: Fri, 13 Sep 2013 05:40:26 +0000 (+0800) Subject: Fix TTS-2015 by improvement function and description in behavior X-Git-Tag: 2.2.1_release~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c924e1300b5981f13e9edef1c36d1eaac916eb90;p=test%2Ftct%2Fweb%2Fbehavior.git Fix TTS-2015 by improvement function and description in behavior 1. Delete the "Please" string in test steps. 2. Add viewport limitation with wgt. 3. Fix bugs, such as test-hd-image issue in Stability. 4. Add more test steps and expected result info in subtest. 5. Increase the size of button in wgt. Signed-off-by: yuhanx.xu --- diff --git a/tests/AppControlExtending/res/app_control_custom_wgt b/tests/AppControlExtending/res/app_control_custom_wgt index e7eafee..8220403 100644 Binary files a/tests/AppControlExtending/res/app_control_custom_wgt and b/tests/AppControlExtending/res/app_control_custom_wgt differ diff --git a/tests/AppControlExtending/res/app_control_regular_wgt b/tests/AppControlExtending/res/app_control_regular_wgt index 2e164e8..05a6b41 100644 Binary files a/tests/AppControlExtending/res/app_control_regular_wgt and b/tests/AppControlExtending/res/app_control_regular_wgt differ diff --git a/tests/ApplicationInvisible/index.html b/tests/ApplicationInvisible/index.html index d69edb1..8e8c952 100644 --- a/tests/ApplicationInvisible/index.html +++ b/tests/ApplicationInvisible/index.html @@ -91,8 +91,10 @@ Authors:

Test Purpose:

Verifies js and css animation will suspend when application goes invisible

Test Step:

-

1. Push the "Home" button on device to return to the menu

-

2. Long touch "Home" button to start the "Task switcher" and select "tct-behavior-tests"

+
    +
  1. Push the "Home" button on device to return to the menu
  2. +
  3. Long touch "Home" button to start the "Task switcher" and select "tct-behavior-tests"
  4. +

Expected Result:

This case is PASS if the "JS time" is different from the "Difference time" and the "Animation time" is different from the "Difference time" too

diff --git a/tests/CSP/res/csp-asterisk.html b/tests/CSP/res/csp-asterisk.html index 0de83b7..7e14806 100644 --- a/tests/CSP/res/csp-asterisk.html +++ b/tests/CSP/res/csp-asterisk.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/csp-asterisk.wgt b/tests/CSP/res/csp-asterisk.wgt index e8a9f79..2bfa503 100644 Binary files a/tests/CSP/res/csp-asterisk.wgt and b/tests/CSP/res/csp-asterisk.wgt differ diff --git a/tests/CSP/res/csp-cross-origin.html b/tests/CSP/res/csp-cross-origin.html index f11e5c5..6850dff 100644 --- a/tests/CSP/res/csp-cross-origin.html +++ b/tests/CSP/res/csp-cross-origin.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/csp-cross-origin.wgt b/tests/CSP/res/csp-cross-origin.wgt index 8a53839..829077d 100644 Binary files a/tests/CSP/res/csp-cross-origin.wgt and b/tests/CSP/res/csp-cross-origin.wgt differ diff --git a/tests/CSP/res/csp-none.html b/tests/CSP/res/csp-none.html index fe42f6d..52e7e23 100644 --- a/tests/CSP/res/csp-none.html +++ b/tests/CSP/res/csp-none.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/csp-none.wgt b/tests/CSP/res/csp-none.wgt index e8fad7e..98489fe 100644 Binary files a/tests/CSP/res/csp-none.wgt and b/tests/CSP/res/csp-none.wgt differ diff --git a/tests/CSP/res/csp-self.html b/tests/CSP/res/csp-self.html index 010bd40..bce2d9e 100644 --- a/tests/CSP/res/csp-self.html +++ b/tests/CSP/res/csp-self.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/csp-self.wgt b/tests/CSP/res/csp-self.wgt index 726a945..1958733 100644 Binary files a/tests/CSP/res/csp-self.wgt and b/tests/CSP/res/csp-self.wgt differ diff --git a/tests/CSP/res/default-policy-by-directives-csp.html b/tests/CSP/res/default-policy-by-directives-csp.html index 9d7d97f..9b87616 100644 --- a/tests/CSP/res/default-policy-by-directives-csp.html +++ b/tests/CSP/res/default-policy-by-directives-csp.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/default-policy-by-directives-csp.wgt b/tests/CSP/res/default-policy-by-directives-csp.wgt index b261deb..8a67196 100644 Binary files a/tests/CSP/res/default-policy-by-directives-csp.wgt and b/tests/CSP/res/default-policy-by-directives-csp.wgt differ diff --git a/tests/CSP/res/default-policy-by-directives-report-only.html b/tests/CSP/res/default-policy-by-directives-report-only.html index 2df2267..67b23f0 100644 --- a/tests/CSP/res/default-policy-by-directives-report-only.html +++ b/tests/CSP/res/default-policy-by-directives-report-only.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/default-policy-by-directives-report-only.wgt b/tests/CSP/res/default-policy-by-directives-report-only.wgt index c068304..fed4aa0 100644 Binary files a/tests/CSP/res/default-policy-by-directives-report-only.wgt and b/tests/CSP/res/default-policy-by-directives-report-only.wgt differ diff --git a/tests/CSP/res/default-src_asterisk.html b/tests/CSP/res/default-src_asterisk.html index 41e6a8b..3a5a0b9 100644 --- a/tests/CSP/res/default-src_asterisk.html +++ b/tests/CSP/res/default-src_asterisk.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/default-src_asterisk.wgt b/tests/CSP/res/default-src_asterisk.wgt index 1a11d5d..28246f6 100644 Binary files a/tests/CSP/res/default-src_asterisk.wgt and b/tests/CSP/res/default-src_asterisk.wgt differ diff --git a/tests/CSP/res/default-src_cross_origin.html b/tests/CSP/res/default-src_cross_origin.html index 84e112e..ba7c923 100644 --- a/tests/CSP/res/default-src_cross_origin.html +++ b/tests/CSP/res/default-src_cross_origin.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/default-src_cross_origin.wgt b/tests/CSP/res/default-src_cross_origin.wgt index a1e7f61..d0e8c57 100644 Binary files a/tests/CSP/res/default-src_cross_origin.wgt and b/tests/CSP/res/default-src_cross_origin.wgt differ diff --git a/tests/CSP/res/default-src_none.html b/tests/CSP/res/default-src_none.html index 42e7f23..d845ef4 100644 --- a/tests/CSP/res/default-src_none.html +++ b/tests/CSP/res/default-src_none.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/default-src_none.wgt b/tests/CSP/res/default-src_none.wgt index e2322b5..c054bbd 100644 Binary files a/tests/CSP/res/default-src_none.wgt and b/tests/CSP/res/default-src_none.wgt differ diff --git a/tests/CSP/res/default-src_self.html b/tests/CSP/res/default-src_self.html index bbd0a42..5d4572b 100644 --- a/tests/CSP/res/default-src_self.html +++ b/tests/CSP/res/default-src_self.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/default-src_self.wgt b/tests/CSP/res/default-src_self.wgt index 3bf4f30..b68ae18 100644 Binary files a/tests/CSP/res/default-src_self.wgt and b/tests/CSP/res/default-src_self.wgt differ diff --git a/tests/CSP/res/sandbox-empty-ext.html b/tests/CSP/res/sandbox-empty-ext.html index ab7fe10..e177a5a 100644 --- a/tests/CSP/res/sandbox-empty-ext.html +++ b/tests/CSP/res/sandbox-empty-ext.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/sandbox-empty-ext.wgt b/tests/CSP/res/sandbox-empty-ext.wgt index 386491b..9c6c37b 100644 Binary files a/tests/CSP/res/sandbox-empty-ext.wgt and b/tests/CSP/res/sandbox-empty-ext.wgt differ diff --git a/tests/CSP/res/sandbox-empty-inline.html b/tests/CSP/res/sandbox-empty-inline.html index b694886..9cd1fbe 100644 --- a/tests/CSP/res/sandbox-empty-inline.html +++ b/tests/CSP/res/sandbox-empty-inline.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/sandbox-empty-inline.wgt b/tests/CSP/res/sandbox-empty-inline.wgt index 6531606..40cebe4 100644 Binary files a/tests/CSP/res/sandbox-empty-inline.wgt and b/tests/CSP/res/sandbox-empty-inline.wgt differ diff --git a/tests/CSP/res/sandbox-empty-int.html b/tests/CSP/res/sandbox-empty-int.html index 680edcb..6916285 100644 --- a/tests/CSP/res/sandbox-empty-int.html +++ b/tests/CSP/res/sandbox-empty-int.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/sandbox-empty-int.wgt b/tests/CSP/res/sandbox-empty-int.wgt index e297c9b..9fb98ec 100644 Binary files a/tests/CSP/res/sandbox-empty-int.wgt and b/tests/CSP/res/sandbox-empty-int.wgt differ diff --git a/tests/CSP/res/sandbox-same-origin-allow-scripts.html b/tests/CSP/res/sandbox-same-origin-allow-scripts.html index 03ef8a3..d7e5ed0 100644 --- a/tests/CSP/res/sandbox-same-origin-allow-scripts.html +++ b/tests/CSP/res/sandbox-same-origin-allow-scripts.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/sandbox-same-origin-allow-scripts.wgt b/tests/CSP/res/sandbox-same-origin-allow-scripts.wgt index d5158a6..8a7fc9e 100644 Binary files a/tests/CSP/res/sandbox-same-origin-allow-scripts.wgt and b/tests/CSP/res/sandbox-same-origin-allow-scripts.wgt differ diff --git a/tests/CSP/res/script-src_inline_eval.html b/tests/CSP/res/script-src_inline_eval.html index 39cf11f..ad95a8b 100644 --- a/tests/CSP/res/script-src_inline_eval.html +++ b/tests/CSP/res/script-src_inline_eval.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/script-src_inline_eval.wgt b/tests/CSP/res/script-src_inline_eval.wgt index ac5203e..a723f32 100644 Binary files a/tests/CSP/res/script-src_inline_eval.wgt and b/tests/CSP/res/script-src_inline_eval.wgt differ diff --git a/tests/CSP/res/script-src_none.html b/tests/CSP/res/script-src_none.html index a8c2ae9..577ba1c 100644 --- a/tests/CSP/res/script-src_none.html +++ b/tests/CSP/res/script-src_none.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/script-src_none.wgt b/tests/CSP/res/script-src_none.wgt index bf43f3a..ae09fc1 100644 Binary files a/tests/CSP/res/script-src_none.wgt and b/tests/CSP/res/script-src_none.wgt differ diff --git a/tests/CSP/res/style-src_self.html b/tests/CSP/res/style-src_self.html index c4deb07..66def7d 100644 --- a/tests/CSP/res/style-src_self.html +++ b/tests/CSP/res/style-src_self.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/CSP/res/style-src_self.wgt b/tests/CSP/res/style-src_self.wgt index ef28eff..289a350 100644 Binary files a/tests/CSP/res/style-src_self.wgt and b/tests/CSP/res/style-src_self.wgt differ diff --git a/tests/Clipboard/res/Clipboard b/tests/Clipboard/res/Clipboard index 7bc750b..fdbcac1 100644 Binary files a/tests/Clipboard/res/Clipboard and b/tests/Clipboard/res/Clipboard differ diff --git a/tests/ConfigurationExtension/res/application-content.html b/tests/ConfigurationExtension/res/application-content.html index 903587f..d5f552e 100644 --- a/tests/ConfigurationExtension/res/application-content.html +++ b/tests/ConfigurationExtension/res/application-content.html @@ -64,7 +64,7 @@ Authors:

Pre-condition:

Make sure the device can access to http://www.google.com.

Test Step:

-

Please click the Package Launch to launch the widget.

+

Click Package Launch button to launch the widget.

Expected Result:

The case will pass if the widget redirect the start page to http://www.google.com

diff --git a/tests/ConfigurationExtension/res/setting-an-more.html b/tests/ConfigurationExtension/res/setting-an-more.html index 44df946..d8a85c2 100644 --- a/tests/ConfigurationExtension/res/setting-an-more.html +++ b/tests/ConfigurationExtension/res/setting-an-more.html @@ -64,7 +64,7 @@ Authors:

Pre-condition:

Make sure the device can access to internet.

Test Step:

-

Please click the Package Launch to launch the widget.

+

Click Package Launch button to launch the widget.

Expected Result:

The "tizen" "developer.tizen" "baidu" and "baike.baidu" are displayed on the page.

diff --git a/tests/ConfigurationExtension/res/setting-an-more.wgt b/tests/ConfigurationExtension/res/setting-an-more.wgt index ac4431f..0da1f58 100644 Binary files a/tests/ConfigurationExtension/res/setting-an-more.wgt and b/tests/ConfigurationExtension/res/setting-an-more.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-an-one.html b/tests/ConfigurationExtension/res/setting-an-one.html index 3502c2a..edb8cbc 100644 --- a/tests/ConfigurationExtension/res/setting-an-one.html +++ b/tests/ConfigurationExtension/res/setting-an-one.html @@ -64,7 +64,7 @@ Authors:

Pre-condition:

Make sure the device can access to internet.

Test Step:

-

Please click the Package Launch to launch the widget.

+

Click Package Launch button to launch the widget.

Expected Result:

The "google" "tizen" and "developer.tizen" are displayed on the page.

diff --git a/tests/ConfigurationExtension/res/setting-an-one.wgt b/tests/ConfigurationExtension/res/setting-an-one.wgt index 8c42904..0fd52f2 100644 Binary files a/tests/ConfigurationExtension/res/setting-an-one.wgt and b/tests/ConfigurationExtension/res/setting-an-one.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-an-zero.html b/tests/ConfigurationExtension/res/setting-an-zero.html index 001b6eb..d79271d 100644 --- a/tests/ConfigurationExtension/res/setting-an-zero.html +++ b/tests/ConfigurationExtension/res/setting-an-zero.html @@ -64,7 +64,7 @@ Authors:

Pre-condition:

Make sure the device can access to internet.

Test Step:

-

Please click the Package Launch to launch the widget.

+

Click Package Launch button to launch the widget.

Expected Result:

The "google" and "tizen" links are displayed on the page.

diff --git a/tests/ConfigurationExtension/res/setting-an-zero.wgt b/tests/ConfigurationExtension/res/setting-an-zero.wgt index 35296c8..a90d4f7 100644 Binary files a/tests/ConfigurationExtension/res/setting-an-zero.wgt and b/tests/ConfigurationExtension/res/setting-an-zero.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-ar-true.html b/tests/ConfigurationExtension/res/setting-ar-true.html index 99256f4..8ccaf81 100644 --- a/tests/ConfigurationExtension/res/setting-ar-true.html +++ b/tests/ConfigurationExtension/res/setting-ar-true.html @@ -62,9 +62,11 @@ Authors: diff --git a/tests/ConfigurationExtension/res/setting-ar-true.wgt b/tests/ConfigurationExtension/res/setting-ar-true.wgt index f549dcf..2deff3f 100644 Binary files a/tests/ConfigurationExtension/res/setting-ar-true.wgt and b/tests/ConfigurationExtension/res/setting-ar-true.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-bs-disable.html b/tests/ConfigurationExtension/res/setting-bs-disable.html index e60f19b..32fd0d2 100644 --- a/tests/ConfigurationExtension/res/setting-bs-disable.html +++ b/tests/ConfigurationExtension/res/setting-bs-disable.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/ConfigurationExtension/res/setting-bs-disable.wgt b/tests/ConfigurationExtension/res/setting-bs-disable.wgt index b34ace6..7a74646 100644 Binary files a/tests/ConfigurationExtension/res/setting-bs-disable.wgt and b/tests/ConfigurationExtension/res/setting-bs-disable.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-cm-disable.html b/tests/ConfigurationExtension/res/setting-cm-disable.html index 199e4a0..9b7a7f1 100644 --- a/tests/ConfigurationExtension/res/setting-cm-disable.html +++ b/tests/ConfigurationExtension/res/setting-cm-disable.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/ConfigurationExtension/res/setting-cm-disable.wgt b/tests/ConfigurationExtension/res/setting-cm-disable.wgt index 3575086..e381505 100644 Binary files a/tests/ConfigurationExtension/res/setting-cm-disable.wgt and b/tests/ConfigurationExtension/res/setting-cm-disable.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-cm-enable.html b/tests/ConfigurationExtension/res/setting-cm-enable.html index 5ef454a..36e5aae 100644 --- a/tests/ConfigurationExtension/res/setting-cm-enable.html +++ b/tests/ConfigurationExtension/res/setting-cm-enable.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/ConfigurationExtension/res/setting-cm-enable.wgt b/tests/ConfigurationExtension/res/setting-cm-enable.wgt index 97ce01d..1489cf3 100644 Binary files a/tests/ConfigurationExtension/res/setting-cm-enable.wgt and b/tests/ConfigurationExtension/res/setting-cm-enable.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-encrypt-disable.wgt b/tests/ConfigurationExtension/res/setting-encrypt-disable.wgt index 0802dcd..4b58d2f 100644 Binary files a/tests/ConfigurationExtension/res/setting-encrypt-disable.wgt and b/tests/ConfigurationExtension/res/setting-encrypt-disable.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-encrypt-enable.wgt b/tests/ConfigurationExtension/res/setting-encrypt-enable.wgt index a2fe422..516df55 100644 Binary files a/tests/ConfigurationExtension/res/setting-encrypt-enable.wgt and b/tests/ConfigurationExtension/res/setting-encrypt-enable.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-hwkey-default.html b/tests/ConfigurationExtension/res/setting-hwkey-default.html index ab8410d..7d5387e 100644 --- a/tests/ConfigurationExtension/res/setting-hwkey-default.html +++ b/tests/ConfigurationExtension/res/setting-hwkey-default.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/ConfigurationExtension/res/setting-hwkey-default.wgt b/tests/ConfigurationExtension/res/setting-hwkey-default.wgt index 1b4c2cb..6a65539 100644 Binary files a/tests/ConfigurationExtension/res/setting-hwkey-default.wgt and b/tests/ConfigurationExtension/res/setting-hwkey-default.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-hwkey-disable.html b/tests/ConfigurationExtension/res/setting-hwkey-disable.html index b8bc005..7bf5083 100644 --- a/tests/ConfigurationExtension/res/setting-hwkey-disable.html +++ b/tests/ConfigurationExtension/res/setting-hwkey-disable.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/ConfigurationExtension/res/setting-hwkey-disable.wgt b/tests/ConfigurationExtension/res/setting-hwkey-disable.wgt index 66a8f20..9c13cfc 100644 Binary files a/tests/ConfigurationExtension/res/setting-hwkey-disable.wgt and b/tests/ConfigurationExtension/res/setting-hwkey-disable.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-hwkey-enable.html b/tests/ConfigurationExtension/res/setting-hwkey-enable.html index 81433ad..f5a15f7 100644 --- a/tests/ConfigurationExtension/res/setting-hwkey-enable.html +++ b/tests/ConfigurationExtension/res/setting-hwkey-enable.html @@ -62,7 +62,9 @@ Authors: diff --git a/tests/ConfigurationExtension/res/setting-hwkey-enable.wgt b/tests/ConfigurationExtension/res/setting-hwkey-enable.wgt index 0df3650..1c7cafa 100644 Binary files a/tests/ConfigurationExtension/res/setting-hwkey-enable.wgt and b/tests/ConfigurationExtension/res/setting-hwkey-enable.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-install-location-internal-only-with-card.html b/tests/ConfigurationExtension/res/setting-install-location-internal-only-with-card.html index 65ea010..358d040 100644 --- a/tests/ConfigurationExtension/res/setting-install-location-internal-only-with-card.html +++ b/tests/ConfigurationExtension/res/setting-install-location-internal-only-with-card.html @@ -68,8 +68,12 @@ Authors:

Pre-condition:

Insert a memory card into the device.

Test Step:

-

1. Click the Package Install to install the widget.
- 2. Click the Package Launch to launch the widget.

+
    +
  1. Click the Package Install button to install the widget.
  2. +
  3. Click the Package Launch button to launch the widget.
  4. +
+

Expected Result:

+

Test passes if the "Fail" is changed by "Pass --- menu event is invoked" or "Pass --- back event is invoked".

diff --git a/tests/ConfigurationExtension/res/setting-install-location-internal-only-with-card.wgt b/tests/ConfigurationExtension/res/setting-install-location-internal-only-with-card.wgt index edd16cb..8e48a52 100644 Binary files a/tests/ConfigurationExtension/res/setting-install-location-internal-only-with-card.wgt and b/tests/ConfigurationExtension/res/setting-install-location-internal-only-with-card.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-install-location-prefer-external-no-card.html b/tests/ConfigurationExtension/res/setting-install-location-prefer-external-no-card.html index a333239..098703e 100644 --- a/tests/ConfigurationExtension/res/setting-install-location-prefer-external-no-card.html +++ b/tests/ConfigurationExtension/res/setting-install-location-prefer-external-no-card.html @@ -68,7 +68,7 @@ Authors:

Pre-condition:

Make sure there is no memory card inserted into the device.

Test Step:

-

Click the Package Install to install the widget

+

Click the Package Install button to install the widget

Expected Result:

The case will pass if the widget can not be installed successfully.

diff --git a/tests/ConfigurationExtension/res/setting-install-location-prefer-external-no-card.wgt b/tests/ConfigurationExtension/res/setting-install-location-prefer-external-no-card.wgt index 556a85c..bd34b99 100644 Binary files a/tests/ConfigurationExtension/res/setting-install-location-prefer-external-no-card.wgt and b/tests/ConfigurationExtension/res/setting-install-location-prefer-external-no-card.wgt differ diff --git a/tests/ConfigurationExtension/res/setting-install-location-prefer-external-with-card.html b/tests/ConfigurationExtension/res/setting-install-location-prefer-external-with-card.html index b58fe3c..325868a 100644 --- a/tests/ConfigurationExtension/res/setting-install-location-prefer-external-with-card.html +++ b/tests/ConfigurationExtension/res/setting-install-location-prefer-external-with-card.html @@ -68,8 +68,12 @@ Authors:

Pre-condition:

Insert a memory card into the device.

Test Step:

-

1. Click the Package Install to install the widget.
- 2. Click the Package Launch to launch the widget.

+
    +
  1. Click the Package Install button to install the widget.
  2. +
  3. Click the Package Launch button to launch the widget.
  4. +
+

Expected Result:

+

The case will pass if the widget can not be installed successfully.

diff --git a/tests/ConfigurationExtension/res/setting-install-location-prefer-external-with-card.wgt b/tests/ConfigurationExtension/res/setting-install-location-prefer-external-with-card.wgt index 1469a71..a79752b 100644 Binary files a/tests/ConfigurationExtension/res/setting-install-location-prefer-external-with-card.wgt and b/tests/ConfigurationExtension/res/setting-install-location-prefer-external-with-card.wgt differ diff --git a/tests/DragandDrop/res/DragandDrop b/tests/DragandDrop/res/DragandDrop index 8e8a9df..efdcd7b 100644 Binary files a/tests/DragandDrop/res/DragandDrop and b/tests/DragandDrop/res/DragandDrop differ diff --git a/tests/DynamicBox/index.html b/tests/DynamicBox/index.html index 19afe8f..6f46c84 100644 --- a/tests/DynamicBox/index.html +++ b/tests/DynamicBox/index.html @@ -67,17 +67,19 @@ Authors:

Test Purpose:

Verifies the functionality of DynamicBox application. Tests the functionality of mouse event, visibility event and unload event for DynamicBox.Install app-widget and DynamicBox viewer by clicking the "Package Install" button.Launch DynamicBox Viewer by clicking the "Launch" button.Uninstall app-widget and DynamicBox viewer by clicking "Package UnInstall" button.

Test Step:

-

(1) "Mousde event false", touch the red filled square in the app-widget, test passes if the red square doesn't change;

-

(2) "Sample", test passes if got a green pass on the screen;

-

(3) "AppWidget Unload event", wait 5 seconds after click the app-widget, test passes if several words "pass" displayed on the screen;

-

(4) "Dynamic Box", touch the menu button to select size 354x354 then flick down the box, push button "Send message to Box", test passes if "Hello, Dynamic Box" displayed on the box;

-

(5) Switch device's language to French, then relaunch the viewer by push "Launch" button, test passes if the fifth app-widget's name changed from "NO NAME" to"Caisses dynamique";

-

(6) app-widget-primary-true-false appWidget's titles("AppWidget Primary set1 true false" and "AppWidget Primary set2 true false") are displayed in dynamicbox viewer;

-

(7) "AppWidget Content mouse event", Use finger to touch the red filled square, test passes if the square turned to green;

-

(8) "AppWidget Load event", test passes if the box is loaded successfully, and the green "Pass" is displayed;

-

(9) "Visibility widget", test passes if the green pass is displayed in box, and flicks down content of Web AppWidget, PD is opened and displayed "PD index.html";

-

(10) "Size Decoration", touch the menu button to select box size, test passes if the box with "354x354" size have different frame decoration with the box with other two sizes;

-

(11) "Size Preview", touch the menu button to select box size, test passes if some icons can be displayed on size list.

+
    +
  1. "Mousde event false", touch the red filled square in the app-widget,passes if the red square doesn't change;
  2. +
  3. "Sample", passes if got a green pass on the screen;
  4. +
  5. "AppWidget Unload event", wait 5 seconds after click the app-widget, passes if several words "pass" displayed on the screen;
  6. +
  7. "Dynamic Box", select size 354x354 then flick down the box, push button "Send message to Box", passes if "Hello, Dynamic Box" displayed on the box;
  8. +
  9. Switch device's language to French, then relaunch the viewer by push "Launch" button, passes if the fifth app-widget's name changed from "NO NAME" to"Caisses dynamique";
  10. +
  11. app-widget-primary-true-false appWidget's titles("AppWidget Primary set1 true false" and "AppWidget Primary set2 true false") are displayed in dynamicbox viewer;
  12. +
  13. "AppWidget Content mouse event" Use finger to touch the red filled square,pass if the square turned to green;
  14. +
  15. "AppWidget Load event", pass if the box is loaded successfully, and the green "Pass" is displayed;
  16. +
  17. "Visibility widget", pass if the green pass is displayed in box, and flicks down content of Web AppWidget, PD is opened and displayed "PD index.html";
  18. +
  19. "Size Decoration", touch the "size list" button and select box size, pass if box with "354x354" size has frame decoration;
  20. +
  21. "Size Preview", touch "Size list" button, pass if some icons can be displayed on size list.
  22. +

Expected Result:

This test PASS only if all the test points function well.

diff --git a/tests/PackageManagement/res/Sample-widget1.html b/tests/PackageManagement/res/Sample-widget1.html index 7406848..a3d4994 100644 --- a/tests/PackageManagement/res/Sample-widget1.html +++ b/tests/PackageManagement/res/Sample-widget1.html @@ -62,7 +62,7 @@ Authors: diff --git a/tests/PackageManagement/res/npruntime-arm-on-x86.wgt b/tests/PackageManagement/res/npruntime-arm-on-x86.wgt index b7904e3..7cd12e8 100644 Binary files a/tests/PackageManagement/res/npruntime-arm-on-x86.wgt and b/tests/PackageManagement/res/npruntime-arm-on-x86.wgt differ diff --git a/tests/PackageManagement/res/widget-version-1-1.wgt b/tests/PackageManagement/res/widget-version-1-1.wgt index 9399a0e..0e876a4 100644 Binary files a/tests/PackageManagement/res/widget-version-1-1.wgt and b/tests/PackageManagement/res/widget-version-1-1.wgt differ diff --git a/tests/PackageManagement/res/widget-version-1.html b/tests/PackageManagement/res/widget-version-1.html index a0d0795..5a7ca34 100644 --- a/tests/PackageManagement/res/widget-version-1.html +++ b/tests/PackageManagement/res/widget-version-1.html @@ -62,8 +62,10 @@ Authors: