Fix bug TTS-1839 and change one case from manual to auto for ext02 module
authorYue jianhui <jianhuix.a.yue@intel.com>
Tue, 6 Aug 2013 01:44:35 +0000 (18:44 -0700)
committerYue jianhui <jianhuix.a.yue@intel.com>
Tue, 6 Aug 2013 01:44:35 +0000 (18:44 -0700)
Signed-off-by: Yue jianhui <jianhuix.a.yue@intel.com>
16 files changed:
tct-ext02-wrt-tests/Makefile.am
tct-ext02-wrt-tests/WRTInstaller [deleted file]
tct-ext02-wrt-tests/WRTInstallerFail [deleted file]
tct-ext02-wrt-tests/WRTUninstaller [deleted file]
tct-ext02-wrt-tests/configure.ac
tct-ext02-wrt-tests/frame-src_asterisk/config.xml
tct-ext02-wrt-tests/frame-src_cross-origin_multi/config.xml
tct-ext02-wrt-tests/scripts/Common [new file with mode: 0644]
tct-ext02-wrt-tests/scripts/Makefile.am [new file with mode: 0644]
tct-ext02-wrt-tests/scripts/WRTInstaller [new file with mode: 0644]
tct-ext02-wrt-tests/scripts/WRTInstallerFail [new file with mode: 0644]
tct-ext02-wrt-tests/scripts/WRTUninstaller [new file with mode: 0644]
tct-ext02-wrt-tests/scripts/wrt_ext_application-id-exist.sh [new file with mode: 0644]
tct-ext02-wrt-tests/setting-encrypt-disable/index.html
tct-ext02-wrt-tests/setting-encrypt-enable/index.html
tct-ext02-wrt-tests/tests.xml

index dbe108cdf5c3966ad26d6f4768476f43060029d4..2b7adab6d672fd2106ee1445429af905fdf6d04f 100644 (file)
 # Authors:
 #               Fan, Yugang <yugang.fan@intel.com>
 #
-SUBDIRS =  support w3c
+SUBDIRS =  support w3c scripts
 testdefdir = $(datadir)/tct-ext02-wrt-tests
 dist_testdef_DATA = tests.xml 
 docdir = /opt/tct-ext02-wrt-tests
 dist_doc_DATA = Changelog README *.wgt COPYING
