[common][application][TSEVEN-28 Add onload_delay for ApplicationManager_addAppStatusC... 15/271415/1
authortangkaiyuan <kaiyuan.tang@samsung.com>
Mon, 21 Feb 2022 03:41:53 +0000 (11:41 +0800)
committertangkaiyuan <kaiyuan.tang@samsung.com>
Mon, 21 Feb 2022 03:42:05 +0000 (11:42 +0800)
Change-Id: Ifa98b01a5c4f2cee82046591c8e7c39218ef7c90
Signed-off-by: tangkaiyuan <kaiyuan.tang@samsung.com>
common/tct-application-tizen-tests/tests.full.xml
common/tct-application-tizen-tests/tests.xml

index e6efce0dc5bce3706f894d8039a46e884f83be5b..6e174372f71f7113badf049eff479217b234c39a 100755 (executable)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_oninstalled">
-        <description>
-          <pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Click run and install TCTAppInfoEventTest1.wgt application using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-application-tizen-tests/mediasrc/TCTAppInfoEventTest1.wgt".</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
+      <testcase purpose="Check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationInformationEventCallback_oninstalled">
+        <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html</test_script_entry>
         </description>
         <specs>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_onuninstalled">
+      <testcase purpose="Check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationInformationEventCallback_onuninstalled">
         <description>
-          <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-application-tizen-tests/mediasrc/TCTAppInfoEventTest1.wgt").</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Click run and uninstall TCTAppInfoEventTest1 application.</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onuninstalled.html</test_script_entry>
         </description>
         <specs>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check argument passed into method which is onupdated listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationInformationEventCallback_onupdated">
+      <testcase purpose="Check argument passed into method which is onupdated listener in ApplicationInformationEventCallback" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationInformationEventCallback_onupdated">
         <description>
-          <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-application-tizen-tests/mediasrc/TCTAppInfoEventTest1.wgt").</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Click run and install TCTAppInfoEventTest2.wgt application using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-application-tizen-tests/mediasrc/TCTAppInfoEventTest2.wgt".</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onupdated.html</test_script_entry>
         </description>
         <specs>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_oninstalled">
+      <testcase purpose="Check using addAppInfoEventListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppInfoEventListener_oninstalled">
         <description>
-          <pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Click run and install TCTAppInfoEventTest1.wgt application using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-application-tizen-tests/mediasrc/TCTAppInfoEventTest1.wgt".</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html</test_script_entry>
         </description>
         <specs>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
+      <testcase purpose="Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppInfoEventListener_onuninstalled">
         <description>
-          <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-application-tizen-tests/mediasrc/TCTAppInfoEventTest1.wgt").</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Click run and uninstall TCTAppInfoEventTest1 application.</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onuninstalled.html</test_script_entry>
         </description>
         <specs>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppInfoEventListener method (updating process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppInfoEventListener_onupdated">
+      <testcase purpose="Check using addAppInfoEventListener method (updating process) in ApplicationManager interface" type="compliance" status="approved" component="TizenAPI/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppInfoEventListener_onupdated">
         <description>
-          <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-application-tizen-tests/mediasrc/TCTAppInfoEventTest1.wgt").</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Click run and install TCTAppInfoEventTest2.wgt application using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-application-tizen-tests/mediasrc/TCTAppInfoEventTest2.wgt".</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onupdated.html</test_script_entry>
         </description>
         <specs>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppStatusChangeListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="Tizen Device APIs/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppStatusChangeListener">
+      <testcase purpose="Check using addAppStatusChangeListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="Tizen Device APIs/Application/Application" execution_type="auto" onload_delay="30" priority="P1" id="ApplicationManager_addAppStatusChangeListener">
         <description>
-          <steps>
-            <step order="1">
-              <step_desc>pkgcmd -D -t app -n api1appli1.TCTAppControl --global.</step_desc>
-              <expected>setting app deactive</expected>
-            </step>
-            <step order="2">
-              <step_desc>Click run.</step_desc>
-              <expected>Test start</expected>
-            </step>
-            <step order="3">
-              <step_desc>Use commond "pkgcmd -A -t app -n api1appli1.TCTAppControl --global" to activie setting app.</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppStatusChangeListener.html</test_script_entry>
         </description>
         <specs>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check using addAppStatusChangeListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="Tizen Device APIs/Application/Application" execution_type="manual" priority="P1" id="ApplicationManager_addAppStatusChangeListener_with_appId">
+      <testcase purpose="Check using addAppStatusChangeListener method (installation process) in ApplicationManager interface" type="compliance" status="approved" component="Tizen Device APIs/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppStatusChangeListener_with_appId">
         <description>
-          <steps>
-            <step order="1">
-              <step_desc>pkgcmd -D -t app -n api1appli1.TCTAppControl --global.</step_desc>
-              <expected>setting app deactive</expected>
-            </step>
-            <step order="2">
-              <step_desc>Click run.</step_desc>
-              <expected>Test start</expected>
-            </step>
-            <step order="3">
-              <step_desc>Use commond "pkgcmd -A -t app -n api1appli1.TCTAppControl --global" to activie setting app.</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppStatusChangeListener_with_appId.html</test_script_entry>
         </description>
         <specs>
       </testcase>
       <testcase purpose="Check argument passed into method which is oninstalled listener in StatusEventCallback" type="compliance" status="approved" component="Tizen Device APIs/Application/Application" execution_type="manual" priority="P1" id="StatusEventCallback_onchange">
         <description>
-          <steps>
-            <step order="1">
-              <step_desc>pkgcmd -D -t app -n api1appli1.TCTAppControl --global.</step_desc>
-              <expected>setting app deactive</expected>
-            </step>
-            <step order="2">
-              <step_desc>Click run.</step_desc>
-              <expected>Test start</expected>
-            </step>
-            <step order="3">
-              <step_desc>Use commond "pkgcmd -A -t app -n api1appli1.TCTAppControl --global" to activie setting app.</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/StatusEventCallback_onchange.html</test_script_entry>
         </description>
         <specs>
index 9afec0b641d09c49e285ab8f847fb31c85e61b78..fc4eb3358de26fbcc8b0163f0237b39430e3b67c 100755 (executable)
       </testcase>
       <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationInformationEventCallback_oninstalled" priority="P1" purpose="Check argument passed into method which is oninstalled listener in ApplicationInformationEventCallback">
         <description>
-          <pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Click run and install TCTAppInfoEventTest1.wgt application using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/Others/TCTAppInfoEventTest1.wgt".</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_oninstalled.html</test_script_entry>
         </description>
       </testcase>
       <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationInformationEventCallback_onuninstalled" priority="P1" purpose="Check argument passed into method which is onuninstalled listener in ApplicationInformationEventCallback">
         <description>
-          <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/Others/TCTAppInfoEventTest1.wgt").</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Click run and uninstall TCTAppInfoEventTest1 application.</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onuninstalled.html</test_script_entry>
         </description>
       </testcase>
       <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationInformationEventCallback_onupdated" priority="P1" purpose="Check argument passed into method which is onupdated listener in ApplicationInformationEventCallback">
         <description>
-          <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/Others/TCTAppInfoEventTest1.wgt").</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Click run and install TCTAppInfoEventTest2.wgt application using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/Others/TCTAppInfoEventTest2.wgt".</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationInformationEventCallback_onupdated.html</test_script_entry>
         </description>
       </testcase>
       </testcase>
       <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_oninstalled" priority="P1" purpose="Check using addAppInfoEventListener method (installation process) in ApplicationManager interface">
         <description>
-          <pre_condition>Make sure that TCTAppInfoEventTest1 application is not installed (uninstall it)</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Click run and install TCTAppInfoEventTest1.wgt application using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/Others/TCTAppInfoEventTest1.wgt".</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_oninstalled.html</test_script_entry>
         </description>
       </testcase>
       <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_onuninstalled" priority="P1" purpose="Check using addAppInfoEventListener method (deinstallation process) in ApplicationManager interface">
         <description>
-          <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/Others/TCTAppInfoEventTest1.wgt").</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Click run and uninstall TCTAppInfoEventTest1 application.</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onuninstalled.html</test_script_entry>
         </description>
       </testcase>
       <testcase component="TizenAPI/Application/Application" execution_type="auto" id="ApplicationManager_addAppInfoEventListener_onupdated" priority="P1" purpose="Check using addAppInfoEventListener method (updating process) in ApplicationManager interface">
         <description>
-          <pre_condition>Make sure that TCTAppInfoEventTest1 application is installed (you can install it using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/Others/TCTAppInfoEventTest1.wgt").</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Click run and install TCTAppInfoEventTest2.wgt application using command "pkgcmd –i –t wgt -q –p {DEVICE_SUITE_TARGET_30}/Others/TCTAppInfoEventTest2.wgt".</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppInfoEventListener_onupdated.html</test_script_entry>
         </description>
       </testcase>
           <test_script_entry>/opt/tct-application-tizen-tests/application/EventCallback_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check using addAppStatusChangeListener method (installation process) in ApplicationManager interface" component="Tizen Device APIs/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppStatusChangeListener">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>pkgcmd -D -t app -n api1appli1.TCTAppControl --global.</step_desc>
-              <expected>setting app deactive</expected>
-            </step>
-            <step order="2">
-              <step_desc>Click run.</step_desc>
-              <expected>Test start</expected>
-            </step>
-            <step order="3">
-              <step_desc>Use commond "pkgcmd -A -t app -n api1appli1.TCTAppControl --global" to activie setting app.</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
+      <testcase purpose="Check using addAppStatusChangeListener method (installation process) in ApplicationManager interface" component="Tizen Device APIs/Application/Application" execution_type="auto" onload_delay="30" priority="P1" id="ApplicationManager_addAppStatusChangeListener">
+        <description>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppStatusChangeListener.html</test_script_entry>
         </description>
       </testcase>
       </testcase>
       <testcase purpose="Check using addAppStatusChangeListener method (installation process) in ApplicationManager interface" component="Tizen Device APIs/Application/Application" execution_type="auto" priority="P1" id="ApplicationManager_addAppStatusChangeListener_with_appId">
         <description>
-          <steps>
-            <step order="1">
-              <step_desc>pkgcmd -D -t app -n api1appli1.TCTAppControl --global.</step_desc>
-              <expected>setting app deactive</expected>
-            </step>
-            <step order="2">
-              <step_desc>Click run.</step_desc>
-              <expected>Test start</expected>
-            </step>
-            <step order="3">
-              <step_desc>Use commond "pkgcmd -A -t app -n api1appli1.TCTAppControl --global" to activie setting app.</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/ApplicationManager_addAppStatusChangeListener_with_appId.html</test_script_entry>
         </description>
       </testcase>
       </testcase>
       <testcase purpose="Check argument passed into method which is oninstalled listener in StatusEventCallback" component="Tizen Device APIs/Application/Application" execution_type="auto" priority="P1" id="StatusEventCallback_onchange">
         <description>
-          <steps>
-            <step order="1">
-              <step_desc>pkgcmd -D -t app -n api1appli1.TCTAppControl --global.</step_desc>
-              <expected>setting app deactive</expected>
-            </step>
-            <step order="2">
-              <step_desc>Click run.</step_desc>
-              <expected>Test start</expected>
-            </step>
-            <step order="3">
-              <step_desc>Use commond "pkgcmd -A -t app -n api1appli1.TCTAppControl --global" to activie setting app.</step_desc>
-              <expected>Pass</expected>
-            </step>
-          </steps>
           <test_script_entry>/opt/tct-application-tizen-tests/application/StatusEventCallback_onchange.html</test_script_entry>
         </description>
       </testcase>