<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
<test_definition>
<suite name="tct-feedback-tizen-tests" extension="crosswalk" category="Tizen Web Device APIs">
- <set name="Feedback" type="js">
+ <set name="Feedback_mobile" type="js">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
+ </capabilities>
<testcase purpose="Check if interface FeedbackManagerObject exists, it should not exists." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P3" id="FeedbackManagerObject_notexist">
<description>
<test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManagerObject_notexist.html</test_script_entry>
</spec>
</specs>
</testcase>
+ <testcase purpose="Check if method stop exists." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P0" id="FeedbackManager_stop_exist">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="stop" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check using stop() method with extra argument." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P1" id="FeedbackManager_stop_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_extra_argument.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="stop" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
+ <set name="Feedback_mobile_vibrate" type="js">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>MOBILE</value></capability>
+ <capability name="http://tizen.org/feature/feedback.vibration"/>
+ </capabilities>
<testcase purpose="Check if play() method plays type of reaction that is defined." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_play_with_type">
+ <description>
+ <pre_condition>Device should be set to sound mode in settings.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check if the device reacts as vibration after press [Run] button in the test case.</step_desc>
+ <expected>The device should be vibrated.</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_with_type.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="play" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if stop() method stops type of reaction." component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_stop">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Check if the device reacts as vibration after press [Run] button in the test case.</step_desc>
+ <expected>No vibration is from the device.</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="stop" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
+ <set name="Feedback_wearable" type="js">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+ </capabilities>
+ <testcase purpose="Check if interface FeedbackManagerObject exists, it should not exists." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P3" id="FeedbackManagerObject_notexist">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManagerObject_notexist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManagerObject" usage="true" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if FeedbackManager object is extendable." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P3" id="FeedbackManager_extend">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_extend.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" usage="true" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if object FeedbackManager exists in tizen." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P3" id="FeedbackManager_in_tizen">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_in_tizen.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" usage="true" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if isPatternSupported() method checks if the pattern is supported." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P1" id="FeedbackManager_isPatternSupported">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_isPatternSupported.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="isPatternSupported" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method isPatternSupported exists." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P0" id="FeedbackManager_isPatternSupported_exist">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_isPatternSupported_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="isPatternSupported" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if isPatternSupported() method throws exception when argument is missing." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P2" id="FeedbackManager_isPatternSupported_misarg">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_isPatternSupported_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="isPatternSupported" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if isPatternSupported() with incorrect pattern argument throws an exception." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P2" id="FeedbackManager_isPatternSupported_pattern_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_isPatternSupported_pattern_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="isPatternSupported" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if isPatternSupported() with incorrect type argument throws an exception." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P2" id="FeedbackManager_isPatternSupported_type_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_isPatternSupported_type_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="isPatternSupported" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if interface FeedbackManager exists, it should not exists." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P3" id="FeedbackManager_notexist">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_notexist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" usage="true" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if play() method plays type of reaction that is pre-defined." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_play">
+ <description>
+ <pre_condition>Device should be set to sound mode in settings.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check if the device reacts as sound after press [Run] button in the test case.</step_desc>
+ <expected>The sound can be listened from the device.</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="play" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method play exists." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P0" id="FeedbackManager_play_exist">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="play" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if play() method throws exception when argument is missing." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P2" id="FeedbackManager_play_misarg">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="play" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if play() with incorrect pattern argument throws an exception." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P2" id="FeedbackManager_play_pattern_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_pattern_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="play" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if play() with incorrect type argument throws an exception." component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P2" id="FeedbackManager_play_type_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_type_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="play" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if play() method plays type of reaction that is defined." component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_play_with_type">
<description>
<pre_condition>Device should be set to sound mode in settings.</pre_condition>
<steps>
</specs>
</testcase>
</set>
+ <set name="Feedback_iot" type="js">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile">
+ <value>COMMON</value>
+ </capability>
+ </capabilities>
+ <testcase purpose="Check if interface FeedbackManagerObject exists, it should not exists." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P3" id="FeedbackManagerObject_notexist">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManagerObject_notexist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManagerObject" usage="true" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if FeedbackManager object is extendable." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P3" id="FeedbackManager_extend">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_extend.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" usage="true" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if object FeedbackManager exists in tizen." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P3" id="FeedbackManager_in_tizen">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_in_tizen.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" usage="true" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if isPatternSupported() method checks if the pattern is supported." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P1" id="FeedbackManager_isPatternSupported">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_isPatternSupported.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="isPatternSupported" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method isPatternSupported exists." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P0" id="FeedbackManager_isPatternSupported_exist">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_isPatternSupported_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="isPatternSupported" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if isPatternSupported() method throws exception when argument is missing." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P2" id="FeedbackManager_isPatternSupported_misarg">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_isPatternSupported_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="isPatternSupported" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if isPatternSupported() with incorrect pattern argument throws an exception." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P2" id="FeedbackManager_isPatternSupported_pattern_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_isPatternSupported_pattern_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="isPatternSupported" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if isPatternSupported() with incorrect type argument throws an exception." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P2" id="FeedbackManager_isPatternSupported_type_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_isPatternSupported_type_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="isPatternSupported" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if interface FeedbackManager exists, it should not exists." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P3" id="FeedbackManager_notexist">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_notexist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" usage="true" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if play() method plays type of reaction that is pre-defined." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_play">
+ <description>
+ <pre_condition>Device should be set to sound mode in settings.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check if the device reacts as sound after press [Run] button in the test case.</step_desc>
+ <expected>The sound can be listened from the device.</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="play" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if method play exists." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P0" id="FeedbackManager_play_exist">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="play" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if play() method throws exception when argument is missing." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P2" id="FeedbackManager_play_misarg">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_misarg.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="play" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if play() with incorrect pattern argument throws an exception." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P2" id="FeedbackManager_play_pattern_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_pattern_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="play" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if play() with incorrect type argument throws an exception." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P2" id="FeedbackManager_play_type_TypeMismatch">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_type_TypeMismatch.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="play" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+
+ <testcase purpose="Check if method stop exists." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P0" id="FeedbackManager_stop_exist">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_exist.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="stop" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check using stop() method with extra argument." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="auto" priority="P1" id="FeedbackManager_stop_extra_argument">
+ <description>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop_extra_argument.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="stop" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
+ <set name="Feedback_iot_vibrate" type="js">
+ <capabilities>
+ <capability name="http://tizen.org/feature/profile">
+ <value>COMMON</value>
+ </capability>
+ <capability name="http://tizen.org/feature/feedback.vibration"/>
+ </capabilities>
+ <testcase purpose="Check if play() method plays type of reaction that is defined." type="compliance" status="approved" component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_play_with_type">
+ <description>
+ <pre_condition>Device should be set to sound mode in settings.</pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check if the device reacts as vibration after press [Run] button in the test case.</step_desc>
+ <expected>The device should be vibrated.</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_play_with_type.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="stop" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check if stop() method stops type of reaction." component="Tizen Device APIs/TBD/Feedback" execution_type="manual" priority="P1" id="FeedbackManager_stop">
+ <description>
+ <steps>
+ <step order="1">
+ <step_desc>Check if the device reacts as vibration after press [Run] button in the test case.</step_desc>
+ <expected>No vibration is from the device.</expected>
+ </step>
+ </steps>
+ <test_script_entry>/opt/tct-feedback-tizen-tests/feedback/FeedbackManager_stop.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion interface="FeedbackManager" element_type="method" element_name="stop" specification="Feedback" section="Graphics" category="Tizen Device API Specifications"/>
+ <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/feedback.html</spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
</suite>
</test_definition>
\ No newline at end of file