[Package] Change package tests into automated 73/183173/3
authorPawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Tue, 3 Jul 2018 05:49:30 +0000 (07:49 +0200)
committerPawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Tue, 11 Sep 2018 13:40:36 +0000 (15:40 +0200)
[Verification]
  tct-package-tizen-tests 100% passrate (66 tcs)

  testkit-stub built with:
  https://review.tizen.org/gerrit/183170/

Change-Id: I791a4d9e87c8055305ec86bb4018ee00695876ef
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
16 files changed:
common/tct-package-tizen-tests/package/PackageInformationEventCallback_oninstalled.html
common/tct-package-tizen-tests/package/PackageInformationEventCallback_onuninstalled.html
common/tct-package-tizen-tests/package/PackageInformationEventCallback_onupdated.html
common/tct-package-tizen-tests/package/PackageManager_install.html
common/tct-package-tizen-tests/package/PackageManager_install_without_errorCallback.html
common/tct-package-tizen-tests/package/PackageManager_uninstall.html
common/tct-package-tizen-tests/package/PackageManager_uninstall_without_errorCallback.html
common/tct-package-tizen-tests/package/PackageManager_unsetPackageInfoEventListener.html
common/tct-package-tizen-tests/package/PackageProgressCallback_oncomplete_install.html
common/tct-package-tizen-tests/package/PackageProgressCallback_oncomplete_uninstall.html
common/tct-package-tizen-tests/package/PackageProgressCallback_onprogress_install.html
common/tct-package-tizen-tests/package/PackageProgressCallback_onprogress_uninstall.html
common/tct-package-tizen-tests/package/support/package_common.js
common/tct-package-tizen-tests/package/support/unitcommon.js
common/tct-package-tizen-tests/tests.full.xml
common/tct-package-tizen-tests/tests.xml

index a1091e31d307e5dc0354a135b1a8dfea8029b7e1..65c1dd1e51a2a6fbf37d64271e258bcba1bef85b 100755 (executable)
@@ -40,6 +40,9 @@ Authors:
 //==== STEP Run the test and install TCTPackageManagerTest1.1.1.wgt application from My files app (Phone/Others directory).
 //==== EXPECT Pass.
 //==== TEST_CRITERIA CBT CBOA
+
+executeCommand(TCT_PACKAGE_MANAGER_TESTv1_UNINSTALL_COMMAND);
+
 setup({timeout: 90000});
 
 var packageInformationEventCallback,
@@ -90,6 +93,7 @@ t.step(function () {
     };
     tizen.package.unsetPackageInfoEventListener();
     tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
+    executeCommand(TCT_PACKAGE_MANAGER_TESTv1_INSTALL_COMMAND);
 });
 
 </script>
index 220c051f283e660c5e0ef6b03e27d4c76bf1e108..6bd4085d5cb295a5daf474c4cf836bdee4a4a366 100755 (executable)
@@ -40,6 +40,9 @@ Authors:
 //==== STEP Run the test and uninstall TCTPackageManagerTest1.1.1.wgt application.
 //==== EXPECT Pass.
 //==== TEST_CRITERIA CBT CBOA
+
+executeCommand(TCT_PACKAGE_MANAGER_TESTv1_INSTALL_COMMAND);
+
 setup({timeout: 90000});
 
 var packageInformationEventCallback,
@@ -66,6 +69,7 @@ t.step(function () {
     };
     tizen.package.unsetPackageInfoEventListener();
     tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
+    executeCommand(TCT_PACKAGE_MANAGER_TESTv1_UNINSTALL_COMMAND);
 });
 
 </script>
index b77209cfb01ba370c40944c0073956df0e18e291..228aa15f37d10e101eb10b7767000259ba1d3d2a 100755 (executable)
@@ -40,6 +40,10 @@ Authors:
 //==== STEP Run the test and install TCTPackageManagerTest2.2.2.wgt application from My files app (Phone/Others directory).
 //==== EXPECT Pass.
 //==== TEST_CRITERIA CBT CBOA