-WebRunTime_SCRIPTS = WRTInstaller WRTInstallerFail WRTUninstaller
-WebRunTimedir = /opt/tct-ext02-wrt-tests
-EXTRA_DIST = $(WebRunTime_SCRIPTS)
diff --git a/tct-ext02-wrt-tests/WRTInstaller b/tct-ext02-wrt-tests/WRTInstaller
deleted file mode 100755 (executable)
index fda88d3..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/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:
-#        Cao, Jenny <jenny.q.cao@intel.com>
-#        Yue, jianhui <jianhuix.a.yue@intel.com>
-
-if [ $# != 1 ];then
-    echo "usage $0 + packagename"
-fi
-
-PACKAGENAME="/opt/tct-ext02-wrt-tests/$1"
-p_name=$1
-APP_NAME=${p_name%.*}
-WIDGETNAME=`wrt-launcher -l|grep $APP_NAME|awk '{print $NF}'`
-
-if [ -n $WIDGETNAME ];then
-  wrt-installer -un $WIDGETNAME 1>/tmp/uninstaller.log 2>&1
-  sleep 5
-fi
-wrt-installer -i $PACKAGENAME 1>/tmp/installer.log 2>&1
-sleep 5
-WIDGETNAME=`wrt-launcher -l|grep $APP_NAME|awk '{print $NF}'`
-
-RET=`grep "installation was successful" /tmp/installer.log `
-if [ -z "$RET"  ]; then
-  echo -e  "wrt-installer install widget failed!"
-  exit 1
-else
-  echo -e  " wrt-installer install widget successfully!"
-  wrt-installer -un $WIDGETNAME 1>/dev/null 2>&1
-  exit 0
-fi
diff --git a/tct-ext02-wrt-tests/WRTInstallerFail b/tct-ext02-wrt-tests/WRTInstallerFail
deleted file mode 100755 (executable)
index 34f2310..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/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:
-#        Cao, Jenny <jenny.q.cao@intel.com>
-#        Yue, jianhui <jianhuix.a.yue@intel.com>
-
-if [ $# != 1 ];then
-    echo "usage $0 + packagename"
-fi
-
-PACKAGENAME="/opt/tct-ext02-wrt-tests/$1"
-p_name=$1
-APP_NAME=${p_name%%.wgt}
-WIDGETNAME= $(wrt-launcher -l|grep "$APP_NAME"|awk '{print $NF}')
-
-wrt-installer -un $WIDGETNAME 1>/tmp/uninstaller.log 2>&1
-wrt-installer -i $PACKAGENAME 1>/tmp/installer.log 2>&1
-
-RET=`grep "installation was successful" /tmp/installer.log `
-if [ -z "$RET"  ]
-then
-  echo -e  "wrt-installer install widget failed!"
-  exit 0
-else
-  echo -e  " wrt-installer install widget successfully!"
-  wrt-installer -un $WIDGETNAME 1>/dev/null 2>&1
-  exit 1
-fi
diff --git a/tct-ext02-wrt-tests/WRTUninstaller b/tct-ext02-wrt-tests/WRTUninstaller
deleted file mode 100755 (executable)
index ec7de47..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/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:
-#        Cao, Jenny <jenny.q.cao@intel.com>
-#        Yue, jianhui <jianhuix.a.yue@intel.com>
-
-if [ $# != 1 ];then
-    echo "usage $0 + packagename"
-fi
-
-PACKAGENAME="/opt/tct-ext02-wrt-tests/$1"
-p_name=$1
-APP_NAME=${p_name%%.wgt}
-APPID=$(wrt-launcher -l | grep "$APP_NAME" | awk '{print $NF}')
-
-wrt-installer -un $APPID 1>/tmp/uninstaller.log 2>&1
-sleep 5
-wrt-installer -i $PACKAGENAME 1>/dev/null 2>&1
-sleep 5
-APPID=$(wrt-launcher -l | grep "$APP_NAME" | awk '{print $NF}')
-wrt-installer -un $APPID 1>/tmp/uninstaller.log 2>&1
-sleep 5
-
-RET=`grep "uninstallation was successful" /tmp/uninstaller.log `
-if [ -z "$RET" ]
-then
-  echo -e  "wrt-installer uninstall widget failed!"
-  exit 1
-else
-  echo -e  " wrt-installer uninstall widget successfully!"
-  exit 0
-fi
index 78e4289979a148c20c98b96d21f45335f0887859..70fe50924c838c39c644d78fdff2476fc72a98f8 100644 (file)
@@ -39,5 +39,6 @@ Makefile \
 support/Makefile \
 w3c/Makefile \
 w3c/support/Makefile \
+scripts/Makefile \
 ])
 AC_OUTPUT
index a225f328f81584b6ceb8dc6ffbbbbb43105681d8..f953fb3d94b7bf4ab2171ca09ca4e9ec2df60e4a 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/frame-src_asterisk" version="1.0.0" viewmodes="maximized">
   <tizen:content-security-policy>frame-src *</tizen:content-security-policy>
+  <tizen:allow-navigation>*</tizen:allow-navigation>
   <tizen:application id="wrt2fra001.framesrcAsterisk" package="wrt2fra001" required_version="2.2"/>
   <content src="index.html"/>
   <icon src="custom.png"/>
index 17c3c11f70532e2df335cc0c11b298a0753a099d..aba7647e78b243888928cc61054a274255428120 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/frame-src_cross-origin_multi" version="1.0.0" viewmodes="maximized">
   <tizen:content-security-policy>frame-src http://127.0.0.1:8081 http://127.0.0.1:8083 https://tizen.org</tizen:content-security-policy>
+  <tizen:allow-navigation>*</tizen:allow-navigation>
   <tizen:application id="wrt2fra004.framesrcCrossOriginMulti" package="wrt2fra004" required_version="2.2"/>
   <content src="index.html"/>
   <icon src="custom.png"/>
diff --git a/tct-ext02-wrt-tests/scripts/Common b/tct-ext02-wrt-tests/scripts/Common
new file mode 100644 (file)
index 0000000..45c3990
--- /dev/null
@@ -0,0 +1,88 @@
+l#!/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>
+
+
+function func_install()
+{
+    if [ $# != 1 ];then
+      echo "Need to add the parameter"
+      return 1
+    fi
+    path=$(dirname $(dirname $0))
+    PACKAGENAME="$path/$1"
+    p_name=$1
+    APP_NAME=${p_name%.*}
+    wrt-installer -i $PACKAGENAME
+    App_ID=`wrt-launcher -l|grep -w $APP_NAME|awk '{print $NF}'`
+    if [ -z $App_ID ];then
+      echo "The installation is failed"
+      return 1
+    else
+      echo "The widget is installed successfully"
+      return 0
+    fi
+}
+
+function func_uninstall()
+{
+    if [ $# != 1 ];then
+      echo "Need to add the parameter"
+      return 1
+    fi
+    path=$(dirname $(dirname $0))
+    PACKAGENAME="$path/$1"
+    p_name=$1
+    APP_NAME=${p_name%.*}
+    App_ID=`wrt-launcher -l|grep -w $APP_NAME|awk '{print $NF}'`
+    if [ -z $App_ID ];then
+      echo "The widget is not installed"
+      return 1
+    fi
+    wrt-installer -un $App_ID
+    WIDGETNAME=`wrt-launcher -l|grep -w $APP_NAME|awk '{print $NF}'`
+    if [ -z $WIDGETNAME ];then
+      echo "The widget is uninstalled successfully"
+      return 0
+    else
+      echo "uninstall widget failed"
+      return 1
+    fi
+}
+
+function func_check()
+{
+    if [ $# != 1 ];then
+      echo "Need to add the parameter"
+      return 1
+    fi
+    path=$(dirname $(dirname $0))
+    PACKAGENAME="$path/$1"
+    p_name=$1
+    APP_NAME=${p_name%.*}
+    WIDGETNAME=`wrt-launcher -l|grep -w $APP_NAME|awk '{print $NF}'`
+    if [ $WIDGETNAME == "wrt2app003.ApplicationIdExist" ];then
+      echo "The application id is exist"
+      return 0
+    else
+      echo "The application id is not exist"
+      return 1
+    fi
+}
diff --git a/tct-ext02-wrt-tests/scripts/Makefile.am b/tct-ext02-wrt-tests/scripts/Makefile.am
new file mode 100644 (file)
index 0000000..fff303b
--- /dev/null
@@ -0,0 +1,34 @@
+##
+# 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:
+#         Zhang, Zhiqiang <zhiqiang.zhang@intel.com>
+#
+
+
+scripts_SCRIPTS = *
+scriptsdir = /opt/tct-ext02-wrt-tests/scripts
+EXTRA_DIST = $(scripts_SCRIPTS)
diff --git a/tct-ext02-wrt-tests/scripts/WRTInstaller b/tct-ext02-wrt-tests/scripts/WRTInstaller
new file mode 100644 (file)
index 0000000..fda88d3
--- /dev/null
@@ -0,0 +1,48 @@
+#!/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:
+#        Cao, Jenny <jenny.q.cao@intel.com>
+#        Yue, jianhui <jianhuix.a.yue@intel.com>
+
+if [ $# != 1 ];then
+    echo "usage $0 + packagename"
+fi
+
+PACKAGENAME="/opt/tct-ext02-wrt-tests/$1"
+p_name=$1
+APP_NAME=${p_name%.*}
+WIDGETNAME=`wrt-launcher -l|grep $APP_NAME|awk '{print $NF}'`
+
+if [ -n $WIDGETNAME ];then
+  wrt-installer -un $WIDGETNAME 1>/tmp/uninstaller.log 2>&1
+  sleep 5
+fi
+wrt-installer -i $PACKAGENAME 1>/tmp/installer.log 2>&1
+sleep 5
+WIDGETNAME=`wrt-launcher -l|grep $APP_NAME|awk '{print $NF}'`
+
+RET=`grep "installation was successful" /tmp/installer.log `
+if [ -z "$RET"  ]; then
+  echo -e  "wrt-installer install widget failed!"
+  exit 1
+else
+  echo -e  " wrt-installer install widget successfully!"
+  wrt-installer -un $WIDGETNAME 1>/dev/null 2>&1
+  exit 0
+fi
diff --git a/tct-ext02-wrt-tests/scripts/WRTInstallerFail b/tct-ext02-wrt-tests/scripts/WRTInstallerFail
new file mode 100644 (file)
index 0000000..34f2310
--- /dev/null
@@ -0,0 +1,44 @@
+#!/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:
+#        Cao, Jenny <jenny.q.cao@intel.com>
+#        Yue, jianhui <jianhuix.a.yue@intel.com>
+
+if [ $# != 1 ];then
+    echo "usage $0 + packagename"
+fi
+
+PACKAGENAME="/opt/tct-ext02-wrt-tests/$1"
+p_name=$1
+APP_NAME=${p_name%%.wgt}
+WIDGETNAME= $(wrt-launcher -l|grep "$APP_NAME"|awk '{print $NF}')
+
+wrt-installer -un $WIDGETNAME 1>/tmp/uninstaller.log 2>&1
+wrt-installer -i $PACKAGENAME 1>/tmp/installer.log 2>&1
+
+RET=`grep "installation was successful" /tmp/installer.log `
+if [ -z "$RET"  ]
+then
+  echo -e  "wrt-installer install widget failed!"
+  exit 0
+else
+  echo -e  " wrt-installer install widget successfully!"
+  wrt-installer -un $WIDGETNAME 1>/dev/null 2>&1
+  exit 1
+fi
diff --git a/tct-ext02-wrt-tests/scripts/WRTUninstaller b/tct-ext02-wrt-tests/scripts/WRTUninstaller
new file mode 100644 (file)
index 0000000..ec7de47
--- /dev/null
@@ -0,0 +1,48 @@
+#!/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:
+#        Cao, Jenny <jenny.q.cao@intel.com>
+#        Yue, jianhui <jianhuix.a.yue@intel.com>
+
+if [ $# != 1 ];then
+    echo "usage $0 + packagename"
+fi
+
+PACKAGENAME="/opt/tct-ext02-wrt-tests/$1"
+p_name=$1
+APP_NAME=${p_name%%.wgt}
+APPID=$(wrt-launcher -l | grep "$APP_NAME" | awk '{print $NF}')
+
+wrt-installer -un $APPID 1>/tmp/uninstaller.log 2>&1
+sleep 5
+wrt-installer -i $PACKAGENAME 1>/dev/null 2>&1
+sleep 5
+APPID=$(wrt-launcher -l | grep "$APP_NAME" | awk '{print $NF}')
+wrt-installer -un $APPID 1>/tmp/uninstaller.log 2>&1
+sleep 5
+
+RET=`grep "uninstallation was successful" /tmp/uninstaller.log `
+if [ -z "$RET" ]
+then
+  echo -e  "wrt-installer uninstall widget failed!"
+  exit 1
+else
+  echo -e  " wrt-installer uninstall widget successfully!"
+  exit 0
+fi
diff --git a/tct-ext02-wrt-tests/scripts/wrt_ext_application-id-exist.sh b/tct-ext02-wrt-tests/scripts/wrt_ext_application-id-exist.sh
new file mode 100644 (file)
index 0000000..be3d79c
--- /dev/null
@@ -0,0 +1,39 @@
+#!/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>
+
+source $(dirname $0)/Common
+
+func_install application-id-exist.wgt
+if [ $? -eq 1 ];then
+  echo "The installation of lifecycle-launch-installed-app.wgt is failed"
+  exit 1
+fi
+
+func_check application-id-exist.wgt
+if [ $? -eq 1 ];then
+  echo "The application id is not exist"
+  func_uninstall application-id-exist.wgt
+  exit 1
+fi
+
+func_uninstall application-id-exist.wgt
+
+exit 0
\ No newline at end of file
index dcfdb09d7dfce3bfd31e763a1fa90b1070f33b00..3945a8d887435de065ba1d0752609d0e53459c9c 100644 (file)
@@ -40,6 +40,6 @@ Authors:
     <meta charset="utf-8">
   </head>
   <body>
-    <p>1.Install setting-encrypt-disable.wgt<br>Expected:widget application is able to install successfully<br>2.Confirm the widget application is not encrypted<br>Expected:The resource of application is not encrypted.</p>
+    <p>1.Install setting-encrypt-disable.wgt<br>Expected:widget application is able to install successfully<br>2.Confirm the widget application is not encrypted<br>Expected:The resources(js, CSS, HTML files) of application is not encrypted.</p>
   </body>
 </html>
\ No newline at end of file
index 995aaa8726ca63059528a2894543b8ceddb62423..a513f815202a328bfa3a4372037d8fb64245d64b 100644 (file)
@@ -40,6 +40,6 @@ Authors:
     <meta charset="utf-8">
   </head>
   <body>
-    <p>1.Install setting-encrypt-enable.wgt<br>Expected:widget application is able to install successfully<br>2.Confirm the widget application is not encrypted<br>Expected: The resource of application is encrypted.</p>
+    <p>1.Install setting-encrypt-enable.wgt<br>Expected:widget application is able to install successfully<br>2.Confirm the widget application is not encrypted<br>Expected: The resources(js, CSS, HTML files) of application is encrypted.</p>
   </body>
 </html>
\ No newline at end of file
index eb7b0e20bc9446f5c009642f6d1caaa71b30c53b..0d8f1b07adadecb7e7f93a808097d7bc75fe4730 100644 (file)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check that the web runtime is able to identify a valid application id." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="application-id-exist">
+      <testcase purpose="Check that the web runtime is able to identify a valid application id." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P1" id="application-id-exist">
         <description>
           <pre_condition></pre_condition>
-          <post_condition>Get the 'application id' of application-id-exist.wgt with the command :"wrt-launcher -l" and uninstall the application-id-exist.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+          <post_condition></post_condition>
           <steps>
             <step order="1">
-              <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/application-id-exist.wgt</step_desc>
-              <expected>Widget application is able to be installed successfully</expected>
-            </step>
-            <step order="2">
-              <step_desc>Confirm the widget application has a valid ID with command: wrt-launcher -l.</step_desc>
+              <step_desc>Confirm the widget application has a valid ID.</step_desc>
               <expected>The application ID("wrt2app003.ApplicationIdExist") can be shown.</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0"></test_script_entry>
+          <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/scripts/wrt_ext_application-id-exist.sh</test_script_entry>
         </description>
         <specs>
           <spec>
               <expected>The widget application can work properly</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/WRTInstaller application-required-version-support.wgt</test_script_entry>
+          <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/scripts/WRTInstaller application-required-version-support.wgt</test_script_entry>
         </description>
         <specs>
           <spec>
               <expected>Widget application can be installed.</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/WRTInstaller setting-install-location-internal-only-no-card.wgt</test_script_entry>
+          <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/scripts/WRTInstaller setting-install-location-internal-only-no-card.wgt</test_script_entry>
         </description>
         <specs>
           <spec>
               <expected>The web-applications-with-namespace-xmlns-enable app can be installed successfully.</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/WRTInstaller web-applications-with-namespace-xmlns-enable.wgt</test_script_entry>
+          <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/scripts/WRTInstaller web-applications-with-namespace-xmlns-enable.wgt</test_script_entry>
         </description>
         <specs>
           <spec>
               <expected>Widget application is installed successfully.</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/WRTInstaller tizen-application-id-is-one-bytes.wgt</test_script_entry>
+          <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/scripts/WRTInstaller tizen-application-id-is-one-bytes.wgt</test_script_entry>
         </description>
         <specs>
           <spec>
               <expected>Widget application is able to be installed successfully.</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/WRTInstaller tizen-application-id-is-rightful.wgt</test_script_entry>
+          <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/scripts/WRTInstaller tizen-application-id-is-rightful.wgt</test_script_entry>
         </description>
         <specs>
           <spec>
               <expected>Widget application is able to install successfully.</expected>
             </step>
           </steps>
-          <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/WRTInstaller tizen-application-id-is-all-right.wgt</test_script_entry>
+          <test_script_entry test_script_expected_result="0">/opt/tct-ext02-wrt-tests/scripts/WRTInstaller tizen-application-id-is-all-right.wgt</test_script_entry>
         </description>
         <specs>
           <spec>