1 <?xml version="1.0" encoding="UTF-8"?>
2 <?xml-stylesheet type="text/xsl" href="testcase.xsl"?>
4 <suite name="tct-appwgt-wrt-tests">
5 <set name="WebAppWidget">
6 <testcase purpose="Check that WRT must support Web AppWidget installation." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="auto" priority="P1" id="app-widget-install">
8 <pre_condition></pre_condition>
9 <post_condition></post_condition>
12 <step_desc>Check that WRT supports the Web AppWidget installation.</step_desc>
13 <expected>WRT supports the Web AppWidget installation.</expected>
16 <test_script_entry test_script_expected_result="0">/opt/tct-appwgt-wrt-tests/scripts/wrt_appwgt_install.sh</test_script_entry>
21 <spec_assertion element_type="attribute" element_name="N/A" interface="0900" specification="Web AppWidget Package Management (Install, Uninstall, Update)" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
23 <spec_statement>WRT MUST install Web AppWidget on the time that its Web Application is installed.</spec_statement>
27 <testcase purpose="Check that the WRT must support Web AppWidget uninstallation." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="auto" priority="P1" id="app-widget-uninstall">
29 <pre_condition></pre_condition>
30 <post_condition></post_condition>
33 <step_desc>Check if the WRT supports Web AppWidget uninstallation.</step_desc>
34 <expected>The WRT supports Web AppWidget uninstallation.</expected>
37 <test_script_entry test_script_expected_result="0">/opt/tct-appwgt-wrt-tests/scripts/wrt_appwgt_uninstall.sh</test_script_entry>
42 <spec_assertion element_type="attribute" element_name="N/A" interface="0910" specification="Web AppWidget Package Management (Install, Uninstall, Update)" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
44 <spec_statement>The WRT MUST support Web AppWidget uninstallation.</spec_statement>
48 <testcase purpose="Check that WRT does not allow Web AppWidget which is signed with an invalid signature to be installed." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="auto" priority="P1" id="app-widget-signature-invalid">
50 <pre_condition></pre_condition>
51 <post_condition></post_condition>
54 <step_desc>Check if WRT does not allow Web AppWidget which is signed with an invalid signature to be installed.</step_desc>
55 <expected>WRT does not allow Web AppWidget which is signed with an invalid signature to be installed.</expected>
58 <test_script_entry test_script_expected_result="0">/opt/tct-appwgt-wrt-tests/scripts/wrt_appwgt_installfail.sh app-widget-signature-invalid.wgt</test_script_entry>
63 <spec_assertion element_type="attribute" element_name="N/A" interface="1100" specification="Web AppWidget Security and Privacy" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
65 <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>