+
+executeCommand(TCT_PACKAGE_MANAGER_TESTv1_UNINSTALL_COMMAND);
+executeCommand(TCT_PACKAGE_MANAGER_TESTv1_INSTALL_COMMAND);
+
 setup({timeout: 90000});
 
 var packageInformationEventCallback,
@@ -90,6 +94,7 @@ t.step(function () {
     };
     tizen.package.unsetPackageInfoEventListener();
     tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
+    executeCommand(TCT_PACKAGE_MANAGER_TESTv2_INSTALL_COMMAND);
 });
 
 </script>
index 20663a1714d8dbae5b82132aea8668e54bb1f77d..1e97ce4983a2fdced3479adf9e8f638822820cd7 100755 (executable)
@@ -40,6 +40,9 @@ Authors:
 //==== STEP Run the test.
 //==== EXPECT Pass.
 //==== TEST_CRITERIA MOA MR MAST
+
+executeCommand(TCT_PACKAGE_MANAGER_TESTv1_UNINSTALL_COMMAND);
+
 setup({timeout: 90000});
 
 var t = async_test(document.title, {timeout: 90000}), wasInProgress = false, installProgressCallback, installError,
index 8e816401ad5ebc3c0ec9bc9944e57e0305c29320..ee04ac0e6d083102cc5486279cfe4d0ac6bc6a21 100755 (executable)
@@ -40,6 +40,9 @@ Authors:
 //==== STEP Run the test.
 //==== EXPECT Pass.
 //==== TEST_CRITERIA MMINA MR MAST
+
+executeCommand(TCT_PACKAGE_MANAGER_TESTv1_UNINSTALL_COMMAND);
+
 setup({timeout: 90000});
 
 var t = async_test(document.title, {timeout: 90000}), wasInProgress = false, installProgressCallback,
index e9b53fb2dcf9a1adcc0e9ee4a1cf51ae4ae0d0ec..a9057add877bb4f35cef67058296ed1deaf02a92 100755 (executable)
@@ -40,6 +40,9 @@ Authors:
 //==== STEP Run the test.
 //==== EXPECT Pass.
 //==== TEST_CRITERIA MOA MR MAST
+
+executeCommand(TCT_PACKAGE_MANAGER_TESTv1_INSTALL_COMMAND);
+
 setup({timeout: 90000});
 
 var t = async_test(document.title, {timeout: 90000}), wasInProgress = false,
index 1050924bd0b3e7951476af467513e6d65dcd3814..50b465dd9872ca716de6bff151a9bc50b2a83bc9 100755 (executable)
@@ -40,6 +40,9 @@ Authors:
 //==== STEP Run the test.
 //==== EXPECT Pass.
 //==== TEST_CRITERIA MMINA MR MAST
+
+executeCommand(TCT_PACKAGE_MANAGER_TESTv1_INSTALL_COMMAND);
+
 setup({timeout: 90000});
 
 var t = async_test(document.title, {timeout: 90000}), wasInProgress = false,
index cc6604f365e6cbe53cfc4f3f18f0e7e22b297d41..3f088a822533d8f9fa12386035a7c062cf1784c3 100755 (executable)
@@ -40,6 +40,9 @@ Authors:
 //==== STEP Run the test and when you see communicate install TCTPackageManagerTest1.1.1.wgt application from My files app (Phone/Others directory).
 //==== EXPECT Pass.
 //==== TEST_CRITERIA MNA MNAST MR
+
+executeCommand(TCT_PACKAGE_MANAGER_TESTv1_UNINSTALL_COMMAND);
+
 setup({timeout: 90000});
 
 var packageInformationEventCallback, returnedValue = null,
