<test_definition>
<suite name="tct-ext02-wrt-tests">
<set name="ConfigExtension">
- <testcase purpose="Check that the widget cannot be installed when install-location is set as 'prefer-external' and external storage is not available." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="setting-install-location-prefer-external-no-card">
- <description>
- <pre_condition>Make sure there is no memory card inserted into the device.</pre_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/setting-install-location-prefer-external-no-card.wgt</step_desc>
- <expected>The widget application cannot be installed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the view action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P0" id="appcontrol-operation-view">
- <description>
- <pre_condition>Install the widget with the command: wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-view.wgt</pre_condition>
- <post_condition>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and uninstall the appcontrol-test-app.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command: wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
- <expected>Widget application is able to be installed successfully</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
- </step>
- <step order="3">
- <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/view,MIME is image/jpg then press button "Launch Service APP then press button "Launch Service APP"".</step_desc>
- <expected>Some appcontrols can be displayed on screen.</expected>
- </step>
- <step order="4">
- <step_desc>Choose the appcontrol-operation-view from the displayed appcontrols.</step_desc>
- <expected>The widget application appcontrol-operation-view can be launched.</expected>
- </step>
- <step order="5">
- <step_desc>Close the appcontrol-test-app widget application.</step_desc>
- <expected>The widget application appcontrol-test-app is closed successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the widget application can redirect the start page to the value of tizen content src" type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P0" id="application-content">
- <description>
- <pre_condition>Make sure the network can access to http://www.google.com</pre_condition>
- <post_condition>Get the 'application id' of application-content.wgt with the command :"wrt-launcher -l" and uninstall the application-content.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/application-content.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Confirm the widget application can redirect the start page to http://www.google.com.</step_desc>
- <expected>The screen redirect the start page to http://www.google.com.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0240" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </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">
- <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>
- <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>
- <expected>The application ID("wrt2app003.ApplicationIdExist") can be shown.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0210" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the web runtime can install the app which has a required valid version successfully." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P1" id="application-required-version-support">
- <description>
- <pre_condition></pre_condition>
- <post_condition></post_condition>
- <steps>
- <step order="1">
- <step_desc>Confirm the widget application work properly in required version.</step_desc>
- <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>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0210" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the web runtime can enable background service by setting background-support attribute as enable." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-bs-enable">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of setting-bs-enable.wgt with the command :"wrt-launcher -l" and uninstall the setting-bs-enable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-bs-enable.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Let the widget run in the background</step_desc>
- <expected>The counter is running and the number of count is growing</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the web runtime can enable context menu by setting context-menu attribute as 'enable'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-cm-enable">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of setting-cm-enable.wgt with the command :"wrt-launcher -l" and uninstall the setting-cm-enable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-cm-enable.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Confirm the widget application settings support context menus</step_desc>
- <expected>The web runtime can enable context menu</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the web runtime supports landscape screen orientation mode by setting screen-orientation as 'landscape'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-so-landscape">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of setting-so-landscape.wgt with the command :"wrt-launcher -l" and uninstall the setting-so-landscape.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-so-landscape.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Confirm the view of app is to be locked in the landscape mode</step_desc>
- <expected>The WRT implement view of app is under landscape mode.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the web runtime supports portrait screen orientation mode by setting screen-orientation as 'portrait'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-so-portrait">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of setting-so-portrait.wgt with the command :"wrt-launcher -l" and uninstall the setting-so-portrait.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-so-portrait.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Confirm the view of Web app is locked in the portrait mode</step_desc>
- <expected>The WRT implement view of app is under portrait mode.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT supports portrait screen orientation mode by setting screen-orientation as default option." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-so-default">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of setting-so-default.wgt with the command :"wrt-launcher -l" and uninstall the setting-so-default.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-so-default.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Confirm the view of Web app is locked in the portrait mode</step_desc>
- <expected>The WRT implement view of app is under default mode which is portrait mode.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT can enable the encrypt function for all the app resources by setting encryption as 'enable'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-encrypt-enable">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of setting-encrypt-enable.wgt with the command :"wrt-launcher -l" and uninstall the setting-encrypt-enable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-encrypt-enable.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Confirm the widget application is encrypted</step_desc>
- <expected>if the resources(js, CSS, HTML files) of setting-encrypt-enable application is encrypted.(For example, use the command:vi /opt/usr/apps/wrt2see029/res/wgt/index.html to show the content of index.html, the content of index.html is encrypted )</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the web runtime can disable background service by setting background-support as 'disable'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="setting-bs-disable">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of setting-bs-disable.wgt with the command :"wrt-launcher -l" and uninstall the setting-bs-disable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-bs-disable.wgt</step_desc>
- <expected>Widget application is able to be installed successfully</expected>
- </step>
- <step order="2">
- <step_desc>Let the widget run in the background</step_desc>
- <expected>The counter is not running</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the web runtime can disable context menu by setting context-menu as 'disable'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="setting-cm-disable">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of setting-cm-disable.wgt with the command :"wrt-launcher -l" and uninstall the setting-cm-disable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-cm-disable.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Confirm the context menu of widget application does not work</step_desc>
- <expected>The web runtime can disable context menu</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the web runtime can disable the encrypt function for all the app resources by setting encryption as 'disable'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="setting-encrypt-disable">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of setting-encrypt-disable.wgt with the command :"wrt-launcher -l" and uninstall the setting-encrypt-disable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-encrypt-disable.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Confirm the widget application is not encrypted</step_desc>
- <expected>if the resources(js, CSS, HTML files) of setting-encrypt-disable application is not encrypted.(For example, use command:vi /opt/usr/apps/wrt2sed028/res/wgt/index.html to show the content of index.html, the content of index.html is not encrypted.)</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the editing action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-edit">
- <description>
- <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-edit.wgt</pre_condition>
- <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-edit.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
- </step>
- <step order="3">
- <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/edit,MIME is image/jpg then press button "Launch Service APP".</step_desc>
- <expected>The widget application appcontrol-operation-edit can be launched by this app.</expected>
- </step>
- <step order="4">
- <step_desc>Close the widget application appcontrol-test-app.</step_desc>
- <expected>The widget application appcontrol-test-app is closed successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the picking action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-pick">
- <description>
- <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-pick.wgt</pre_condition>
- <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-pick.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
- <expected>Widget application is able to be installed successfully</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
- </step>
- <step order="3">
- <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/pick,MIME is image/jpg then press button "Launch Service APP".</step_desc>
- <expected>A popup displayed on the screen and several application can be selected.</expected>
- </step>
- <step order="4">
- <step_desc>Click appcontrol-operation... option.</step_desc>
- <expected>A popup "Default application settings" displayed on the screen.</expected>
- </step>
- <step order="5">
- <step_desc>Click "cancel" button</step_desc>
- <expected>Passes if "operation-pick" displayed on the screen.</expected>
- </step>
- <step order="6">
- <step_desc>Close the widget application appcontrol-test-app.</step_desc>
- <expected>The widget application appcontrol-test-app is closed successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the sending action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-send">
- <description>
- <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-send.wgt</pre_condition>
- <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-send.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
- <expected>Widget application is able to be installed successfully</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
- </step>
- <step order="3">
- <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/send,MIME is image/* then press button "Launch Service APP".</step_desc>
- <expected>A popup displayed on the screen and several application can be selected.</expected>
- </step>
- <step order="4">
- <step_desc>Click appcontrol-operation... option.</step_desc>
- <expected>A popup "Default application settings" displayed on the screen.</expected>
- </step>
- <step order="5">
- <step_desc>Click "cancel" button</step_desc>
- <expected>Passes if "operation-send" displayed on the screen.</expected>
- </step>
- <step order="6">
- <step_desc>Close the widget application appcontrol-test-app.</step_desc>
- <expected>The widget application appcontrol-test-app is closed successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the dialing action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-dial">
- <description>
- <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-dial.wgt</pre_condition>
- <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-dial.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
- </step>
- <step order="3">
- <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/dial,MIME is image/jpg then press button "Launch Service APP".</step_desc>
- <expected>Passes if "operation-default" displayed on the screen.</expected>
- </step>
- <step order="4">
- <step_desc>Close the widget application appcontrol-test-app.</step_desc>
- <expected>The widget application appcontrol-test-app is closed successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the searching action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-search">
- <description>
- <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-search.wgt</pre_condition>
- <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-search.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
- <expected>Widget application is able to be installed successfully</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
- </step>
- <step order="3">
- <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/search,MIME is image/jpg then press button "Launch Service APP".</step_desc>
- <expected>The widget application appcontrol-operation-search can be launched by this app.</expected>
- </step>
- <step order="4">
- <step_desc>Close the widget application appcontrol-test-app.</step_desc>
- <expected>The widget application appcontrol-test-app is closed successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the default action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-default">
- <description>
- <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-default.wgt</pre_condition>
- <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-default.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
- <expected>Widget application is able to be installed successfully</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
- </step>
- <step order="3">
- <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/default,MIME is image/jpg then press button "Launch Service APP".</step_desc>
- <expected>Passes if "operation-default" displayed on the screen.</expected>
- </step>
- <step order="4">
- <step_desc>Close the widget application appcontrol-test-app.</step_desc>
- <expected>The widget application appcontrol-test-app is closed successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the nfc empty type action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-nfc-empty">
- <description>
- <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-nfc-empty.wgt</pre_condition>
- <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-nfc-empty.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
- </step>
- <step order="3">
- <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_empty_type,MIME is image/jpg then press button "Launch Service APP".</step_desc>
- <expected>The widget application appcontrol-operation-nfc-empty can be launched by this app.</expected>
- </step>
- <step order="4">
- <step_desc>Close the widget application appcontrol-test-app.</step_desc>
- <expected>The widget application appcontrol-test-app is closed successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the nfc well know type action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-nfc-wellknow">
- <description>
- <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-nfc-wellknow.wgt</pre_condition>
- <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-nfc-wellknow.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
- </step>
- <step order="3">
- <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_well_known_type,MIME is image/jpg then press button "Launch Service APP".</step_desc>
- <expected>The widget application appcontrol-operation-nfc-wellknow can be launched by this app.</expected>
- </step>
- <step order="4">
- <step_desc>Close the appcontrol-test-app widget application.</step_desc>
- <expected>The widget application appcontrol-test-app is closed successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the nfc mime type action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-nfc-mime">
- <description>
- <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-nfc-mime.wgt</pre_condition>
- <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-nfc-mime.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
- </step>
- <step order="3">
- <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_mime_type,MIME is image/jpg then press button "Launch Service APP".</step_desc>
- <expected>The widget application appcontrol-operation-nfc-mime can be launched by this app.</expected>
- </step>
- <step order="4">
- <step_desc>Close the appcontrol-test-app widget application.</step_desc>
- <expected>The widget application appcontrol-test-app is closed successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the nfc uri type action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-nfc-uri">
- <description>
- <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-nfc-uri.wgt</pre_condition>
- <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-nfc-uri.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
- </step>
- <step order="3">
- <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_uri_type,MIME is image/jpg then press button "Launch Service APP".</step_desc>
- <expected>The widget application appcontrol-operation-nfc-uri can be launched by this app.</expected>
- </step>
- <step order="4">
- <step_desc>Close the appcontrol-test-app widget application.</step_desc>
- <expected>The widget application appcontrol-test-app is closed successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the create content action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-content">
- <description>
- <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-content.wgt</pre_condition>
- <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-content.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
- </step>
- <step order="3">
- <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/create_content,MIME is image/jpg. then press button "Launch Service APP".</step_desc>
- <expected>A popup displayed on the screen and several application can be selected.</expected>
- </step>
- <step order="4">
- <step_desc>Click appcontrol-operation... option.</step_desc>
- <expected>A popup "Default application settings" displayed on the screen.</expected>
- </step>
- <step order="5">
- <step_desc>Click "cancel" button</step_desc>
- <expected>Passes if "operation-content" displayed on the screen.</expected>
- </step>
- <step order="6">
- <step_desc>Close the widget application appcontrol-test-app.</step_desc>
- <expected>The widget application appcontrol-test-app is closed successfully.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the widget can be installed when install-location is set at 'internal-only' and external storage is not available." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P3" id="setting-install-location-internal-only-no-card">
- <description>
- <pre_condition>Make sure there is no memory card inserted into the device.</pre_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/setting-install-location-internal-only-no-card.wgt</step_desc>
- <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>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the widget can be installed when install-location is set at 'internal-only' and external storage is available." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="setting-install-location-internal-only-with-card">
- <description>
- <pre_condition>Insert a memory card into the device.</pre_condition>
- <post_condition>Take the memory card away from the device.</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-install-location-internal-only-with-card.wgt</step_desc>
- <expected>Widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of setting-install-location-internal-only-with-card.wgt with the command :"wrt-launcher -l" and launch the setting-install-location-internal-only-with-card.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The widget application can be launched and see a "PASS" word on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the widget can be installed when install-location is set at 'prefer-external' and external storage is available." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="setting-install-location-prefer-external-with-card">
- <description>
- <pre_condition>Insert a memory card into the device, and make sure there is nothing in the card.</pre_condition>
- <post_condition>Take the memory card away from device.</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-install-location-prefer-external-with-card.wgt</step_desc>
- <expected>Widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Search the memory card, and find if there is a new folder or file with the name like "wrt2sil055" </step_desc>
- <expected>There is a folder or file with the name like "wrt2sil055" in the memory card.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the widget with a app-control defined as complex-mode works fine." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="app-control-complex-one">
- <description>
- <pre_condition>app-control-complex-wgt-1.wgt has been installed in the device.Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/app-control-complex-wgt-1.wgt</pre_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/unit-test-for-app-control.wgt</step_desc>
- <expected>Widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of unit-test-for-app-control.wgt with the command :"wrt-launcher -l" and launch the unit-test-for-app-control.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The widget application can be launched.</expected>
- </step>
- <step order="3">
- <step_desc>Press button "open1"</step_desc>
- <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the widget with two app-controls defined as complex-mode works fine." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="app-control-complex-two">
- <description>
- <pre_condition>app-control-complex-wgt-2.wgt has been installed in the device.Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/app-control-complex-wgt-2.wgt</pre_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/unit-test-for-app-control.wgt</step_desc>
- <expected>Widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of unit-test-for-app-control.wgt with the command :"wrt-launcher -l" and launch the unit-test-for-app-control.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The widget application can be launched.</expected>
- </step>
- <step order="3">
- <step_desc>Press button "open2"</step_desc>
- <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
- </step>
- <step order="4">
- <step_desc>Press button "close",then press button "open3"</step_desc>
- <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the widget with a app-control which has a mime argument defined as complex-mode works fine." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="app-control-complex-one-mime">
- <description>
- <pre_condition>app-control-complex-wgt-3.wgt has been installed in the device.Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/app-control-complex-wgt-3.wgt</pre_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/unit-test-for-app-control.wgt</step_desc>
- <expected>Widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of unit-test-for-app-control.wgt with the command :"wrt-launcher -l" and launch the unit-test-for-app-control.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The widget application can be launched.</expected>
- </step>
- <step order="3">
- <step_desc>Press button "open4"</step_desc>
- <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the widget with two app-controls which have mime argument defined as complex-mode works fine." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="app-control-complex-two-mime">
- <description>
- <pre_condition>app-control-complex-wgt-4.wgt has been installed in the device.Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/app-control-complex-wgt-4.wgt</pre_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/unit-test-for-app-control.wgt</step_desc>
- <expected>Widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of unit-test-for-app-control.wgt with the command :"wrt-launcher -l" and launch the unit-test-for-app-control.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The widget application can be launched.</expected>
- </step>
- <step order="3">
- <step_desc>Press button "open5"</step_desc>
- <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
- </step>
- <step order="4">
- <step_desc>Press button "close",then press button "open6"</step_desc>
- <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the WRT support Web Applications with namespace declared in configuration file." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P2" id="web-applications-with-namespace-xmlns-enable">
- <description>
- <pre_condition>Make sure the web-applications-with-namespace-xmlns-enable.wgt is not installed</pre_condition>
- <post_condition>Get the 'application id' of web-applications-with-namespace-xmlns-enable.wgt with the command :"wrt-launcher -l" and uninstall the web-applications-with-namespace-xmlns-enable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/web-applications-with-namespace-xmlns-enable.wgt application</step_desc>
- <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>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0200" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check the view mode is invariant when screen-orientation attribute is set as landscape" type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="tizen-settings-screen-orientation-landscape">
- <description>
- <pre_condition>Make sure the tizen-settings-screen-orientation-landscape.wgt is not installed</pre_condition>
- <post_condition>Get the 'application id' of tizen-settings-screen-orientation-landscape.wgt with the command :"wrt-launcher -l" and uninstall the tizen-settings-screen-orientation-landscape.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/tizen-settings-screen-orientation-landscape.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of tizen-settings-screen-orientation-landscape.wgt with the command :"wrt-launcher -l" and Launch the tizen-settings-screen-orientation-landscape.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Pass: if you can see the image and the message(Pass: if you see a image on the screen) on the screen.</expected>
- </step>
- <step order="3">
- <step_desc>Rotation the screen.</step_desc>
- <expected>Pass: the message and image is invariant.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that web application can be installed when the length of application id is 1 byte." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P2" id="tizen-application-id-is-one-bytes">
- <description>
- <pre_condition>Make sure the tizen-application-id-is-one-bytes.wgt is not installed</pre_condition>
- <post_condition>Get the 'application id' of tizen-application-id-is-one-bytes.wgt with the command :"wrt-launcher -l" and uninstall the tizen-application-id-is-one-bytes.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/tizen-application-id-is-one-bytes.wgt</step_desc>
- <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>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0210" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that web application with valid id can be installed." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P1" id="tizen-application-id-is-rightful">
- <description>
- <pre_condition>Make sure the tizen-application-id-is-rightful.wgt is not installed</pre_condition>
- <post_condition>Get the 'application id' of tizen-application-id-is-rightful.wgt with the command :"wrt-launcher -l" and uninstall the tizen-application-id-is-rightful.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/tizen-application-id-is-rightful.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of tizen-application-id-is-rightful.wgt with the command :"wrt-launcher -l" and Launch the tizen-application-id-is-rightful.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Pass: if you see the message on the screen(Pass: if you see me).</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>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0210" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check web application which the length of application id is valid can be installed." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P0" id="tizen-application-id-is-all-right">
- <description>
- <pre_condition>Make sure the tizen-application-id-is-all-right.wgt is not installed</pre_condition>
- <post_condition>Get the 'application id' of tizen-application-id-is-all-right.wgt with the command :"wrt-launcher -l" and uninstall the tizen-application-id-is-all-right.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/tizen-application-id-is-all-right.wgt</step_desc>
- <expected>Widget application is able to install successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of tizen-application-id-is-all-right.wgt with the command :"wrt-launcher -l" and Launch the tizen-application-id-is-all-right.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Pass: if you see the message on the screen(Pass: if you see me).</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>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0210" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the Web Application's view-port orientation can be changed according to device orientation." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-ar-true">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of setting-ar-true.wgt with the command :"wrt-launcher -l" and uninstall the setting-ar-true.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-ar-true.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of setting-ar-true.wgt with the command :"wrt-launcher -l" and uninstall the setting-ar-true.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The widget is launched.</expected>
- </step>
- <step order="3">
- <step_desc>Confirm the view of Web app is changed in according to device orientation.</step_desc>
- <expected>The web app will be auto rotated with the device orientation change.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that h/w key event be invoked when the hwkey-event attribute is default." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-hwkey-default">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of setting-hwkey-default.wgt with the command :"wrt-launcher -l" and uninstall the setting-hwkey-default.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-hwkey-default.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of setting-hwkey-default.wgt with the command :"wrt-launcher -l" and uninstall the setting-hwkey-default.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Two "Fail" are displayed.</expected>
- </step>
- <step order="3">
- <step_desc>Presses the menu/back key.</step_desc>
- <expected>The "Fail" is changed by "Pass --- back event is invoked" or "Pass --- menu event is invoked".</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that h/w key event be invoked when the hwkey-event attribute is enable." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-hwkey-enable">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of setting-hwkey-enable.wgt with the command :"wrt-launcher -l" and uninstall the setting-hwkey-enable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-hwkey-enable.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of setting-hwkey-enable.wgt with the command :"wrt-launcher -l" and uninstall the setting-hwkey-enable.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>Two "Fail" are displayed.</expected>
- </step>
- <step order="3">
- <step_desc>Presses the menu/back key.</step_desc>
- <expected>The "Fail" is changed by "Pass --- back event is invoked" or "Pass --- menu event is invoked".</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that h/w key event can not be invoked when the hwkey-event attribute is disable." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-hwkey-disable">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of setting-hwkey-disable.wgt with the command :"wrt-launcher -l" and uninstall the setting-hwkey-disable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-hwkey-disable.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of setting-hwkey-disable.wgt with the command :"wrt-launcher -l" and uninstall the setting-hwkey-disable.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>Two "Pass" are displayed.</expected>
- </step>
- <step order="3">
- <step_desc>Presses the menu/back key.</step_desc>
- <expected>The page does not change.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is not allow any URL navigation when the allow-navigation attribute is null." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-an-zero">
- <description>
- <pre_condition>Make sure the device can access to internet</pre_condition>
- <post_condition>Get the 'application id' of setting-an-zero.wgt with the command :"wrt-launcher -l" and uninstall the setting-an-zero.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-an-zero.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of setting-an-zero.wgt with the command :"wrt-launcher -l" and uninstall the setting-an-zero.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The "google" and "tizen" are displayed.</expected>
- </step>
- <step order="3">
- <step_desc>Click the "google" and "tizen"(click one link and then close the application, after that, launch the widget again and click next link, repeat these steps untill all the links are clicked).</step_desc>
- <expected>The websit can not be navigated in Web App, it will be opened by external browser.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0260" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is allow the URL navigation when the URL is defined in allow-navigation attribute." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-an-one">
- <description>
- <pre_condition>Make sure the device can access to internet</pre_condition>
- <post_condition>Get the 'application id' of setting-an-one.wgt with the command :"wrt-launcher -l" and uninstall the setting-an-one.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-an-one.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of setting-an-one.wgt with the command :"wrt-launcher -l" and uninstall the setting-an-one.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The "google" "tizen" and "developer.tizen" are displayed.</expected>
- </step>
- <step order="3">
- <step_desc>Click the "google" "tizen" and "developer.tizen"(click one link and then close the application, after that, launch the widget again and click next link, repeat these steps untill all the links are clicked).</step_desc>
- <expected>Can be navigated to tizen and developer.tizen websit in Web App.The google websit can not be navigated in Web App, it will be opened by external browser.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0260" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that first URL navigation is occurred(ignore all other) when the URL is defined more than 1 in allow-navigation attribute." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-an-more">
- <description>
- <pre_condition>Make sure the device can access to internet</pre_condition>
- <post_condition>Get the 'application id' of setting-an-more.wgt with the command :"wrt-launcher -l" and uninstall the setting-an-more.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-an-more.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of setting-an-more.wgt with the command :"wrt-launcher -l" and uninstall the setting-an-more.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The "tizen" "developer.tizen" "baidu" and "baike.baidu" are displayed.</expected>
- </step>
- <step order="3">
- <step_desc>Click the "tizen" "developer.tizen" "baidu" and "baike.baidu"(click one link and then close the application, after that, launch the widget again and click next link, repeat these steps untill all the links are clicked).</step_desc>
- <expected>Can be navigated to tizen and developer.tizen websit in Web App.The baidu and baike.baidu websit can not be navigated in Web App, it will be opened by external browser.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0260" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is able to use frame resource when frame-src is asterisk." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="frame-src_asterisk">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of frame-src_asterisk.wgt with the command :"wrt-launcher -l" and uninstall the frame-src_asterisk.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/frame-src_asterisk.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of frame-src_asterisk.wgt with the command :"wrt-launcher -l" and launch the frame-src_asterisk.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The frame-src_asterisk widget is launched.</expected>
- </step>
- <step order="3">
- <step_desc>Look at the launching page.</step_desc>
- <expected>Test passes if two green squares are displayed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is able to use frame resource when frame-src is none." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="frame-src_none">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of frame-src_none.wgt with the command :"wrt-launcher -l" and uninstall the frame-src_none.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/frame-src_none.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of frame-src_none.wgt with the command :"wrt-launcher -l" and launch the frame-src_none.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The frame-src_none widget is launched.</expected>
- </step>
- <step order="3">
- <step_desc>Look at the launching page.</step_desc>
- <expected>Test passes if there is no square is displayed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is able to use frame resource when frame-src is self." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="frame-src_self">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of frame-src_self.wgt with the command :"wrt-launcher -l" and uninstall the frame-src_self.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/frame-src_self.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of frame-src_self.wgt with the command :"wrt-launcher -l" and launch the frame-src_self.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The frame-src_self widget is launched.</expected>
- </step>
- <step order="3">
- <step_desc>Look at the launching page.</step_desc>
- <expected>Test passes if only the first green square is displayed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is able to use frame resource when frame-src is multi cross-origin." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="frame-src_cross-origin_multi">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of frame-src_cross-origin_multi.wgt with the command :"wrt-launcher -l" and uninstall the frame-src_cross-origin_multi.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/frame-src_cross-origin_multi.wgt</step_desc>
- <expected>Widget application is able to be installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of frame-src_cross-origin_multi.wgt with the command :"wrt-launcher -l" and launch the frame-src_cross-origin_multi.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
- <expected>The frame-src_cross-origin_multi widget is launched.</expected>
- </step>
- <step order="3">
- <step_desc>Look at the launching page.</step_desc>
- <expected>Test passes if only the first green square is displayed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if default-src is * that inline script can be executed" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="default-src_asterisk">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of default-src_asterisk.wgt with the command :"wrt-launcher -l" and uninstall the default-src_asterisk.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_asterisk.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of default-src_asterisk.wgt with the command :"wrt-launcher -l" and launch the default-src_asterisk.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A green "PASS" is displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is unable to use style resource when default-src is 'none'" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="default-src_none">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of default-src_none.wgt with the command :"wrt-launcher -l" and uninstall the default-src_none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_none.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of default-src_none.wgt with the command :"wrt-launcher -l" and launch the default-src_none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is unable to use external font resource when default-src is none." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="default-src_none_font_ext">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of default-src_none_font_ext.wgt with the command :"wrt-launcher -l" and uninstall the default-src_none_font_ext.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_none_font_ext.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of default-src_none_font_ext.wgt with the command :"wrt-launcher -l" and launch the default-src_none_font_ext.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Two identical font lines are displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is unable to use internal font resource when default-src is none." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="default-src_none_font_int">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of default-src_none_font_int.wgt with the command :"wrt-launcher -l" and uninstall the default-src_none_font_int.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_none_font_int.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of default-src_none_font_int.wgt with the command :"wrt-launcher -l" and launch the default-src_none_font_int.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Two identical font lines are displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is unable to use external font resource when default-src is self." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="default-src_self_font">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of default-src_self_font.wgt with the command :"wrt-launcher -l" and uninstall the default-src_self_font.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_self_font.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of default-src_self_font.wgt with the command :"wrt-launcher -l" and launch the default-src_self_font.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Two identical font lines are displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is able to load images from any URI when img-src is *." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="img-src_asterisk">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of img-src_asterisk.wgt with the command :"wrt-launcher -l" and uninstall the img-src_asterisk.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/img-src_asterisk.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of img-src_asterisk.wgt with the command :"wrt-launcher -l" and launch the img-src_asterisk.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A filled green square and a filled blue square are displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is unable to load images from any URI when img-src is 'none'." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="img-src_none">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of img-src_none.wgt with the command :"wrt-launcher -l" and uninstall the img-src_none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/img-src_none.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of img-src_none.wgt with the command :"wrt-launcher -l" and launch the img-src_none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>There is no red square on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is able to use the internal image resource and is unable to use the external image resource when img-src is 'self'." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="img-src_self">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of img-src_self.wgt with the command :"wrt-launcher -l" and uninstall the img-src_self.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/img-src_self.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of img-src_self.wgt with the command :"wrt-launcher -l" and launch the img-src_self.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>There is a filled blue square and no red square on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is unable to load media from any URI when media-src is none." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="media-src_none">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of media-src_none.wgt with the command :"wrt-launcher -l" and uninstall the media-src_none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/media-src_none.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of media-src_none.wgt with the command :"wrt-launcher -l" and launch the media-src_none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>There is no media file on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is unable to use script resource when script-src is none." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="script-src_none">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of script-src_none.wgt with the command :"wrt-launcher -l" and uninstall the script-src_none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/script-src_none.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of script-src_none.wgt with the command :"wrt-launcher -l" and launch the script-src_none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Text '"PASS" appears on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is able to open internal resource by xhr when connect-src is *." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="connect-src-asterisk">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of connect-src-asterisk.wgt with the command :"wrt-launcher -l" and uninstall the connect-src-asterisk.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/connect-src-asterisk.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of connect-src-asterisk.wgt with the command :"wrt-launcher -l" and launch the connect-src-asterisk.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The "Pass" shows on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is unable to open not-allowed resource by xhr when connect-src is cross-origin." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="connect-src-cross-origin">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of connect-src-cross-origin.wgt with the command :"wrt-launcher -l" and uninstall the connect-src-cross-origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/connect-src-cross-origin.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of connect-src-cross-origin.wgt with the command :"wrt-launcher -l" and launch the connect-src-cross-origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Three "Pass" show on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is unable to open resource by xhr when connect-src is none." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="connect-src-none">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of connect-src-none.wgt with the command :"wrt-launcher -l" and uninstall the connect-src-none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/connect-src-none.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of connect-src-none.wgt with the command :"wrt-launcher -l" and launch the connect-src-none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Two "Pass" show on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is able to open internal resource by xhr when connect-src is 'self'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="connect-src-self">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of connect-src-self.wgt with the command :"wrt-launcher -l" and uninstall the connect-src-self.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/connect-src-self.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of connect-src-self.wgt with the command :"wrt-launcher -l" and launch the connect-src-self.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Two "Pass" show on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is unable to open resource by xhr when connect-src is none." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-asterisk-allowed-ext">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of font-src-asterisk-allowed-ext.wgt with the command :"wrt-launcher -l" and uninstall the font-src-asterisk-allowed-ext.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-asterisk-allowed-ext.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of font-src-asterisk-allowed-ext.wgt with the command :"wrt-launcher -l" and launch the font-src-asterisk-allowed-ext.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The two lines are different in font.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is able to use internal font resource when font-src is *." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-asterisk-allowed-int">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of font-src-asterisk-allowed-int.wgt with the command :"wrt-launcher -l" and uninstall the font-src-asterisk-allowed-int.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-asterisk-allowed-int.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of font-src-asterisk-allowed-int.wgt with the command :"wrt-launcher -l" and launch the font-src-asterisk-allowed-int.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The two lines are different in font.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is able to use external font resource when font-src is cross origin." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-cross-origin-allowed">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of font-src-cross-origin-allowed.wgt with the command :"wrt-launcher -l" and uninstall the font-src-cross-origin-allowed.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-cross-origin-allowed.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of font-src-cross-origin-allowed.wgt with the command :"wrt-launcher -l" and launch the font-src-cross-origin-allowed.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The two lines are different in font.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is unable to use internal font resource when font-src is cross origin." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-cross-origin-blocked">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of font-src-cross-origin-blocked.wgt with the command :"wrt-launcher -l" and uninstall the font-src-cross-origin-blocked.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-cross-origin-blocked.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of font-src-cross-origin-blocked.wgt with the command :"wrt-launcher -l" and launch the font-src-cross-origin-blocked.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The two lines are the same in font.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is able to use the allowed external font resource when font-src is multi cross origin." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-cross-origin-multi-allowed">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of font-src-cross-origin-multi-allowed.wgt with the command :"wrt-launcher -l" and uninstall the font-src-cross-origin-multi-allowed.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-cross-origin-multi-allowed.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of font-src-cross-origin-multi-allowed.wgt with the command :"wrt-launcher -l" and launch the font-src-cross-origin-multi-allowed.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The first two lines have the same font style and different from the third line.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is unable to use external font resource when font-src is none." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-none-blocked-ext">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of font-src-none-blocked-ext.wgt with the command :"wrt-launcher -l" and uninstall the font-src-none-blocked-ext.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-none-blocked-ext.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of font-src-none-blocked-ext.wgt with the command :"wrt-launcher -l" and launch the font-src-none-blocked-ext.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The two lines are the same in font.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is unable to use internal font resource when font-src is none." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-none-blocked-int">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of font-src-none-blocked-int.wgt with the command :"wrt-launcher -l" and uninstall the font-src-none-blocked-int.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-none-blocked-int.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of font-src-none-blocked-int.wgt with the command :"wrt-launcher -l" and launch the font-src-none-blocked-int.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The two lines are the same in font.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is able to use internal font resource when font-src is self." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-self-allowed">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of font-src-self-allowed.wgt with the command :"wrt-launcher -l" and uninstall the font-src-self-allowed.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-self-allowed.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of font-src-self-allowed.wgt with the command :"wrt-launcher -l" and launch the font-src-self-allowed.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The two lines are different in font.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is unable to use external font resource when font-src is self." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-self-blocked">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of font-src-self-blocked.wgt with the command :"wrt-launcher -l" and uninstall the font-src-self-blocked.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-self-blocked.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of font-src-self-blocked.wgt with the command :"wrt-launcher -l" and launch the font-src-self-blocked.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The two lines are the same in font.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is unable to use javascript in external when sandbox is empty." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="sandbox-empty-ext">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of sandbox-empty-ext.wgt with the command :"wrt-launcher -l" and uninstall the sandbox-empty-ext.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/sandbox-empty-ext.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of sandbox-empty-ext.wgt with the command :"wrt-launcher -l" and launch the sandbox-empty-ext.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Only the "Test passes if there is no text 'FAIL' below" is displayed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is unable to use javascript inline when sandbox is empty." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="sandbox-empty-inline">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of sandbox-empty-inline.wgt with the command :"wrt-launcher -l" and uninstall the sandbox-empty-inline.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/sandbox-empty-inline.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of sandbox-empty-inline.wgt with the command :"wrt-launcher -l" and launch the sandbox-empty-inline.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Only the "Test passes if there is no text 'FAIL' below" is displayed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that user agent is unable to use javascript internal when sandbox is empty." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="sandbox-empty-int">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of sandbox-empty-int.wgt with the command :"wrt-launcher -l" and uninstall the sandbox-empty-int.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/sandbox-empty-int.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of sandbox-empty-int.wgt with the command :"wrt-launcher -l" and launch the sandbox-empty-int.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Only the "Test passes if there is no text 'FAIL' below" is displayed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the resources works well when sandbox is allow-same-origin allow-scripts." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="sandbox-same-origin-allow-scripts">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of sandbox-same-origin-allow-scripts.wgt with the command :"wrt-launcher -l" and uninstall the sandbox-same-origin-allow-scripts.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/sandbox-same-origin-allow-scripts.wgt</step_desc>
- <expected>The widget application can be installed.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of sandbox-same-origin-allow-scripts.wgt with the command :"wrt-launcher -l" and launch the sandbox-same-origin-allow-scripts.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The "Pass -- The script of this page is loaded" "Pass -- The script in this widget is loaded" and "Pass -- The script on other origin is loaded" are displayed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent can only use the specific external resource when default-src is cross-origin." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="default-src_cross_origin">
- <description>
- <pre_condition>Make sure the device can access to the network.</pre_condition>
- <post_condition>Get the 'application id' of default-src_cross_origin.wgt with the command :"wrt-launcher -l" and uninstall the default-src_cross_origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_cross_origin.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of default-src_cross_origin.wgt with the command :"wrt-launcher -l" and launch the default-src_cross_origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The first two lines have the same font style and different from the third line, two "PASS" are displayed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent can only use the internal resource when default-src is self." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="default-src_self">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of default-src_self.wgt with the command :"wrt-launcher -l" and uninstall the default-src_self.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_self.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of default-src_self.wgt with the command :"wrt-launcher -l" and launch the default-src_self.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>The two lines are different in font,four filled blue squares and one empty frame are displayed, text "PASS" is in the first blue square.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent can only use the specific external image resource when img-src is cross-origin." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="img-src_cross_origin">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of img-src_cross_origin.wgt with the command :"wrt-launcher -l" and uninstall the img-src_cross_origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/img-src_cross_origin.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of img-src_cross_origin.wgt with the command :"wrt-launcher -l" and launch the img-src_cross_origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Two filled green squares are displayed and no red square on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is able to use all audio resources when media-src is *" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="media-src_asterisk">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of media-src_asterisk.wgt with the command :"wrt-launcher -l" and uninstall the media-src_asterisk.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/media-src_asterisk.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of media-src_asterisk.wgt with the command :"wrt-launcher -l" and launch the media-src_asterisk.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Two media files are displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent can only use the specific external resource when media-src is cross-origin." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="media-src_cross_origin">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of media-src_cross_origin.wgt with the command :"wrt-launcher -l" and uninstall the media-src_cross_origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/media-src_cross_origin.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of media-src_cross_origin.wgt with the command :"wrt-launcher -l" and launch the media-src_cross_origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A media file is displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent can only use the internal media resource when media-src is 'self'." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="media-src_self">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of media-src_self.wgt with the command :"wrt-launcher -l" and uninstall the media-src_self.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/media-src_self.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of media-src_self.wgt with the command :"wrt-launcher -l" and launch the media-src_self.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed under a media file on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is able to use all image resources when object-src is *." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="object-src_asterisk">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of object-src_asterisk.wgt with the command :"wrt-launcher -l" and uninstall the object-src_asterisk.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/object-src_asterisk.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of object-src_asterisk.wgt with the command :"wrt-launcher -l" and launch the object-src_asterisk.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A filled green square and a filled blue square are displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent can only use the specific external image resource when object-src is cross-origin." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="object-src_cross_origin">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of object-src_cross_origin.wgt with the command :"wrt-launcher -l" and uninstall the object-src_cross_origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/object-src_cross_origin.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of object-src_cross_origin.wgt with the command :"wrt-launcher -l" and launch the object-src_cross_origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Two filled green squares are displayed and no red square on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is unable to use image resource when object-src is 'none'." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="object-src_none">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of object-src_none.wgt with the command :"wrt-launcher -l" and uninstall the object-src_none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/object-src_none.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of object-src_none.wgt with the command :"wrt-launcher -l" and launch the object-src_none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>No red square on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent can only use the internal image resource when object-src is 'self'." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="object-src_self">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of object-src_self.wgt with the command :"wrt-launcher -l" and uninstall the object-src_self.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/object-src_self.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of object-src_self.wgt with the command :"wrt-launcher -l" and launch the object-src_self.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A filled blue square is displayed and no red square on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is unable to use the inline script resource when 'unsafe-inline' is not in script-src." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="script-src_cross_origin">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of script-src_cross_origin.wgt with the command :"wrt-launcher -l" and uninstall the script-src_cross_origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/script-src_cross_origin.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of script-src_cross_origin.wgt with the command :"wrt-launcher -l" and launch the script-src_cross_origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed and no "FAIL" on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent can only use the specific script resource when script-src is cross-origin unsafe-inline." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="script-src_cross_origin_inline">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of script-src_cross_origin_inline.wgt with the command :"wrt-launcher -l" and uninstall the script-src_cross_origin_inline.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/script-src_cross_origin_inline.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of script-src_cross_origin_inline.wgt with the command :"wrt-launcher -l" and launch the script-src_cross_origin_inline.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is able to use the eval script resource when default-src is unsafe-eval." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="script-src_inline_eval">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of script-src_inline_eval.wgt with the command :"wrt-launcher -l" and uninstall the script-src_inline_eval.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/script-src_inline_eval.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of script-src_inline_eval.wgt with the command :"wrt-launcher -l" and launch the script-src_inline_eval.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if internal script works well when script-src is self unsafe-inline." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="script-src_self_unsafe_inline">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of script-src_self_unsafe_inline.wgt with the command :"wrt-launcher -l" and uninstall the script-src_self_unsafe_inline.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/script-src_self_unsafe_inline.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of script-src_self_unsafe_inline.wgt with the command :"wrt-launcher -l" and launch the script-src_self_unsafe_inline.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent can only use the inline script resource when script-src is only unsafe-inline." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="script-src_unsafe_inline">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of script-src_unsafe_inline.wgt with the command :"wrt-launcher -l" and uninstall the script-src_unsafe_inline.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/script-src_unsafe_inline.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of script-src_unsafe_inline.wgt with the command :"wrt-launcher -l" and launch the script-src_unsafe_inline.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>Four "PASS" and an empty frame are displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is able to use all style resources when style-src is *." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="style-src_asterisk">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of style-src_asterisk.wgt with the command :"wrt-launcher -l" and uninstall the style-src_asterisk.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/style-src_asterisk.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of style-src_asterisk.wgt with the command :"wrt-launcher -l" and launch the style-src_asterisk.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed under a blue square.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent can only use the specific external style resource when style-src is cross origin." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="style-src_cross_origin">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of style-src_cross_origin.wgt with the command :"wrt-launcher -l" and uninstall the style-src_cross_origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/style-src_cross_origin.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of style-src_cross_origin.wgt with the command :"wrt-launcher -l" and launch the style-src_cross_origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is unable to use style resource when style-src is none." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="style-src_none">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of style-src_none.wgt with the command :"wrt-launcher -l" and uninstall the style-src_none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/style-src_none.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of style-src_none.wgt with the command :"wrt-launcher -l" and launch the style-src_none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent can only use the internal style resource when style-src is self." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="style-src_self">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of style-src_self.wgt with the command :"wrt-launcher -l" and uninstall the style-src_self.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/style-src_self.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of style-src_self.wgt with the command :"wrt-launcher -l" and launch the style-src_self.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed under a blue square.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if user agent is able to use the inline style resource when style-src is unsafe-inline." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="style-src_unsafe_inline">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Get the 'application id' of style-src_unsafe_inline.wgt with the command :"wrt-launcher -l" and uninstall the style-src_unsafe_inline.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/style-src_unsafe_inline.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of style-src_unsafe_inline.wgt with the command :"wrt-launcher -l" and launch the style-src_unsafe_inline.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed under a green square.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if report-uri can post one violation message to cgi correctly when csp policy is content-security-policy ." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="report-uri-single-violated">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Uninstall the widget with the command: wrt-installer -up /opt/tct-ext02-wrt-tests/report-uri-single-violated.wgt.</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/report-uri-single-violated.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of report-uri-single-violated.wgt with the command :"wrt-launcher -l" and launch the report-uri-single-violated.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed under the words '1.Csp policy worked well if text "PASS" appears below.'.</expected>
- </step>
- <step order="3">
- <step_desc>Notice the log in time on the screen, and open log file with the command: cat /tmp/csp-report.log</step_desc>
- <expected>At the end of the file, the last record's "Time" is the same as the "log in" time. </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if report-uri can post one violation message to cgi correctly when csp policy is content-security-policy-report-only ." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="report-uri-report-only-single-violated">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Uninstall the widget with the command: wrt-installer -up /opt/tct-ext02-wrt-tests/report-uri-report-only-single-violated.wgt.</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/report-uri-report-only-single-violated.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of report-uri-report-only-single-violated.wgt with the command :"wrt-launcher -l" and launch the report-uri-report-only-single-violated.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed under the words '1.Csp policy worked well if text "PASS" appears below.'.</expected>
- </step>
- <step order="3">
- <step_desc>Notice the log in time on the screen, and open log file with the command: cat /tmp/csp-report.log</step_desc>
- <expected>At the end of the file, the last record's "Time" is the same as the "log in" time. </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if report-uri can post double violation message to cgi correctly when csp policy is content-security-policy ." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="report-uri-double-violated">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Uninstall the widget with the command: wrt-installer -up /opt/tct-ext02-wrt-tests/report-uri-double-violated.wgt.</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/report-uri-double-violated.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of report-uri-double-violated.wgt with the command :"wrt-launcher -l" and launch the report-uri-double-violated.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A "PASS" is displayed under the words '1.Csp policy worked well if text "PASS" appears below.'.</expected>
- </step>
- <step order="3">
- <step_desc>Notice the log in time on the screen, and open log file with the command: cat /tmp/csp-report.log</step_desc>
- <expected>At the end of the file, the last two records' "Time" are the same as the "log in" time. </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check if report-uri can post double violation message to cgi correctly when csp policy is content-security-policy-report-only ." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="report-uri-report-only-double-violated">
- <description>
- <pre_condition></pre_condition>
- <post_condition>Uninstall the widget with the command: wrt-installer -up /opt/tct-ext02-wrt-tests/report-uri-report-only-double-violated.wgt.</post_condition>
- <steps>
- <step order="1">
- <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/report-uri-report-only-double-violated.wgt</step_desc>
- <expected>The widget application is installed successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Get the 'application id' of report-uri-report-only-double-violated.wgt with the command :"wrt-launcher -l" and launch the report-uri-report-only-double-violated.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
- <expected>A popup with "PASS" displayed on the screen.</expected>
- </step>
- <step order="3">
- <step_desc>Click "OK" button on the popup</step_desc>
- <expected>A "PASS" is displayed under the words '2.Csp policy worked well if text "PASS" appears below.'.</expected>
- </step>
- <step order="4">
- <step_desc>Notice the log in time on the screen, and open log file with the command: cat /tmp/csp-report.log</step_desc>
- <expected>At the end of the file, the last two records' "Time" are the same as the "log in" time. </expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
- </set>
+ <testcase purpose="Check that the widget cannot be installed when install-location is set as 'prefer-external' and external storage is not available." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="setting-install-location-prefer-external-no-card">
+ <description>
+ <pre_condition>Make sure there is no memory card inserted into the device.</pre_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/setting-install-location-prefer-external-no-card.wgt</step_desc>
+ <expected>The widget application cannot be installed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the view action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P0" id="appcontrol-operation-view">
+ <description>
+ <pre_condition>Install the widget with the command: wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-view.wgt</pre_condition>
+ <post_condition>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and uninstall the appcontrol-test-app.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command: wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/view,MIME is image/jpg then press button "Launch Service APP".</step_desc>
+ <expected>A popup displayed on the screen and several application can be selected.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Click appcontrol-operation... option.</step_desc>
+ <expected>A popup "Default application settings" displayed on the screen.</expected>
+ </step>
+ <step order="5">
+ <step_desc>Click "cancel" button</step_desc>
+ <expected>"operation-view" is displayed on the screen.</expected>
+ </step>
+ <step order="6">
+ <step_desc>Close the appcontrol-test-app widget application.</step_desc>
+ <expected>The widget application appcontrol-test-app is closed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the widget application can redirect the start page to the value of tizen content src" type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P0" id="application-content">
+ <description>
+ <pre_condition>Make sure the network can access to http://www.google.com</pre_condition>
+ <post_condition>Get the 'application id' of application-content.wgt with the command :"wrt-launcher -l" and uninstall the application-content.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/application-content.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Launch the widget and confirm the widget application can redirect the start page to http://www.google.com.</step_desc>
+ <expected>The screen redirect the start page to http://www.google.com.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0240" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </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">
+ <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>
+ <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>
+ <expected>The application ID("wrt2app003.ApplicationIdExist") can be shown.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0210" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the web runtime can install the app which has a required valid version successfully." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P1" id="application-required-version-support">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition></post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check that the web runtime can install the app which has a required valid version successfully.</step_desc>
+ <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>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0210" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the web runtime can enable background service by setting background-support attribute as enable." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-bs-enable">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of setting-bs-enable.wgt with the command :"wrt-launcher -l" and uninstall the setting-bs-enable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-bs-enable.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Let the widget run in the background</step_desc>
+ <expected>The counter is running and the number of count is growing</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the web runtime can enable context menu by setting context-menu attribute as 'enable'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-cm-enable">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of setting-cm-enable.wgt with the command :"wrt-launcher -l" and uninstall the setting-cm-enable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-cm-enable.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Confirm the widget application settings support context menus</step_desc>
+ <expected>The web runtime can enable context menu</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the web runtime supports landscape screen orientation mode by setting screen-orientation as 'landscape'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-so-landscape">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of setting-so-landscape.wgt with the command :"wrt-launcher -l" and uninstall the setting-so-landscape.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-so-landscape.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Confirm the view of app is to be locked in the landscape mode</step_desc>
+ <expected>The WRT implement view of app is under landscape mode.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the web runtime supports portrait screen orientation mode by setting screen-orientation as 'portrait'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-so-portrait">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of setting-so-portrait.wgt with the command :"wrt-launcher -l" and uninstall the setting-so-portrait.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-so-portrait.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Confirm the view of Web app is locked in the portrait mode</step_desc>
+ <expected>The WRT implement view of app is under portrait mode.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT supports portrait screen orientation mode by setting screen-orientation as default option." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-so-default">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of setting-so-default.wgt with the command :"wrt-launcher -l" and uninstall the setting-so-default.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-so-default.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Confirm the view of Web app is locked in the portrait mode</step_desc>
+ <expected>The WRT implement view of app is under default mode which is portrait mode.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT can enable the encrypt function for all the app resources by setting encryption as 'enable'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-encrypt-enable">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of setting-encrypt-enable.wgt with the command :"wrt-launcher -l" and uninstall the setting-encrypt-enable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-encrypt-enable.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Confirm the widget application is encrypted</step_desc>
+ <expected>The resources(js, CSS, HTML files) of setting-encrypt-enable application is encrypted.(For example, use the command:vi /opt/usr/apps/wrt2see029/res/wgt/index.html to show the content of index.html, the content of index.html is encrypted)</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the web runtime can disable background service by setting background-support as 'disable'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="setting-bs-disable">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of setting-bs-disable.wgt with the command :"wrt-launcher -l" and uninstall the setting-bs-disable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-bs-disable.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully</expected>
+ </step>
+ <step order="2">
+ <step_desc>Let the widget run in the background</step_desc>
+ <expected>The counter is not running</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the web runtime can disable context menu by setting context-menu as 'disable'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="setting-cm-disable">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of setting-cm-disable.wgt with the command :"wrt-launcher -l" and uninstall the setting-cm-disable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-cm-disable.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Confirm the context menu of widget application does not work</step_desc>
+ <expected>The web runtime can disable context menu</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the web runtime can disable the encrypt function for all the app resources by setting encryption as 'disable'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="setting-encrypt-disable">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of setting-encrypt-disable.wgt with the command :"wrt-launcher -l" and uninstall the setting-encrypt-disable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-encrypt-disable.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Confirm the widget application is not encrypted</step_desc>
+ <expected>The resources(js, CSS, HTML files) of setting-encrypt-disable application is not encrypted.(For example, use command:vi /opt/usr/apps/wrt2sed028/res/wgt/index.html to show the content of index.html, the content of index.html is not encrypted.)</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the editing action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-edit">
+ <description>
+ <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-edit.wgt</pre_condition>
+ <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-edit.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/edit,MIME is image/jpg then press button "Launch Service APP".</step_desc>
+ <expected>"operation-edit" is displayed on the screen.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Close the widget application appcontrol-test-app.</step_desc>
+ <expected>The widget application appcontrol-test-app is closed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the picking action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-pick">
+ <description>
+ <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-pick.wgt</pre_condition>
+ <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-pick.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/pick,MIME is image/jpg then press button "Launch Service APP".</step_desc>
+ <expected>A popup displayed on the screen and several application can be selected.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Click appcontrol-operation... option.</step_desc>
+ <expected>A popup "Default application settings" displayed on the screen.</expected>
+ </step>
+ <step order="5">
+ <step_desc>Click "cancel" button</step_desc>
+ <expected>"operation-pick" is displayed on the screen.</expected>
+ </step>
+ <step order="6">
+ <step_desc>Close the widget application appcontrol-test-app.</step_desc>
+ <expected>The widget application appcontrol-test-app is closed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the sending action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-send">
+ <description>
+ <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-send.wgt</pre_condition>
+ <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-send.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/send,MIME is image/* then press button "Launch Service APP".</step_desc>
+ <expected>A popup displayed on the screen and several application can be selected.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Click appcontrol-operation... option.</step_desc>
+ <expected>A popup "Default application settings" displayed on the screen.</expected>
+ </step>
+ <step order="5">
+ <step_desc>Click "cancel" button</step_desc>
+ <expected>"operation-send" is displayed on the screen.</expected>
+ </step>
+ <step order="6">
+ <step_desc>Close the widget application appcontrol-test-app.</step_desc>
+ <expected>The widget application appcontrol-test-app is closed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the dialing action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-dial">
+ <description>
+ <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-dial.wgt</pre_condition>
+ <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-dial.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/dial,MIME is image/jpg then press button "Launch Service APP".</step_desc>
+ <expected>"operation-dial" is displayed on the screen.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Close the widget application appcontrol-test-app.</step_desc>
+ <expected>The widget application appcontrol-test-app is closed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the searching action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-search">
+ <description>
+ <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-search.wgt</pre_condition>
+ <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-search.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/search,MIME is image/jpg then press button "Launch Service APP".</step_desc>
+ <expected>"operation-search" is displayed on the screen.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Close the widget application appcontrol-test-app.</step_desc>
+ <expected>The widget application appcontrol-test-app is closed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the default action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-default">
+ <description>
+ <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-default.wgt</pre_condition>
+ <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-default.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/default,MIME is image/jpg then press button "Launch Service APP".</step_desc>
+ <expected>"operation-default" is displayed on the screen.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Close the widget application appcontrol-test-app.</step_desc>
+ <expected>The widget application appcontrol-test-app is closed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the nfc empty type action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-nfc-empty">
+ <description>
+ <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-nfc-empty.wgt</pre_condition>
+ <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-nfc-empty.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_empty_type,MIME is image/jpg then press button "Launch Service APP".</step_desc>
+ <expected>"operation-nfc-empty" is displayed on the screen.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Close the widget application appcontrol-test-app.</step_desc>
+ <expected>The widget application appcontrol-test-app is closed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the nfc well know type action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-nfc-wellknow">
+ <description>
+ <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-nfc-wellknow.wgt</pre_condition>
+ <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-nfc-wellknow.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_well_known_type,MIME is image/jpg then press button "Launch Service APP".</step_desc>
+ <expected>"operation-nfc-wellknow" is displayed on the screen.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Close the appcontrol-test-app widget application.</step_desc>
+ <expected>The widget application appcontrol-test-app is closed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the nfc mime type action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-nfc-mime">
+ <description>
+ <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-nfc-mime.wgt</pre_condition>
+ <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-nfc-mime.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_mime_type,MIME is image/jpg then press button "Launch Service APP".</step_desc>
+ <expected>"operation-nfc-mime" is displayed on the screen.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Close the appcontrol-test-app widget application.</step_desc>
+ <expected>The widget application appcontrol-test-app is closed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the nfc uri type action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-nfc-uri">
+ <description>
+ <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-nfc-uri.wgt</pre_condition>
+ <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-nfc-uri.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/nfc_uri_type,MIME is image/jpg then press button "Launch Service APP".</step_desc>
+ <expected>"operation-nfc-uri" is displayed on the screen.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Close the appcontrol-test-app widget application.</step_desc>
+ <expected>The widget application appcontrol-test-app is closed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the create content action can be performed in the test app by web runtime." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="appcontrol-operation-content">
+ <description>
+ <pre_condition>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-operation-content.wgt</pre_condition>
+ <post_condition>Get the 'application id' of appcontrol-test-app.wgt and appcontrol-operation-content.wgt with the command :"wrt-launcher -l" and uninstall the widgets with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/appcontrol-test-app.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of appcontrol-test-app.wgt with the command :"wrt-launcher -l" and launch the appcontrol-test-app.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The appcontrol-test-app widget is launched and some options can be selected.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Choose: Operation is http://tizen.org/appcontrol/operation/create_content,MIME is image/jpg. then press button "Launch Service APP".</step_desc>
+ <expected>A popup displayed on the screen and several application can be selected.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Click appcontrol-operation... option.</step_desc>
+ <expected>A popup "Default application settings" displayed on the screen.</expected>
+ </step>
+ <step order="5">
+ <step_desc>Click "cancel" button</step_desc>
+ <expected>"operation-content" is displayed on the screen.</expected>
+ </step>
+ <step order="6">
+ <step_desc>Close the widget application appcontrol-test-app.</step_desc>
+ <expected>The widget application appcontrol-test-app is closed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the widget can be installed when install-location is set at 'internal-only' and external storage is not available." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P3" id="setting-install-location-internal-only-no-card">
+ <description>
+ <pre_condition>Make sure there is no memory card inserted into the device.</pre_condition>
+ <post_condition></post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check that the widget can be installed when install-location is set at 'internal-only' and external storage is not available</step_desc>
+ <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>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the widget can be installed when install-location is set at 'internal-only' and external storage is available." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="setting-install-location-internal-only-with-card">
+ <description>
+ <pre_condition>Insert a memory card into the device.</pre_condition>
+ <post_condition>Take the memory card away from the device.</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-install-location-internal-only-with-card.wgt</step_desc>
+ <expected>Widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of setting-install-location-internal-only-with-card.wgt with the command :"wrt-launcher -l" and launch the setting-install-location-internal-only-with-card.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The widget application can be launched and see a "PASS" word on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the widget can be installed when install-location is set at 'prefer-external' and external storage is available." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="setting-install-location-prefer-external-with-card">
+ <description>
+ <pre_condition>Insert a memory card into the device, and make sure there is nothing in the card.</pre_condition>
+ <post_condition>Take the memory card away from device.</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-install-location-prefer-external-with-card.wgt</step_desc>
+ <expected>Widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Search the memory card, and find if there is a new folder or file with the name like "wrt2sil055" </step_desc>
+ <expected>There is a folder or file with the name like "wrt2sil055" in the memory card.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the widget with app-control defined as complex-mode works fine." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="app-control-complex-one">
+ <description>
+ <pre_condition>app-control-complex-wgt-1.wgt has been installed in the device.Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/app-control-complex-wgt-1.wgt</pre_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/unit-test-for-app-control.wgt</step_desc>
+ <expected>Widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of unit-test-for-app-control.wgt with the command :"wrt-launcher -l" and launch the unit-test-for-app-control.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The widget application can be launched.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Press button "open1"</step_desc>
+ <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the widget with two app-controls defined as complex-mode works fine." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="app-control-complex-two">
+ <description>
+ <pre_condition>app-control-complex-wgt-2.wgt has been installed in the device.Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/app-control-complex-wgt-2.wgt</pre_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/unit-test-for-app-control.wgt</step_desc>
+ <expected>Widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of unit-test-for-app-control.wgt with the command :"wrt-launcher -l" and launch the unit-test-for-app-control.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The widget application can be launched.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Press button "open2"</step_desc>
+ <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Press button "close",then press button "open3"</step_desc>
+ <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the widget with app-control which has a mime argument defined as complex-mode works fine." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="app-control-complex-one-mime">
+ <description>
+ <pre_condition>app-control-complex-wgt-3.wgt has been installed in the device.Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/app-control-complex-wgt-3.wgt</pre_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/unit-test-for-app-control.wgt</step_desc>
+ <expected>Widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of unit-test-for-app-control.wgt with the command :"wrt-launcher -l" and launch the unit-test-for-app-control.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The widget application can be launched.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Press button "open4"</step_desc>
+ <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the widget with two app-controls which have mime argument defined as complex-mode works fine." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="app-control-complex-two-mime">
+ <description>
+ <pre_condition>app-control-complex-wgt-4.wgt has been installed in the device.Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/app-control-complex-wgt-4.wgt</pre_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/unit-test-for-app-control.wgt</step_desc>
+ <expected>Widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of unit-test-for-app-control.wgt with the command :"wrt-launcher -l" and launch the unit-test-for-app-control.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The widget application can be launched.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Press button "open5"</step_desc>
+ <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Press button "close",then press button "open6"</step_desc>
+ <expected>A "PASS" displayed on the screen, then jumped to another page, the new page auto closed in 5 seconds, finally a "PASS" and a "close" button displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0221" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the WRT support Web Applications with namespace declared in configuration file." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P2" id="web-applications-with-namespace-xmlns-enable">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition></post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check that the WRT support Web Applications with namespace declared in configuration file</step_desc>
+ <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>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0200" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check the view mode is invariant when screen-orientation attribute is set as landscape" type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="tizen-settings-screen-orientation-landscape">
+ <description>
+ <pre_condition>Make sure the tizen-settings-screen-orientation-landscape.wgt is not installed</pre_condition>
+ <post_condition>Get the 'application id' of tizen-settings-screen-orientation-landscape.wgt with the command :"wrt-launcher -l" and uninstall the tizen-settings-screen-orientation-landscape.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/tizen-settings-screen-orientation-landscape.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of tizen-settings-screen-orientation-landscape.wgt with the command :"wrt-launcher -l" and launch the tizen-settings-screen-orientation-landscape.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The image and the message(Pass: if you see a image on the screen) is displayed on the screen.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Rotation the screen.</step_desc>
+ <expected>The message and image is invariant.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that web application can be installed when the length of application id is 1 byte." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P2" id="tizen-application-id-is-one-bytes">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition></post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check that web application can be installed when the length of application id is 1 byte</step_desc>
+ <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>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0210" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that web application with valid id can be installed." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P1" id="tizen-application-id-is-rightful">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition></post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check that web application with valid id can be installed.</step_desc>
+ <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>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0210" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check web application which the length of application id is valid can be installed." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P0" id="tizen-application-id-is-all-right">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition></post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check web application which the length of application id is valid can be installed.</step_desc>
+ <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>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0210" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the Web Application's view-port orientation can be changed according to device orientation." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-ar-true">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of setting-ar-true.wgt with the command :"wrt-launcher -l" and uninstall the setting-ar-true.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-ar-true.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of setting-ar-true.wgt with the command :"wrt-launcher -l" and launch the setting-ar-true.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The widget is launched.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Confirm the view of Web app is changed in according to device orientation.</step_desc>
+ <expected>The web app will be auto rotated with the device orientation change.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that h/w key event can be invoked when hwkey-event attribute is default." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-hwkey-default">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of setting-hwkey-default.wgt with the command :"wrt-launcher -l" and uninstall the setting-hwkey-default.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-hwkey-default.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of setting-hwkey-default.wgt with the command :"wrt-launcher -l" and launch the setting-hwkey-default.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Two "Fail" are displayed.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Press the menu/back key.</step_desc>
+ <expected>The "Fail" is changed by "Pass --- back event is invoked" or "Pass --- menu event is invoked".</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that h/w key event can be invoked when hwkey-event attribute is enable." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-hwkey-enable">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of setting-hwkey-enable.wgt with the command :"wrt-launcher -l" and uninstall the setting-hwkey-enable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-hwkey-enable.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of setting-hwkey-enable.wgt with the command :"wrt-launcher -l" and launch the setting-hwkey-enable.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>Two "Fail" are displayed.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Press the menu/back key.</step_desc>
+ <expected>The "Fail" is changed by "Pass --- back event is invoked" or "Pass --- menu event is invoked".</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that h/w key event can not be invoked when hwkey-event attribute is disable." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-hwkey-disable">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of setting-hwkey-disable.wgt with the command :"wrt-launcher -l" and uninstall the setting-hwkey-disable.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-hwkey-disable.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of setting-hwkey-disable.wgt with the command :"wrt-launcher -l" and launch the setting-hwkey-disable.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>Two "Pass" are displayed.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Press the menu/back key.</step_desc>
+ <expected>The page does not change.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0230" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is not allow any URL navigation when allow-navigation attribute is null." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-an-zero">
+ <description>
+ <pre_condition>Make sure the device can access to internet</pre_condition>
+ <post_condition>Get the 'application id' of setting-an-zero.wgt with the command :"wrt-launcher -l" and uninstall the setting-an-zero.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-an-zero.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of setting-an-zero.wgt with the command :"wrt-launcher -l" and launch the setting-an-zero.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The "google" and "tizen" are displayed.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Click the "google" and "tizen"(click one link and then close the application, after that, launch the widget again and click next link, repeat these steps untill all the links are clicked).</step_desc>
+ <expected>The websit can not be navigated in Web App, it will be opened by external browser.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0260" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is allow the URL navigation when the URL is defined in allow-navigation attribute." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-an-one">
+ <description>
+ <pre_condition>Make sure the device can access to internet</pre_condition>
+ <post_condition>Get the 'application id' of setting-an-one.wgt with the command :"wrt-launcher -l" and uninstall the setting-an-one.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-an-one.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of setting-an-one.wgt with the command :"wrt-launcher -l" and launch the setting-an-one.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The "google" "tizen" and "developer.tizen" are displayed.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Click the "google" "tizen" and "developer.tizen"(click one link and then close the application, after that, launch the widget again and click next link, repeat these steps untill all the links are clicked).</step_desc>
+ <expected>Can be navigated to tizen and developer.tizen websit in Web App.The google websit can not be navigated in Web App, it will be opened by external browser.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0260" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that first URL navigation is occurred(ignore all other) when the URL is defined more than 1 in allow-navigation attribute." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="setting-an-more">
+ <description>
+ <pre_condition>Make sure the device can access to internet</pre_condition>
+ <post_condition>Get the 'application id' of setting-an-more.wgt with the command :"wrt-launcher -l" and uninstall the setting-an-more.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command : wrt-installer -i /opt/tct-ext02-wrt-tests/setting-an-more.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of setting-an-more.wgt with the command :"wrt-launcher -l" and launch the setting-an-more.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The "tizen" "developer.tizen" "baidu" and "baike.baidu" are displayed.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Click the "tizen" "developer.tizen" "baidu" and "baike.baidu"(click one link and then close the application, after that, launch the widget again and click next link, repeat these steps untill all the links are clicked).</step_desc>
+ <expected>Can be navigated to tizen and developer.tizen websit in Web App.The baidu and baike.baidu websit can not be navigated in Web App, it will be opened by external browser.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0260" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is able to use frame resource when frame-src is asterisk." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="frame-src_asterisk">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of frame-src_asterisk.wgt with the command :"wrt-launcher -l" and uninstall the frame-src_asterisk.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/frame-src_asterisk.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of frame-src_asterisk.wgt with the command :"wrt-launcher -l" and launch the frame-src_asterisk.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The frame-src_asterisk widget is launched.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Look at the launching page.</step_desc>
+ <expected>Test passes if two green squares are displayed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is able to use frame resource when frame-src is none." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="frame-src_none">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of frame-src_none.wgt with the command :"wrt-launcher -l" and uninstall the frame-src_none.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/frame-src_none.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of frame-src_none.wgt with the command :"wrt-launcher -l" and launch the frame-src_none.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The frame-src_none widget is launched.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Look at the launching page.</step_desc>
+ <expected>Test passes if there is no square is displayed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is able to use frame resource when frame-src is self." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="frame-src_self">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of frame-src_self.wgt with the command :"wrt-launcher -l" and uninstall the frame-src_self.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/frame-src_self.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of frame-src_self.wgt with the command :"wrt-launcher -l" and launch the frame-src_self.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The frame-src_self widget is launched.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Look at the launching page.</step_desc>
+ <expected>Test passes if only the first green square is displayed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is able to use frame resource when frame-src is multi cross-origin." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="frame-src_cross-origin_multi">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of frame-src_cross-origin_multi.wgt with the command :"wrt-launcher -l" and uninstall the frame-src_cross-origin_multi.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/frame-src_cross-origin_multi.wgt</step_desc>
+ <expected>Widget application is able to be installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of frame-src_cross-origin_multi.wgt with the command :"wrt-launcher -l" and launch the frame-src_cross-origin_multi.wgt with the command :"wrt-launcher -s 'application id'".</step_desc>
+ <expected>The frame-src_cross-origin_multi widget is launched.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Look at the launching page.</step_desc>
+ <expected>Test passes if only the first green square is displayed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if default-src is * that inline script can be executed" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="default-src_asterisk">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of default-src_asterisk.wgt with the command :"wrt-launcher -l" and uninstall the default-src_asterisk.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_asterisk.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of default-src_asterisk.wgt with the command :"wrt-launcher -l" and launch the default-src_asterisk.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A green "PASS" is displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is unable to use style resource when default-src is 'none'" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="default-src_none">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of default-src_none.wgt with the command :"wrt-launcher -l" and uninstall the default-src_none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_none.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of default-src_none.wgt with the command :"wrt-launcher -l" and launch the default-src_none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is unable to use external font resource when default-src is none." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="default-src_none_font_ext">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of default-src_none_font_ext.wgt with the command :"wrt-launcher -l" and uninstall the default-src_none_font_ext.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_none_font_ext.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of default-src_none_font_ext.wgt with the command :"wrt-launcher -l" and launch the default-src_none_font_ext.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Two identical font lines are displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is unable to use internal font resource when default-src is none." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="default-src_none_font_int">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of default-src_none_font_int.wgt with the command :"wrt-launcher -l" and uninstall the default-src_none_font_int.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_none_font_int.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of default-src_none_font_int.wgt with the command :"wrt-launcher -l" and launch the default-src_none_font_int.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Two identical font lines are displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is unable to use external font resource when default-src is self." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P1" id="default-src_self_font">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of default-src_self_font.wgt with the command :"wrt-launcher -l" and uninstall the default-src_self_font.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_self_font.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of default-src_self_font.wgt with the command :"wrt-launcher -l" and launch the default-src_self_font.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Two identical font lines are displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is able to load images from any URI when img-src is *." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="img-src_asterisk">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of img-src_asterisk.wgt with the command :"wrt-launcher -l" and uninstall the img-src_asterisk.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/img-src_asterisk.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of img-src_asterisk.wgt with the command :"wrt-launcher -l" and launch the img-src_asterisk.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A filled green square and a filled blue square are displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is unable to load images from any URI when img-src is 'none'." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="img-src_none">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of img-src_none.wgt with the command :"wrt-launcher -l" and uninstall the img-src_none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/img-src_none.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of img-src_none.wgt with the command :"wrt-launcher -l" and launch the img-src_none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>There is no red square on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is able to use the internal image resource and is unable to use the external image resource when img-src is 'self'." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="img-src_self">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of img-src_self.wgt with the command :"wrt-launcher -l" and uninstall the img-src_self.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/img-src_self.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of img-src_self.wgt with the command :"wrt-launcher -l" and launch the img-src_self.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>There is a filled blue square and no red square on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is unable to load media from any URI when media-src is none." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="media-src_none">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of media-src_none.wgt with the command :"wrt-launcher -l" and uninstall the media-src_none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/media-src_none.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of media-src_none.wgt with the command :"wrt-launcher -l" and launch the media-src_none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>There is no media file on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is unable to use script resource when script-src is none." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="script-src_none">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of script-src_none.wgt with the command :"wrt-launcher -l" and uninstall the script-src_none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/script-src_none.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of script-src_none.wgt with the command :"wrt-launcher -l" and launch the script-src_none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Text '"PASS" appears on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is able to open internal resource by xhr when connect-src is *." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="connect-src-asterisk">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of connect-src-asterisk.wgt with the command :"wrt-launcher -l" and uninstall the connect-src-asterisk.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/connect-src-asterisk.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of connect-src-asterisk.wgt with the command :"wrt-launcher -l" and launch the connect-src-asterisk.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The "Pass" shows on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is unable to open not-allowed resource by xhr when connect-src is cross-origin." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="connect-src-cross-origin">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of connect-src-cross-origin.wgt with the command :"wrt-launcher -l" and uninstall the connect-src-cross-origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/connect-src-cross-origin.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of connect-src-cross-origin.wgt with the command :"wrt-launcher -l" and launch the connect-src-cross-origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Three "Pass" show on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is unable to open resource by xhr when connect-src is none." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="connect-src-none">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of connect-src-none.wgt with the command :"wrt-launcher -l" and uninstall the connect-src-none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/connect-src-none.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of connect-src-none.wgt with the command :"wrt-launcher -l" and launch the connect-src-none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Two "Pass" show on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is able to open internal resource by xhr when connect-src is 'self'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="connect-src-self">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of connect-src-self.wgt with the command :"wrt-launcher -l" and uninstall the connect-src-self.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/connect-src-self.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of connect-src-self.wgt with the command :"wrt-launcher -l" and launch the connect-src-self.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Two "Pass" show on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is able to use external font resource when font-src is *." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-asterisk-allowed-ext">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of font-src-asterisk-allowed-ext.wgt with the command :"wrt-launcher -l" and uninstall the font-src-asterisk-allowed-ext.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-asterisk-allowed-ext.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of font-src-asterisk-allowed-ext.wgt with the command :"wrt-launcher -l" and launch the font-src-asterisk-allowed-ext.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The two lines are different in font.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is able to use internal font resource when font-src is *." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-asterisk-allowed-int">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of font-src-asterisk-allowed-int.wgt with the command :"wrt-launcher -l" and uninstall the font-src-asterisk-allowed-int.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-asterisk-allowed-int.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of font-src-asterisk-allowed-int.wgt with the command :"wrt-launcher -l" and launch the font-src-asterisk-allowed-int.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The two lines are different in font.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is able to use external font resource when font-src is cross origin." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-cross-origin-allowed">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of font-src-cross-origin-allowed.wgt with the command :"wrt-launcher -l" and uninstall the font-src-cross-origin-allowed.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-cross-origin-allowed.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of font-src-cross-origin-allowed.wgt with the command :"wrt-launcher -l" and launch the font-src-cross-origin-allowed.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The two lines are different in font.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is unable to use internal font resource when font-src is cross origin." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-cross-origin-blocked">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of font-src-cross-origin-blocked.wgt with the command :"wrt-launcher -l" and uninstall the font-src-cross-origin-blocked.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-cross-origin-blocked.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of font-src-cross-origin-blocked.wgt with the command :"wrt-launcher -l" and launch the font-src-cross-origin-blocked.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The two lines are the same in font.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is able to use the allowed external font resource when font-src is multi cross origin." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-cross-origin-multi-allowed">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of font-src-cross-origin-multi-allowed.wgt with the command :"wrt-launcher -l" and uninstall the font-src-cross-origin-multi-allowed.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-cross-origin-multi-allowed.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of font-src-cross-origin-multi-allowed.wgt with the command :"wrt-launcher -l" and launch the font-src-cross-origin-multi-allowed.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The first two lines have the same font style and different from the third line.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is unable to use external font resource when font-src is none." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-none-blocked-ext">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of font-src-none-blocked-ext.wgt with the command :"wrt-launcher -l" and uninstall the font-src-none-blocked-ext.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-none-blocked-ext.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of font-src-none-blocked-ext.wgt with the command :"wrt-launcher -l" and launch the font-src-none-blocked-ext.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The two lines are the same in font.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is unable to use internal font resource when font-src is none." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-none-blocked-int">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of font-src-none-blocked-int.wgt with the command :"wrt-launcher -l" and uninstall the font-src-none-blocked-int.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-none-blocked-int.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of font-src-none-blocked-int.wgt with the command :"wrt-launcher -l" and launch the font-src-none-blocked-int.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The two lines are the same in font.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is able to use internal font resource when font-src is self." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-self-allowed">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of font-src-self-allowed.wgt with the command :"wrt-launcher -l" and uninstall the font-src-self-allowed.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-self-allowed.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of font-src-self-allowed.wgt with the command :"wrt-launcher -l" and launch the font-src-self-allowed.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The two lines are different in font.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is unable to use external font resource when font-src is self." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="font-src-self-blocked">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of font-src-self-blocked.wgt with the command :"wrt-launcher -l" and uninstall the font-src-self-blocked.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/font-src-self-blocked.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of font-src-self-blocked.wgt with the command :"wrt-launcher -l" and launch the font-src-self-blocked.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The two lines are the same in font.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is unable to use javascript in external when sandbox is empty." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="sandbox-empty-ext">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of sandbox-empty-ext.wgt with the command :"wrt-launcher -l" and uninstall the sandbox-empty-ext.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/sandbox-empty-ext.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of sandbox-empty-ext.wgt with the command :"wrt-launcher -l" and launch the sandbox-empty-ext.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Only the "Test passes if there is no text 'FAIL' below" is displayed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is unable to use javascript inline when sandbox is empty." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="sandbox-empty-inline">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of sandbox-empty-inline.wgt with the command :"wrt-launcher -l" and uninstall the sandbox-empty-inline.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/sandbox-empty-inline.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of sandbox-empty-inline.wgt with the command :"wrt-launcher -l" and launch the sandbox-empty-inline.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Only the "Test passes if there is no text 'FAIL' below" is displayed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that user agent is unable to use javascript internal when sandbox is empty." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="sandbox-empty-int">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of sandbox-empty-int.wgt with the command :"wrt-launcher -l" and uninstall the sandbox-empty-int.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/sandbox-empty-int.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of sandbox-empty-int.wgt with the command :"wrt-launcher -l" and launch the sandbox-empty-int.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Only the "Test passes if there is no text 'FAIL' below" is displayed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the resources works well when sandbox is allow-same-origin allow-scripts." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P3" id="sandbox-same-origin-allow-scripts">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of sandbox-same-origin-allow-scripts.wgt with the command :"wrt-launcher -l" and uninstall the sandbox-same-origin-allow-scripts.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/sandbox-same-origin-allow-scripts.wgt</step_desc>
+ <expected>The widget application can be installed.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of sandbox-same-origin-allow-scripts.wgt with the command :"wrt-launcher -l" and launch the sandbox-same-origin-allow-scripts.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The "Pass -- The script of this page is loaded" "Pass -- The script in this widget is loaded" and "Pass -- The script on other origin is loaded" are displayed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent can only use the specific external resource when default-src is cross-origin." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="default-src_cross_origin">
+ <description>
+ <pre_condition>Make sure the device can access to the network.</pre_condition>
+ <post_condition>Get the 'application id' of default-src_cross_origin.wgt with the command :"wrt-launcher -l" and uninstall the default-src_cross_origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_cross_origin.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of default-src_cross_origin.wgt with the command :"wrt-launcher -l" and launch the default-src_cross_origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The first two lines have the same font style and different from the third line, two "PASS" are displayed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent can only use the internal resource when default-src is self." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="default-src_self">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of default-src_self.wgt with the command :"wrt-launcher -l" and uninstall the default-src_self.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/default-src_self.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of default-src_self.wgt with the command :"wrt-launcher -l" and launch the default-src_self.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>The two lines are different in font,four filled blue squares and one empty frame are displayed, text "PASS" is in the first blue square.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent can only use the specific external image resource when img-src is cross-origin." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="img-src_cross_origin">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of img-src_cross_origin.wgt with the command :"wrt-launcher -l" and uninstall the img-src_cross_origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/img-src_cross_origin.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of img-src_cross_origin.wgt with the command :"wrt-launcher -l" and launch the img-src_cross_origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Two filled green squares are displayed and no red square on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is able to use all audio resources when media-src is *" status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="media-src_asterisk">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of media-src_asterisk.wgt with the command :"wrt-launcher -l" and uninstall the media-src_asterisk.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/media-src_asterisk.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of media-src_asterisk.wgt with the command :"wrt-launcher -l" and launch the media-src_asterisk.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Two media files are displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent can only use the specific external resource when media-src is cross-origin." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="media-src_cross_origin">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of media-src_cross_origin.wgt with the command :"wrt-launcher -l" and uninstall the media-src_cross_origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/media-src_cross_origin.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of media-src_cross_origin.wgt with the command :"wrt-launcher -l" and launch the media-src_cross_origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A media file is displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent can only use the internal media resource when media-src is 'self'." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="media-src_self">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of media-src_self.wgt with the command :"wrt-launcher -l" and uninstall the media-src_self.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/media-src_self.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of media-src_self.wgt with the command :"wrt-launcher -l" and launch the media-src_self.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed under a media file on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is able to use all image resources when object-src is *." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="object-src_asterisk">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of object-src_asterisk.wgt with the command :"wrt-launcher -l" and uninstall the object-src_asterisk.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/object-src_asterisk.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of object-src_asterisk.wgt with the command :"wrt-launcher -l" and launch the object-src_asterisk.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A filled green square and a filled blue square are displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent can only use the specific external image resource when object-src is cross-origin." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="object-src_cross_origin">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of object-src_cross_origin.wgt with the command :"wrt-launcher -l" and uninstall the object-src_cross_origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/object-src_cross_origin.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of object-src_cross_origin.wgt with the command :"wrt-launcher -l" and launch the object-src_cross_origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Two filled green squares are displayed and no red square on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is unable to use image resource when object-src is 'none'." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="object-src_none">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of object-src_none.wgt with the command :"wrt-launcher -l" and uninstall the object-src_none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/object-src_none.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of object-src_none.wgt with the command :"wrt-launcher -l" and launch the object-src_none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>No red square on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent can only use the internal image resource when object-src is 'self'." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="object-src_self">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of object-src_self.wgt with the command :"wrt-launcher -l" and uninstall the object-src_self.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/object-src_self.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of object-src_self.wgt with the command :"wrt-launcher -l" and launch the object-src_self.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A filled blue square is displayed and no red square on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is unable to use the inline script resource when 'unsafe-inline' is not in script-src." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="script-src_cross_origin">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of script-src_cross_origin.wgt with the command :"wrt-launcher -l" and uninstall the script-src_cross_origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/script-src_cross_origin.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of script-src_cross_origin.wgt with the command :"wrt-launcher -l" and launch the script-src_cross_origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed and no "FAIL" on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent can only use the specific script resource when script-src is cross-origin unsafe-inline." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="script-src_cross_origin_inline">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of script-src_cross_origin_inline.wgt with the command :"wrt-launcher -l" and uninstall the script-src_cross_origin_inline.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/script-src_cross_origin_inline.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of script-src_cross_origin_inline.wgt with the command :"wrt-launcher -l" and launch the script-src_cross_origin_inline.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is able to use the eval script resource when default-src is unsafe-eval." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="script-src_inline_eval">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of script-src_inline_eval.wgt with the command :"wrt-launcher -l" and uninstall the script-src_inline_eval.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/script-src_inline_eval.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of script-src_inline_eval.wgt with the command :"wrt-launcher -l" and launch the script-src_inline_eval.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if internal script works well when script-src is self unsafe-inline." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="script-src_self_unsafe_inline">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of script-src_self_unsafe_inline.wgt with the command :"wrt-launcher -l" and uninstall the script-src_self_unsafe_inline.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/script-src_self_unsafe_inline.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of script-src_self_unsafe_inline.wgt with the command :"wrt-launcher -l" and launch the script-src_self_unsafe_inline.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent can only use the inline script resource when script-src is only unsafe-inline." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="script-src_unsafe_inline">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of script-src_unsafe_inline.wgt with the command :"wrt-launcher -l" and uninstall the script-src_unsafe_inline.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/script-src_unsafe_inline.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of script-src_unsafe_inline.wgt with the command :"wrt-launcher -l" and launch the script-src_unsafe_inline.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>Four "PASS" and an empty frame are displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is able to use all style resources when style-src is *." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="style-src_asterisk">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of style-src_asterisk.wgt with the command :"wrt-launcher -l" and uninstall the style-src_asterisk.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/style-src_asterisk.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of style-src_asterisk.wgt with the command :"wrt-launcher -l" and launch the style-src_asterisk.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed under a blue square.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent can only use the specific external style resource when style-src is cross origin." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="style-src_cross_origin">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of style-src_cross_origin.wgt with the command :"wrt-launcher -l" and uninstall the style-src_cross_origin.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/style-src_cross_origin.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of style-src_cross_origin.wgt with the command :"wrt-launcher -l" and launch the style-src_cross_origin.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is unable to use style resource when style-src is none." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="style-src_none">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of style-src_none.wgt with the command :"wrt-launcher -l" and uninstall the style-src_none.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/style-src_none.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of style-src_none.wgt with the command :"wrt-launcher -l" and launch the style-src_none.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent can only use the internal style resource when style-src is self." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="style-src_self">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of style-src_self.wgt with the command :"wrt-launcher -l" and uninstall the style-src_self.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/style-src_self.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of style-src_self.wgt with the command :"wrt-launcher -l" and launch the style-src_self.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed under a blue square.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if user agent is able to use the inline style resource when style-src is unsafe-inline." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="style-src_unsafe_inline">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Get the 'application id' of style-src_unsafe_inline.wgt with the command :"wrt-launcher -l" and uninstall the style-src_unsafe_inline.wgt with the command :"wrt-installer -un 'application id'".</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/style-src_unsafe_inline.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of style-src_unsafe_inline.wgt with the command :"wrt-launcher -l" and launch the style-src_unsafe_inline.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed under a green square.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if report-uri can post one violation message to cgi correctly when csp policy is content-security-policy ." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="report-uri-single-violated">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Uninstall the widget with the command: wrt-installer -up /opt/tct-ext02-wrt-tests/report-uri-single-violated.wgt.</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/report-uri-single-violated.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of report-uri-single-violated.wgt with the command :"wrt-launcher -l" and launch the report-uri-single-violated.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed under the words '1.Csp policy worked well if text "PASS" appears below.'.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Notice the log in time on the screen, and open log file with the command: cat /tmp/csp-report.log</step_desc>
+ <expected>At the end of the file, the last record's "Time" is the same as the "log in" time. </expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if report-uri can post one violation message to cgi correctly when csp policy is content-security-policy-report-only ." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="report-uri-report-only-single-violated">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Uninstall the widget with the command: wrt-installer -up /opt/tct-ext02-wrt-tests/report-uri-report-only-single-violated.wgt.</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/report-uri-report-only-single-violated.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of report-uri-report-only-single-violated.wgt with the command :"wrt-launcher -l" and launch the report-uri-report-only-single-violated.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed under the words '1.Csp policy worked well if text "PASS" appears below.'.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Notice the log in time on the screen, and open log file with the command: cat /tmp/csp-report.log</step_desc>
+ <expected>At the end of the file, the last record's "Time" is the same as the "log in" time. </expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if report-uri can post double violation message to cgi correctly when csp policy is content-security-policy ." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="report-uri-double-violated">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Uninstall the widget with the command: wrt-installer -up /opt/tct-ext02-wrt-tests/report-uri-double-violated.wgt.</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/report-uri-double-violated.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of report-uri-double-violated.wgt with the command :"wrt-launcher -l" and launch the report-uri-double-violated.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A "PASS" is displayed under the words '1.Csp policy worked well if text "PASS" appears below.'.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Notice the log in time on the screen, and open log file with the command: cat /tmp/csp-report.log</step_desc>
+ <expected>At the end of the file, the last two records' "Time" are the same as the "log in" time. </expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if report-uri can post double violation message to cgi correctly when csp policy is content-security-policy-report-only ." status="approved" component="Web/Runtime/ConfigExtension" execution_type="manual" priority="P2" id="report-uri-report-only-double-violated">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition>Uninstall the widget with the command: wrt-installer -up /opt/tct-ext02-wrt-tests/report-uri-report-only-double-violated.wgt.</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install the widget with the command :wrt-installer -i /opt/tct-ext02-wrt-tests/report-uri-report-only-double-violated.wgt</step_desc>
+ <expected>The widget application is installed successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Get the 'application id' of report-uri-report-only-double-violated.wgt with the command :"wrt-launcher -l" and launch the report-uri-report-only-double-violated.wgt with the command :"wrt-launcher -s 'application id'"</step_desc>
+ <expected>A popup with "PASS" displayed on the screen.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Click "OK" button on the popup</step_desc>
+ <expected>A "PASS" is displayed under the words '2.Csp policy worked well if text "PASS" appears below.'.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Notice the log in time on the screen, and open log file with the command: cat /tmp/csp-report.log</step_desc>
+ <expected>At the end of the file, the last two records' "Time" are the same as the "log in" time. </expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0241" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
</suite>
</test_definition>