# Authors:
# Fan, Yugang <yugang.fan@intel.com>
#
+SUBDIRS = scripts
testdefdir = $(datadir)/tct-stab-wrt-tests
dist_testdef_DATA = tests.xml
docdir = /opt/tct-stab-wrt-tests
AC_CONFIG_FILES([\
Makefile \
+scripts/Makefile \
])
AC_OUTPUT
--- /dev/null
+##
+# Copyright (c) 2012 Intel Corporation.
+#
+# Redistribution and use in source and binary forms, with or without modification,
+# are permitted provided that the following conditions are met:
+#
+# * Redistributions of works must retain the original copyright notice, this list
+# of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the original copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+# * Neither the name of Intel Corporation nor the names of its contributors
+# may be used to endorse or promote products derived from this work without
+# specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Authors:
+# Hao, Yunfei <yunfeix.hao@intel.com>
+#
+
+
+scripts_SCRIPTS = *
+scriptsdir = /opt/tct-stab-wrt-tests/scripts
+EXTRA_DIST = $(scripts_SCRIPTS)
--- /dev/null
+#!/bin/bash
+#
+# Copyright (C) 2010 Intel Corporation
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Author:
+# Yue, jianhui <jianhuix.a.yue@intel.com>
+
+if [ $# != 1 ];then
+ echo "Need to add the parameter"
+ exit 1
+fi
+
+path=$(dirname $(dirname $0))
+PACKAGENAME="$path/$1"
+p_name=$1
+APP_NAME=${p_name%.*}
+WIDGETNAME=`wrt-launcher -l|grep $APP_NAME|awk '{print $NF}'`
+for i in `seq 100`;do
+ if [ ! -z "$WIDGETNAME" ];then
+ wrt-installer -un $WIDGETNAME
+ WIDGETNAME=`wrt-launcher -l|grep $APP_NAME|awk '{print $NF}'`
+ if [ ! -z "$WIDGETNAME" ];then
+ echo "fail to uninstall widget"
+ exit 1
+ fi
+ fi
+ wrt-installer -i $PACKAGENAME
+ WIDGETNAME=`wrt-launcher -l|grep $APP_NAME|awk '{print $NF}'`
+ if [ -z "$WIDGETNAME" ];then
+ echo "The installation is failed"
+ exit 1
+ else
+ echo "The widget is installed successfully"
+ if [ $i -eq 30 ];then
+ wrt-installer -un $WIDGETNAME
+ exit 0
+ fi
+ fi
+done
<meta name="flags" content="" />
<meta name="assert" content="Check that the web runtime can perform portrait screen orientation action by default." />
<meta charset="utf-8">
+ <script type='text/javascript'>
+ onS = function (deviceOrientation) {
+ screen.unlockOrientation();
+ var status = deviceOrientation.status;
+ if(status=="LANDSCAPE_PRIMARY"){
+ screen.lockOrientation("landscape-primary");
+ }
+ if(status=="LANDSCAPE_SECONDARY"){
+ screen.lockOrientation("landscape-secondary");
+ }
+ if(status=="PORTRAIT_PRIMARY"){
+ screen.lockOrientation("portrait-primary");
+ }
+ if(status=="PORTRAIT_SECONDARY"){
+ screen.lockOrientation("portrait-secondary");
+ }
+ };
+ screen.onorientationchange = function(){alert("PASS");};
+ tizen.systeminfo.addPropertyValueChangeListener("DEVICE_ORIENTATION", onS, null);
+ </script>
</head>
<body>
<p>1.Install setting-so-default.wgt<br>Expected:widget application is able to install successfully<br>2.Confirm the view of Web app is to be locked in the portrait mode<br>Expected:The WRT implement view of app is default mode which is portrait mode</p>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<widget id="http://tizen.org/test-multi-index" viewmodes="maximized" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
- <access origin="*"/>
- <icon src="custom.png" height="123" width="123"/>
- <content src="index.html"/>
- <name>test-multi-index</name>
- <tizen:application id="wrttest004.testmultiindex" package="wrttest004" required_version="2.1"/>
- <tizen:setting background-support="enable"/>
-</widget>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- <meta name="description" content="index.html"/>
- <title>WRT Test: test-multi-index</title>
- <script type="text/javascript">
- function toIndex2()
- {
- window.open('index2.html');
- }
- </script>
-</head>
-<body>
- <div><input type="button" value="toIndex2" onclick="toIndex2();"/></div>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- <meta name="description" content="index10.html"/>
- <title>WRT Test: test-multi-index10</title>
-</head>
-<body>
- <div>Pass</div>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- <meta name="description" content="index2.html"/>
- <title>WRT Test: test-multi-index2</title>
- <script type="text/javascript">
- function toIndex3()
- {
- window.open('index3.html');
- }
- </script>
-</head>
-<body>
- <div><input type="button" value="toIndex3" onclick="toIndex3();"/></div>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- <meta name="description" content="index3.html"/>
- <title>WRT Test: test-multi-index3</title>
- <script type="text/javascript">
- function toIndex4()
- {
- window.open('index4.html');
- }
- </script>
-</head>
-<body>
- <div><input type="button" value="toIndex4" onclick="toIndex4();"/></div>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- <meta name="description" content="index4.html"/>
- <title>WRT Test: test-multi-index4</title>
- <script type="text/javascript">
- function toIndex5()
- {
- window.open('index5.html');
- }
- </script>
-</head>
-<body>
- <div><input type="button" value="toIndex5" onclick="toIndex5();"/></div>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- <meta name="description" content="index5.html"/>
- <title>WRT Test: test-multi-index5</title>
- <script type="text/javascript">
- function toIndex6()
- {
- window.open('index6.html');
- }
- </script>
-</head>
-<body>
- <div><input type="button" value="toIndex6" onclick="toIndex6();"/></div>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- <meta name="description" content="index6.html"/>
- <title>WRT Test: test-multi-index6</title>
- <script type="text/javascript">
- function toIndex7()
- {
- window.open('index7.html');
- }
- </script>
-</head>
-<body>
- <div><input type="button" value="toIndex7" onclick="toIndex7();"/></div>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- <meta name="description" content="index7.html"/>
- <title>WRT Test: test-multi-index7</title>
- <script type="text/javascript">
- function toIndex8()
- {
- window.open('index8.html');
- }
- </script>
-</head>
-<body>
- <div><input type="button" value="toIndex8" onclick="toIndex8();"/></div>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- <meta name="description" content="index8.html"/>
- <title>WRT Test: test-multi-index8</title>
- <script type="text/javascript">
- function toIndex9()
- {
- window.open('index9.html');
- }
- </script>
-</head>
-<body>
- <div><input type="button" value="toIndex9" onclick="toIndex9();"/></div>
-</body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- <meta name="description" content="index9.html"/>
- <title>WRT Test: test-multi-index9</title>
- <script type="text/javascript">
- function toIndex10()
- {
- window.open('index10.html');
- }
- </script>
-</head>
-<body>
- <div><input type="button" value="toIndex10" onclick="toIndex10();"/></div>
-</body>
-</html>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<widget id="http://tizen.org/test-music" viewmodes="maximized" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
- <access origin="*"/>
- <icon src="custom.png" height="123" width="123"/>
- <content src="index.html"/>
- <name>test-music</name>
- <tizen:application id="wrttest005.testmusic" package="wrttest005" required_version="2.1"/>
- <tizen:setting background-support="enable"/>
-</widget>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
-<meta name="description" content="Test music" />
-<title>WRT Test: test-music</title>
-</head>
-<body>
- <audio controls="controls" src="/opt/media/Videos/test.mp3"></audio>
-</body>
-</html>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<widget id="http://tizen.org/test-video" viewmodes="maximized" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets">
- <access origin="*"/>
- <icon src="custom.png" height="123" width="123"/>
- <content src="index.html"/>
- <name>test-video</name>
- <tizen:application id="wrttest006.testvideo" package="wrttest006" required_version="2.1"/>
- <tizen:setting background-support="enable"/>
-</widget>
+++ /dev/null
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 Intel Corporation.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of works must retain the original copyright notice, this list
- of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the original copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Intel Corporation nor the names of its contributors
- may be used to endorse or promote products derived from this work without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Authors:
- Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
- <meta name="description" content="Test video"/>
- <title>WRT Test: test-video</title>
-</head>
-<body>
- <video width="321" height="240" controls="controls">
- <source src="/opt/media/Videos/test.mp4" type="video/mp4"></source>
- </video>
-</body>
-</html>
<expected>The image displayed normally</expected>
</step>
</steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <test_script_entry test_script_expected_result="0">scipts/wrt_pm_WRTInstaller.sh setting-bs-enable.wgt</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check that WRT can install and uninstall webapp roundly." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-repeat-install-uninstall">
- <description>
- <pre_condition></pre_condition>
- <post_condition></post_condition>
- <steps>
- <step order="1">
- <step_desc>Install test-hd-image application with command : wrt-installer -i /opt/tct-stab-wrt-tests/test-hd-image.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of test-hd-image.wgt with the command :"wrt-launcher -l" and uninstall the test-hd-image.wgt with the command :"wrt-installer -un 'application id'"</step_desc>
- <expected>The test-hd-image application is uninstalled successfully</expected>
- </step>
- <step order="3">
- <step_desc>Just repeat the action roundly, for example: 100 times</step_desc>
- <expected>The test-hd-image application can be installed/uninstalled successfully</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="Tizen Hosted Web Application" interface="Web Runtime" specification="Application" section="Tizen" category="Web Runtime Specifications" />
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT can open 9 different webpages in browser." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-multi-webpage">
+ <testcase purpose="Check that WRT can install and uninstall webapp roundly." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="auto" priority="P3" id="wrt-repeat-install-uninstall">
<description>
<pre_condition></pre_condition>
<post_condition></post_condition>
<steps>
<step order="1">
- <step_desc>opening nine different web pages on internet</step_desc>
- <expected>Connected to nine websites successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="Settings" interface="Web Runtime" specification="Application" section="Tizen" category="Web Runtime Specifications" />
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </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-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">
- <step_desc>Get the 'application id' of test-hd-image.wgt with the command :"wrt-launcher -l" and launch the test-hd-image.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The test-hd-image application is opened</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of test-hd-image.wgt with the command :"wrt-launcher -l" and kill the test-hd-image.wgt with the command :"wrt-launcher -k 'application id'"</step_desc>
- <expected>The test-hd-image application is closed</expected>
- </step>
- <step order="3">
- <step_desc>Just repeat the action roundly,for example: 100 times</step_desc>
- <expected>Switch on and off the application normally</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="ApplicationID" interface="Web Runtime" specification="Application" section="Tizen" category="Web Runtime Specifications" />
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT can open multiple browser windows through webapp." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-multi-browsing-windows">
- <description>
- <pre_condition>Install the test-multi-index application with command : wrt-installer -i /opt/tct-stab-wrt-tests/test-multi-index.wgt</pre_condition>
- <post_condition>Get the 'application id' of test-multi-index.wgt with the command :"wrt-launcher -l" and uninstall the test-multi-index.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Get the 'application id' of test-multi-index.wgt with the command :"wrt-launcher -l" and launch the test-multi-index.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The screen shows button.</expected>
- </step>
- <step order="2">
- <step_desc>Click "button" until "Pass" appeara</step_desc>
- <expected>Accoding to the prompt, the webpage can turn to another webpage</expected>
+ <step_desc>Check that WRT can install and uninstall webapp smoothly by 30 times.</step_desc>
+ <expected>Widget application is able to be installed and uninstalled successfully.</expected>
</step>
</steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <test_script_entry test_script_expected_result="0">/opt/tct-stab-wrt-tests/scripts/wrt_pm_WRTInstaller.sh setting-bs-enable.wgt</test_script_entry>
</description>
<specs>
<spec>
</spec>
</specs>
</testcase>
- <testcase purpose="Check that WRT can allow to uninstall a widget which size is larger than half memory." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-uninstall-large-webapp">
- <description>
- <pre_condition>Make sure the free storage is more than half memory. According to following steps, change the test-half-memory.wgt.Open the folder of "test-half-memory"(suppose you only have the rpm package, unzip the rpm and find the test-half-memory.wgt, unzip the wgt as "test-half-memory").Push a file that the size is larger than half memory into the folder and rename the file as "zipzip.png".Use the command :"zip -rq ../test-half-memory.wgt *" to create a test-half-memory.wgt.Install the widget with command : wrt-installer -i /opt/tct-stab-wrt-tests/test-half-memory.wgt</pre_condition>
- <post_condition></post_condition>
- <steps>
- <step order="1">
- <step_desc>Get the 'application id' of test-half-memory.wgt with the command :"wrt-launcher -l" and uninstall the test-half-memory.wgt with the command :"wrt-installer -un 'application id'"</step_desc>
- <expected>The test-half-memory widget application is uninstalled successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="Settings" interface="Web Runtime" specification="Application" section="Tizen" category="Web Runtime Specifications" />
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT can install 100 widget applications at the same time." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-install-100-webapp">
- <description>
- <pre_condition>Download 100 widget applications which are supported by tizen; push the app to device with command:sdb push 'path'/'widget name'.wgt /opt/'path'</pre_condition>
- <post_condition>Get the 'application id' of widget 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_desc>Install 100 widget applications with command : wrt-installer -i /opt/'path'/'widget name'.wgt</step_desc>
- <expected>All the Widget applications are installed, icons are displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="Settings" interface="Web Runtime" specification="Application" section="Tizen" category="Web Runtime Specifications" />
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT can uninstall 100 widget applications at the same time." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-uninstall-100-webapp">
- <description>
- <pre_condition>Download 100 widget applications which are supported by tizen. Push the app to device with command:sdb push 'path'/'widget name'.wgt /opt/'path'. Install 100 widget applications with command : wrt-installer -i /opt/'path'/'widget name'.wgt</pre_condition>
- <post_condition></post_condition>
- <steps>
- <step order="1">
- <step_desc>Get the 'application id' of widget with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'" at the same time</step_desc>
- <expected>All the widget application are uninstalled, icons are removed from screen</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="Application Service" interface="Web Runtime" specification="Application" section="Tizen" category="Web Runtime Specifications" />
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to connect network automatically after restart device." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-switch-internet">
- <description>
- <pre_condition></pre_condition>
- <post_condition></post_condition>
- <steps>
- <step order="1">
- <step_desc>Use browser to login "https://developer.tizen.org/downloads/sdk" for downloading.</step_desc>
- <expected>The webpage is opened</expected>
- </step>
- <step order="2">
- <step_desc>Click the "tizen-sdk-2.0-ubuntu32.bin" that download SDK image</step_desc>
- <expected>Show dialogue of download</expected>
- </step>
- <step order="3">
- <step_desc>Reboot the device</step_desc>
- <expected>The device is power on</expected>
- </step>
- <step order="4">
- <step_desc>Continue to download the last task</step_desc>
- <expected>WRT can connect network automatically</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="Settings" interface="Web Runtime" specification="Application" section="Tizen" category="Web Runtime Specifications" />
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </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.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">
- <step_desc>Get the 'application id' of test-music.wgt with the command :"wrt-launcher -l" and launch the test-music.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>Shows media player</expected>
- </step>
- <step order="2">
- <step_desc>Click the play button to pause/play music roundly and continuously,for example: 100 times</step_desc>
- <expected>The music is playing normally</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="Settings" interface="Web Runtime" specification="Application" section="Tizen" category="Web Runtime Specifications" />
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT can play music repeatedly." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-repeat-play-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>
- <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">
- <step_desc>Get the 'application id' of test-music.wgt with the command :"wrt-launcher -l" and launch the test-music.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>Show music player</expected>
- </step>
- <step order="2">
- <step_desc>Play the music roundly,for example: hundred times</step_desc>
- <expected>The music is playing normally</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="Settings" interface="Web Runtime" specification="Application" section="Tizen" category="Web Runtime Specifications" />
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT play video normally while play/pause video roundly." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-repeat-play-pause-video">
- <description>
- <pre_condition>Download mp4 file to location of local machine(such as "c:/").Rename the downloaded file as "test.mp4". Push the image to device with the command "sdb push c:/test.mp4 /opt/media/Videos/".Install the test-video application with command : wrt-installer -i /opt/tct-stab-wrt-tests/test-video.wgt</pre_condition>
- <post_condition>Get the 'application id' of test-video application with the command :"wrt-launcher -l" and uninstall the test-video widget with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Get the 'application id' of test-video.wgt with the command :"wrt-launcher -l" and launch the test-video.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>Show vedio player</expected>
- </step>
- <step order="2">
- <step_desc>Click the play button to pause/play video continuously,for example: 100 times</step_desc>
- <expected>The video is playing normally</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="Settings" interface="Web Runtime" specification="Application" section="Tizen" category="Web Runtime Specifications" />
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT can run the application in backgroud." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-repeat-backgroud-support">
- <description>
- <pre_condition>Install setting-bs-enable apllication with command : wrt-installer -i /opt/tct-stab-wrt-tests/setting-bs-enable.wgt</pre_condition>
- <post_condition>Get the 'application id' of setting-bs-enable application with the command :"wrt-launcher -l" and uninstall the setting-bs-enable widget with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Get the 'application id' of setting-bs-enable.wgt with the command :"wrt-launcher -l" and launch the setting-bs-enable.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>Show the counter</expected>
- </step>
- <step order="2">
- <step_desc>Return to the home page</step_desc>
- <expected>The widget application runs in backgroud</expected>
- </step>
- <step order="3">
- <step_desc>Reopen the setting-bs-enable widget application</step_desc>
- <expected>The counter is growing</expected>
- </step>
- <step order="4">
- <step_desc>Just repeat the action continuously,for example: 100 times</step_desc>
- <expected>The counter is growing normally</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="Application Service" interface="Web Runtime" specification="Application" section="Tizen" category="Web Runtime Specifications" />
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check that WRT can lock the veiw mode." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-repeat-screen-orientation">
<description>
<pre_condition>Install setting-so-default apllication with command : wrt-installer -i /opt/tct-stab-wrt-tests/setting-so-default.wgt</pre_condition>
<expected>The WRT implement view of app is under default mode which is portrait mode.</expected>
</step>
<step order="2">
- <step_desc>Return to the home page</step_desc>
- <expected>The widget application runs in backgroud</expected>
+ <step_desc>Rotate the device by 90 degrees.</step_desc>
+ <expected>A popup with "Pass" displayed on the screen.</expected>
</step>
<step order="3">
- <step_desc>Reopen the setting-so-default widget application</step_desc>
- <expected>The WRT implement view of app is under default mode which is portrait mode.</expected>
+ <step_desc>Press 'OK', then rotate the device by 180 degrees.</step_desc>
+ <expected>A popup with "Pass" displayed on the screen.</expected>
</step>
<step order="4">
- <step_desc>Just repeat the action roundly,for example: 100 times</step_desc>
- <expected>The view mode of app is to be locked in the default mode which is portrait mode.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="Application Service" interface="Web Runtime" specification="Application" section="Tizen" category="Web Runtime Specifications" />
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT can play video repeatedly." type="user_experience" status="approved" component="Web/Runtime/StabilityTest" execution_type="manual" priority="P3" id="wrt-repeat-play-video">
- <description>
- <pre_condition>Download mp4 file to location of local machine(such as "c:/").Rename the downloaded file as "test.mp4". Push the image into device with the command "sdb push c:/test.mp4 /opt/media/Videos/".Install the test-video application with command : wrt-installer -i /opt/tct-stab-wrt-tests/test-video.wgt</pre_condition>
- <post_condition></post_condition>
- <steps>
- <step order="1">
- <step_desc>Get the 'application id' of test-video.wgt with the command :"wrt-launcher -l" and launch the test-video.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Shows media player</expected>
- </step>
- <step order="2">
- <step_desc>Play the video roundly,for example: hundred times</step_desc>
- <expected>The video is playing normally</expected>
+ <step_desc>Press 'OK', then rotate the device by 270 degrees.</step_desc>
+ <expected>A pupup with "Pass" usually displayed on the screen.</expected>
</step>
</steps>
<test_script_entry test_script_expected_result="0"></test_script_entry>