@@ -60,7 +63,7 @@ t.step(function () {
     tizen.package.setPackageInfoEventListener(packageInformationEventCallback);
     returnedValue = tizen.package.unsetPackageInfoEventListener();
     assert_equals(returnedValue, undefined, "Incorrect returned value from unsetPackageInfoEventListener method");
-    confirm("Please install TCTPackageManagerTest1.1.1.wgt application from: Others directory.");
+    executeCommand(TCT_PACKAGE_MANAGER_TESTv1_INSTALL_COMMAND);
     setTimeout(t.step_func(function () {
         t.done();
     }), 1000);
index 67333df9b405b115edd0ac0cd2928d92338da24b..e7632df92ad6670207559a80a2f224052f1dd3aa 100755 (executable)
@@ -40,6 +40,9 @@ Authors:
 //==== STEP Run the test.
 //==== EXPECT Pass.
 //==== TEST_CRITERIA CBT CBOA
+
+executeCommand(TCT_PACKAGE_MANAGER_TESTv1_UNINSTALL_COMMAND);
+
 setup({timeout: 90000});
 
 var t = async_test(document.title, {timeout: 90000}), installProgressCallback, installError;
index abfd87cd9700beae432c4da805d6279d0acca29f..4b699c55162eab5f8992b573cd07e935e472c2bb 100755 (executable)
@@ -40,6 +40,9 @@ Authors:
 //==== STEP Run the test.
 //==== EXPECT Pass.
 //==== TEST_CRITERIA CBT CBOA
+
+executeCommand(TCT_PACKAGE_MANAGER_TESTv1_INSTALL_COMMAND);
+
 setup({timeout: 90000});
 
 var t = async_test(document.title, {timeout: 90000}),
index f752d9019ee17f61c94fb8f4e50489e3ff7a532f..eae026a5d849529622e1d71da98bbf6669ff095c 100755 (executable)
@@ -40,6 +40,9 @@ Authors:
 //==== STEP Run the test.
 //==== EXPECT Pass.
 //==== TEST_CRITERIA CBT CBOA
+
+executeCommand(TCT_PACKAGE_MANAGER_TESTv1_UNINSTALL_COMMAND);
+
 setup({timeout: 90000});
 
 var t = async_test(document.title, {timeout: 90000}), wasInProgress = false,
index c8f847458e80d51014c51a160af68c5deb8270f6..88ac2391474052b03878fbd84696f60a78f6b226 100755 (executable)
@@ -40,6 +40,9 @@ Authors:
 //==== STEP Run the test.
 //==== EXPECT Pass.
 //==== TEST_CRITERIA CBT CBOA
+
+executeCommand(TCT_PACKAGE_MANAGER_TESTv1_INSTALL_COMMAND);
+
 setup({timeout: 90000});
 
 var t = async_test(document.title, {timeout: 90000}), wasInProgress = false,
index 9cda11a9dc3f6428f034be8b61c84f0a42d94a0e..e4fb37f38d0e61f6e8c828643f75fbc2d0282754 100755 (executable)
@@ -43,6 +43,13 @@ var TCT_PACKAGE_INFO_TEST_PACKAGE_AUTHOR = "The author of TCTPackageInfoTest";
 var TCT_PACKAGE_INFO_TEST_PACKAGE_DESCRIPTION = "The description of TCTPackageInfoTest";
 var TCT_PACKAGE_INFO_TEST_PACKAGE_APP_ID = "api1pack20.TCTPackageInfoTest";
 
+var TCT_WGT_LOCATION = "/opt/usr/home/owner/share/Others/";
+var TCT_PACKAGE_MANAGER_TESTv1_UNINSTALL_COMMAND = "pkgcmd -u -n api1pack10";
+var TCT_PACKAGE_MANAGER_TESTv1_INSTALL_COMMAND = "pkgcmd -i -t wgt -p " + TCT_WGT_LOCATION + "TCTPackageManagerTest1.1.1.wgt";
+
+var TCT_PACKAGE_MANAGER_TESTv2_UNINSTALL_COMMAND = "pkgcmd -u -n api1pack20";
+var TCT_PACKAGE_MANAGER_TESTv2_INSTALL_COMMAND = "pkgcmd -i -t wgt -p " + TCT_WGT_LOCATION + "TCTPackageManagerTest2.2.2.wgt";
+
 var NOT_EXISTING_PACKAGE_ID = "api1dummy0";
 document.write('<script src="../webrunner/jquery-1.10.2.min.js"></script>');
 document.write('<script src="support/getJsonConf.js"></script>');
\ No newline at end of file
index 8bccfee3233281dec738ad3da60db066630d166b..722de8f2ba09ec60a8c91918ed1eff1c1eeacbd3 100755 (executable)
@@ -586,4 +586,17 @@ function getDOMStringConversionArray(isOptional){
         typeArr.push(null);
     }
     return typeArr;
+}
+
+function executeCommand(command) {
+    var toSend = {'cmd' : command};
+    var response =  $.ajax({
+        type: "POST",
+        url: 'http://127.0.0.1:8000/execute_command',
+        async: false,
+        dataType: 'json',
+        data: toSend
+    });
+    //This log provides console output after executing shell command.
+    console.log(JSON.stringify(response));
 }
\ No newline at end of file
index c532262952661807f7c56a58c92c813f2e1bcac3..bb4c72293405c8d9fb7405fe3dfe472f3c3b9086 100755 (executable)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PackageInformationEventCallback.oninstalled works properly" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="manual" priority="P1" id="PackageInformationEventCallback_oninstalled">
+      <testcase purpose="Check if PackageInformationEventCallback.oninstalled works properly" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="auto" priority="P1" id="PackageInformationEventCallback_oninstalled">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is not installed.</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PackageInformationEventCallback.onuninstalled works properly" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="manual" priority="P1" id="PackageInformationEventCallback_onuninstalled">
+      <testcase purpose="Check if PackageInformationEventCallback.onuninstalled works properly" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="auto" priority="P1" id="PackageInformationEventCallback_onuninstalled">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it use command "pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/Others/TCTPackageManagerTest1.1.1.wgt").</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if method unsetPackageInfoEventListener works correctly" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="manual" priority="P1" id="PackageManager_unsetPackageInfoEventListener">
+      <testcase purpose="Check if method unsetPackageInfoEventListener works correctly" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="auto" priority="P1" id="PackageManager_unsetPackageInfoEventListener">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is not installed.</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check install method of package" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="manual" priority="P1" id="PackageManager_install">
+      <testcase purpose="Check install method of package" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="auto" priority="P1" id="PackageManager_install">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is NOT installed.</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check install method without errorCallback" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="manual" priority="P1" id="PackageManager_install_without_errorCallback">
+      <testcase purpose="Check install method without errorCallback" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="auto" priority="P1" id="PackageManager_install_without_errorCallback">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is NOT installed.</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check uninstall method of package" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="manual" priority="P1" id="PackageManager_uninstall">
+      <testcase purpose="Check uninstall method of package" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="auto" priority="P1" id="PackageManager_uninstall">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it use command "pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/Others/TCTPackageManagerTest1.1.1.wgt").</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check uninstall method without errorCallback" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="manual" priority="P1" id="PackageManager_uninstall_without_errorCallback">
+      <testcase purpose="Check uninstall method without errorCallback" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="auto" priority="P1" id="PackageManager_uninstall_without_errorCallback">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it use command "pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/Others/TCTPackageManagerTest1.1.1.wgt").</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PackageProgressCallback.oncomplete - install" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="manual" priority="P1" id="PackageProgressCallback_oncomplete_install">
+      <testcase purpose="Check if PackageProgressCallback.oncomplete - install" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="auto" priority="P1" id="PackageProgressCallback_oncomplete_install">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is NOT installed.</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PackageProgressCallback.onprogress - install" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="manual" priority="P1" id="PackageProgressCallback_onprogress_install">
+      <testcase purpose="Check if PackageProgressCallback.onprogress - install" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="auto" priority="P1" id="PackageProgressCallback_onprogress_install">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is NOT installed.</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PackageProgressCallback.oncomplete - uninstall" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="manual" priority="P1" id="PackageProgressCallback_oncomplete_uninstall">
+      <testcase purpose="Check if PackageProgressCallback.oncomplete - uninstall" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="auto" priority="P1" id="PackageProgressCallback_oncomplete_uninstall">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it use command "pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/Others/TCTPackageManagerTest1.1.1.wgt").</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PackageProgressCallback.onprogress - uninstall" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="manual" priority="P1" id="PackageProgressCallback_onprogress_uninstall">
+      <testcase purpose="Check if PackageProgressCallback.onprogress - uninstall" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="auto" priority="P1" id="PackageProgressCallback_onprogress_uninstall">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it use command "pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/Others/TCTPackageManagerTest1.1.1.wgt").</pre_condition>
           <steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if PackageInformationEventCallback.onupdated works properly" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="manual" priority="P1" id="PackageInformationEventCallback_onupdated">
