[common][application][TSEVEN-28 Add onload_delay for ApplicationManager_addAppStatusC... 08/271408/1
authortangkaiyuan <kaiyuan.tang@samsung.com>
Mon, 21 Feb 2022 02:06:20 +0000 (10:06 +0800)
committertangkaiyuan <kaiyuan.tang@samsung.com>
Mon, 21 Feb 2022 02:06:36 +0000 (10:06 +0800)
Change-Id: I0d5420cf22a4106d261c8743f881aef00e973a68
Signed-off-by: tangkaiyuan <kaiyuan.tang@samsung.com>
common/tct-application-tizen-tests/tests.full.xml
common/tct-application-tizen-tests/tests.xml

index bcaee3c06a2e680a1d238217398b8917b54ddf03..326df60d1fde85e8e4b27d6e004bb480db75003f 100755 (executable)
       </testcase>
       <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>
-          <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/ApplicationInformationEventCallback_oninstalled.html</test_script_entry>
         </description>
         <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="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>
       </testcase>
       <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>
       </testcase>
       <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>
       </testcase>
       <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>
       </testcase>
       <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="auto" 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>
       </testcase>
       <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="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>
         <specs>
index c5ae1d6f15acd1a0f2114f34b716ddcb42f34afc..5c8f923187f089bb4f88e8a5ad52ffb11c069d9e 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">
+      <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>
-          <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>
       </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>