From: yuhanx.xu Date: Tue, 27 Aug 2013 09:53:14 +0000 (+0800) Subject: Fixed bug TTS-1931 for Page Visibility status check X-Git-Tag: 2.2.1_release~72 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ed28c7ba422b2465c03a110855d8e82c51aa94f;p=test%2Ftct%2Fweb%2Fbehavior.git Fixed bug TTS-1931 for Page Visibility status check Signed-off-by: yuhanx.xu --- diff --git a/tests/DynamicBox/index.html b/tests/DynamicBox/index.html index 1f47786..4bb58bb 100644 --- a/tests/DynamicBox/index.html +++ b/tests/DynamicBox/index.html @@ -67,7 +67,7 @@ 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.

Expected Result:

-

This test PASS only if all the test points function well.(1)"Mousde event false", touch the red filled square in the app-widget,passes if the red square doesn't change;(2)"Sample", flick down box in the app-widget, passes if got a green pass on the screen;(3)"AppWidget Unload event", wait 5 seconds after click the app-widget, passes if several words "pass" displayed on the screen;(4)"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;(5)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";(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,pass if the square turned to green;(8)"AppWidget Load event", pass if the box is loaded successfully, and the green "Pass" is displayed;(9)"Visibility widget", Flicks down content of Web AppWidget. Pass if the green pass is displayed in box. PD is opened and displayed "PD index.html";(10)"Size Decoration",touch the "size list" button and select box size, pass is box with "354x354" size has frame decoration;(11)"Size Preview", touch "Size list" button, pass if some icons can be displayed on size list.

+

This test PASS only if all the test points function well.(1)"Mousde event false", touch the red filled square in the app-widget,passes if the red square doesn't change;(2)"Sample", passes if got a green pass on the screen;(3)"AppWidget Unload event", wait 5 seconds after click the app-widget, passes if several words "pass" displayed on the screen;(4)"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;(5)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";(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,pass if the square turned to green;(8)"AppWidget Load event", pass if the box is loaded successfully, and the green "Pass" is displayed;(9)"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";(10)"Size Decoration",touch the "size list" button and select box size, pass is box with "354x354" size has frame decoration;(11)"Size Preview", touch "Size list" button, pass if some icons can be displayed on size list.

diff --git a/tests/DynamicBox/res/app-widget-sample.wgt b/tests/DynamicBox/res/app-widget-sample.wgt index d6de933..5f4a1a0 100644 Binary files a/tests/DynamicBox/res/app-widget-sample.wgt and b/tests/DynamicBox/res/app-widget-sample.wgt differ diff --git a/tests/DynamicBox/res/app-widget-visibility-event.wgt b/tests/DynamicBox/res/app-widget-visibility-event.wgt index 756127e..6381bda 100644 Binary files a/tests/DynamicBox/res/app-widget-visibility-event.wgt and b/tests/DynamicBox/res/app-widget-visibility-event.wgt differ