+      <testcase purpose="Check if PackageInformationEventCallback.onupdated works properly" type="compliance" status="approved" component="Tizen Device APIs/Application/Package" execution_type="auto" priority="P1" id="PackageInformationEventCallback_onupdated">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (you can install it use command "pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/Others/TCTPackageManagerTest1.1.1.wgt").</pre_condition>
           <steps>
index 261ced3a8ff4dbff4bbf6372297dd77df4c4fa6b..9a2cfdc1dbc0c88efb3204f6a425a90697767b5b 100755 (executable)
           <test_script_entry>/opt/tct-package-tizen-tests/package/PackageProgressCallback_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Application/Package" execution_type="manual" id="PackageInformationEventCallback_oninstalled" priority="P1" purpose="Check if PackageInformationEventCallback.oninstalled works properly">
+      <testcase component="Tizen Device APIs/Application/Package" execution_type="auto" id="PackageInformationEventCallback_oninstalled" priority="P1" purpose="Check if PackageInformationEventCallback.oninstalled works properly">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is not installed.</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-package-tizen-tests/package/PackageInformationEventCallback_oninstalled.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Application/Package" execution_type="manual" id="PackageInformationEventCallback_onuninstalled" priority="P1" purpose="Check if PackageInformationEventCallback.onuninstalled works properly">
+      <testcase component="Tizen Device APIs/Application/Package" execution_type="auto" id="PackageInformationEventCallback_onuninstalled" priority="P1" purpose="Check if PackageInformationEventCallback.onuninstalled works properly">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it use command "pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/Others/TCTPackageManagerTest1.1.1.wgt").</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-package-tizen-tests/package/PackageManager_setPackageInfoEventListener.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Application/Package" execution_type="manual" id="PackageManager_unsetPackageInfoEventListener" priority="P1" purpose="Check if method unsetPackageInfoEventListener works correctly">
+      <testcase component="Tizen Device APIs/Application/Package" execution_type="auto" id="PackageManager_unsetPackageInfoEventListener" priority="P1" purpose="Check if method unsetPackageInfoEventListener works correctly">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is not installed.</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-package-tizen-tests/package/PackageManager_unsetPackageInfoEventListener.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Application/Package" execution_type="manual" id="PackageManager_install" priority="P1" purpose="Check install method of package">
+      <testcase component="Tizen Device APIs/Application/Package" execution_type="auto" id="PackageManager_install" priority="P1" purpose="Check install method of package">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is NOT installed.</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-package-tizen-tests/package/PackageManager_install_missarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Application/Package" execution_type="manual" id="PackageManager_install_without_errorCallback" priority="P1" purpose="Check install method without errorCallback">
+      <testcase component="Tizen Device APIs/Application/Package" execution_type="auto" id="PackageManager_install_without_errorCallback" priority="P1" purpose="Check install method without errorCallback">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is NOT installed.</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-package-tizen-tests/package/PackageManager_install_without_errorCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Application/Package" execution_type="manual" id="PackageManager_uninstall" priority="P1" purpose="Check uninstall method of package">
+      <testcase component="Tizen Device APIs/Application/Package" execution_type="auto" id="PackageManager_uninstall" priority="P1" purpose="Check uninstall method of package">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it use command "pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/Others/TCTPackageManagerTest1.1.1.wgt").</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-package-tizen-tests/package/PackageManager_uninstall.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Application/Package" execution_type="manual" id="PackageManager_uninstall_without_errorCallback" priority="P1" purpose="Check uninstall method without errorCallback">
+      <testcase component="Tizen Device APIs/Application/Package" execution_type="auto" id="PackageManager_uninstall_without_errorCallback" priority="P1" purpose="Check uninstall method without errorCallback">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it use command "pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/Others/TCTPackageManagerTest1.1.1.wgt").</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-package-tizen-tests/package/PackageManager_uninstall_missarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Application/Package" execution_type="manual" id="PackageProgressCallback_oncomplete_install" priority="P1" purpose="Check if PackageProgressCallback.oncomplete - install">
+      <testcase component="Tizen Device APIs/Application/Package" execution_type="auto" id="PackageProgressCallback_oncomplete_install" priority="P1" purpose="Check if PackageProgressCallback.oncomplete - install">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is NOT installed.</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-package-tizen-tests/package/PackageProgressCallback_oncomplete_install.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Application/Package" execution_type="manual" id="PackageProgressCallback_onprogress_install" priority="P1" purpose="Check if PackageProgressCallback.onprogress - install">
+      <testcase component="Tizen Device APIs/Application/Package" execution_type="auto" id="PackageProgressCallback_onprogress_install" priority="P1" purpose="Check if PackageProgressCallback.onprogress - install">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is NOT installed.</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-package-tizen-tests/package/PackageProgressCallback_onprogress_install.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Application/Package" execution_type="manual" id="PackageProgressCallback_oncomplete_uninstall" priority="P1" purpose="Check if PackageProgressCallback.oncomplete - uninstall">
+      <testcase component="Tizen Device APIs/Application/Package" execution_type="auto" id="PackageProgressCallback_oncomplete_uninstall" priority="P1" purpose="Check if PackageProgressCallback.oncomplete - uninstall">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it use command "pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/Others/TCTPackageManagerTest1.1.1.wgt").</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-package-tizen-tests/package/PackageProgressCallback_oncomplete_uninstall.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Application/Package" execution_type="manual" id="PackageProgressCallback_onprogress_uninstall" priority="P1" purpose="Check if PackageProgressCallback.onprogress - uninstall">
+      <testcase component="Tizen Device APIs/Application/Package" execution_type="auto" id="PackageProgressCallback_onprogress_uninstall" priority="P1" purpose="Check if PackageProgressCallback.onprogress - uninstall">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (You can install it use command "pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/Others/TCTPackageManagerTest1.1.1.wgt").</pre_condition>
           <steps>
           <test_script_entry>/opt/tct-package-tizen-tests/package/PackageManager_uninstall_progressCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Application/Package" execution_type="manual" id="PackageInformationEventCallback_onupdated" priority="P1" purpose="Check if PackageInformationEventCallback.onupdated works properly">
+      <testcase component="Tizen Device APIs/Application/Package" execution_type="auto" id="PackageInformationEventCallback_onupdated" priority="P1" purpose="Check if PackageInformationEventCallback.onupdated works properly">
         <description>
           <pre_condition>Make sure that TCTPackageManagerTest1.1.1.wgt application is installed (you can install it use command "pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/Others/TCTPackageManagerTest1.1.1.wgt").</pre_condition>
           <steps>