[common][inputdevice][modify tests.xml] 43/126943/1
authormengli.zhang <mengli.zhang@samsung.com>
Tue, 25 Apr 2017 22:13:29 +0000 (18:13 -0400)
committermengli.zhang <mengli.zhang@samsung.com>
Tue, 25 Apr 2017 22:13:39 +0000 (18:13 -0400)
Change-Id: I9836921739263f071210856db110875a0ea32b2a
Signed-off-by: mengli.zhang <mengli.zhang@samsung.com>
common/tct-inputdevice-tizen-tests/tests.full.xml
common/tct-inputdevice-tizen-tests/tests.xml

index c294b0adb35ae2ed761047ff20d8cb4c2cbf9b3e..1cbc0a262a8ebcba55fd7301e164416108759a65 100755 (executable)
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if registerKey() method correctly registers an input device key" type="compliance" onload_delay="120" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_registerKey">
-        <description>
-          <pre_condition>Prepare an input device which has VolumeUp key.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Press Run button.</step_desc>
-              <expected>The event of VolumeUp key is registered.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
-              <expected>Test frame is enabled.</expected>
-            </step>
-            <step order="3">
-              <step_desc>Push [VolumeUp] button on the input device.</step_desc>
-              <expected>The event of VolumeUp key is received successfully.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKey.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="InputDeviceManager" element_type="method" element_name="registerKey" specification="InputDevice" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/inputdevice.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if registerKeyBatch() method correctly throws exception when invalid type is inputted for errorCallback argument." type="compliance" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="auto" priority="P2" id="InputDeviceManager_registerKeyBatch_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch_errorCallback_TypeMismatch.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if registerKeyBatch() method correctly registers an input device key" type="compliance" onload_delay="120" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_registerKeyBatch">
-        <description>
-          <pre_condition>Prepare an input device which has VolumeUp key and VolumeDown key.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Press Run button.</step_desc>
-              <expected>The event of VolumeUp key is registered.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
-              <expected>Test frame is enabled.</expected>
-            </step>
-            <step order="3">
-              <step_desc>Push [VolumeUp] and [VolumeDown] button on the input device.</step_desc>
-              <expected>The event of VolumeUp/VolumeDown key is received successfully.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="InputDeviceManager" element_type="method" element_name="registerKeyBatch" specification="InputDevice" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/inputdevice.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if registerKeyBatch() method throws exception InvalidValuesError when the given keyName is empty" type="compliance" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="auto" priority="P2" id="InputDeviceManager_registerKeyBatch_InvalidValuesError_emptyString">
         <description>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch_InvalidValuesError_emptyString.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if unregisterKeyBatch() method correctly unregisters an input device key" type="compliance" onload_delay="120" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_unregisterKeyBatch">
-        <description>
-          <pre_condition>Prepare an input device which has VolumeUp key and VolumeDown key.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Press Run button.</step_desc>
-              <expected>The event of VolumeUp key is registered.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
-              <expected>Test frame is enabled.</expected>
-            </step>
-            <step order="3">
-              <step_desc>Push [VolumeUp] and [VolumeDown] button on the input device.</step_desc>
-              <expected>The event of VolumeUp key is NOT received successfully.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_unregisterKeyBatch.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="InputDeviceManager" element_type="method" element_name="unregisterKeyBatch" specification="InputDevice" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/inputdevice.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if unregisterKeyBatch() method throws exception InvalidValuesError when the given keyName is empty" type="compliance" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="auto" priority="P2" id="InputDeviceManager_unregisterKeyBatch_InvalidValuesError_emptyString">
         <description>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_unregisterKeyBatch_InvalidValuesError_emptyString.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if registerKey() method correctly registers an input device key" type="compliance" onload_delay="120" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_registerKey">
-        <description>
-          <pre_condition>Prepare an input device which has VolumeUp key.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Press Run button.</step_desc>
-              <expected>The event of VolumeUp key is registered.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
-              <expected>Test frame is enabled.</expected>
-            </step>
-            <step order="3">
-              <step_desc>Push [VolumeUp] button on the input device.</step_desc>
-              <expected>The event of VolumeUp key is received successfully.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKey.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="InputDeviceManager" element_type="method" element_name="registerKey" specification="InputDevice" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/inputdevice.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if registerKeyBatch() method correctly throws exception when invalid type is inputted for errorCallback argument." type="compliance" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="auto" priority="P2" id="InputDeviceManager_registerKeyBatch_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch_errorCallback_TypeMismatch.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if registerKeyBatch() method correctly registers an input device key" type="compliance" onload_delay="120" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_registerKeyBatch">
-        <description>
-          <pre_condition>Prepare an input device which has VolumeUp key and VolumeDown key.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Press Run button.</step_desc>
-              <expected>The event of VolumeUp key is registered.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
-              <expected>Test frame is enabled.</expected>
-            </step>
-            <step order="3">
-              <step_desc>Push [VolumeUp] and [VolumeDown] button on the input device.</step_desc>
-              <expected>The event of VolumeUp/VolumeDown key is received successfully.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="InputDeviceManager" element_type="method" element_name="registerKeyBatch" specification="InputDevice" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/inputdevice.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if registerKeyBatch() method throws exception InvalidValuesError when the given keyName is empty" type="compliance" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="auto" priority="P2" id="InputDeviceManager_registerKeyBatch_InvalidValuesError_emptyString">
         <description>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch_InvalidValuesError_emptyString.html</test_script_entry>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if unregisterKeyBatch() method correctly unregisters an input device key" type="compliance" onload_delay="120" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_unregisterKeyBatch">
-        <description>
-          <pre_condition>Prepare an input device which has VolumeUp key and VolumeDown key.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Press Run button.</step_desc>
-              <expected>The event of VolumeUp key is registered.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
-              <expected>Test frame is enabled.</expected>
-            </step>
-            <step order="3">
-              <step_desc>Push [VolumeUp] and [VolumeDown] button on the input device.</step_desc>
-              <expected>The event of VolumeUp key is NOT received successfully.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_unregisterKeyBatch.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion interface="InputDeviceManager" element_type="method" element_name="unregisterKeyBatch" specification="InputDevice" section="TBD" category="Tizen Device API Specifications"/>
-            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/inputdevice.html</spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
       <testcase purpose="Check if unregisterKeyBatch() method throws exception InvalidValuesError when the given keyName is empty" type="compliance" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="auto" priority="P2" id="InputDeviceManager_unregisterKeyBatch_InvalidValuesError_emptyString">
         <description>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_unregisterKeyBatch_InvalidValuesError_emptyString.html</test_script_entry>
         </specs>
       </testcase>
     </set>
+    <set name="InputDevice_volume" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/system/input.key.volume"><value>true</value></capability>
+      </capabilities>
+      <testcase purpose="Check if registerKey() method correctly registers an input device key" type="compliance" onload_delay="120" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_registerKey">
+        <description>
+          <pre_condition>Prepare an input device which has VolumeUp key.</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Press Run button.</step_desc>
+              <expected>The event of VolumeUp key is registered.</expected>
+            </step>
+            <step order="2">
+              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
+              <expected>Test frame is enabled.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Push [VolumeUp] button on the input device.</step_desc>
+              <expected>The event of VolumeUp key is received successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKey.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="InputDeviceManager" element_type="method" element_name="registerKey" specification="InputDevice" section="TBD" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/inputdevice.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if registerKeyBatch() method correctly registers an input device key" type="compliance" onload_delay="120" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_registerKeyBatch">
+        <description>
+          <pre_condition>Prepare an input device which has VolumeUp key and VolumeDown key.</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Press Run button.</step_desc>
+              <expected>The event of VolumeUp key is registered.</expected>
+            </step>
+            <step order="2">
+              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
+              <expected>Test frame is enabled.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Push [VolumeUp] and [VolumeDown] button on the input device.</step_desc>
+              <expected>The event of VolumeUp/VolumeDown key is received successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="InputDeviceManager" element_type="method" element_name="registerKeyBatch" specification="InputDevice" section="TBD" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/inputdevice.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if unregisterKeyBatch() method correctly unregisters an input device key" type="compliance" onload_delay="120" status="approved" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_unregisterKeyBatch">
+        <description>
+          <pre_condition>Prepare an input device which has VolumeUp key and VolumeDown key.</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Press Run button.</step_desc>
+              <expected>The event of VolumeUp key is registered.</expected>
+            </step>
+            <step order="2">
+              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
+              <expected>Test frame is enabled.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Push [VolumeUp] and [VolumeDown] button on the input device.</step_desc>
+              <expected>The event of VolumeUp key is NOT received successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_unregisterKeyBatch.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion interface="InputDeviceManager" element_type="method" element_name="unregisterKeyBatch" specification="InputDevice" section="TBD" category="Tizen Device API Specifications"/>
+            <spec_url>https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/inputdevice.html</spec_url>
+            <spec_statement>TBD</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+    </set>
   </suite>
 </test_definition>
index d14cdd3806197f8795ed2e21092c0e4eceba8f20..b6b086cf071246fc4e9595002c5f42ee6342197c 100755 (executable)
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if registerKey() method correctly registers an input device key" onload_delay="120" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_registerKey">
-        <description>
-          <pre_condition>Prepare an input device which has VolumeUp key.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Press Run button.</step_desc>
-              <expected>The event of VolumeUp key is registered.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
-              <expected>Test frame is enabled.</expected>
-            </step>
-            <step order="3">
-              <step_desc>Push [VolumeUp] button on the input device.</step_desc>
-              <expected>The event of VolumeUp key is received successfully.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKey.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check if registerKeyBatch() method correctly throws exception when invalid type is inputted for errorCallback argument." component="TizenAPI/TBD/InputDevice" execution_type="auto" priority="P2" id="InputDeviceManager_registerKeyBatch_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch_errorCallback_TypeMismatch.html</test_script_entry>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch_keyNames_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if registerKeyBatch() method correctly registers an input device key" onload_delay="120" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_registerKeyBatch">
-        <description>
-          <pre_condition>Prepare an input device which has VolumeUp key and VolumeDown key.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Press Run button.</step_desc>
-              <expected>The event of VolumeUp key is registered.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
-              <expected>Test frame is enabled.</expected>
-            </step>
-            <step order="3">
-              <step_desc>Push [VolumeUp] and [VolumeDown] button on the input device.</step_desc>
-              <expected>The event of VolumeUp/VolumeDown key is received successfully.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check if registerKeyBatch() method throws exception InvalidValuesError when the given keyName is empty" component="TizenAPI/TBD/InputDevice" execution_type="auto" priority="P2" id="InputDeviceManager_registerKeyBatch_InvalidValuesError_emptyString">
         <description>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch_InvalidValuesError_emptyString.html</test_script_entry>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_unregisterKeyBatch_keyNames_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if unregisterKeyBatch() method correctly unregisters an input device key" onload_delay="120" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_unregisterKeyBatch">
-        <description>
-          <pre_condition>Prepare an input device which has VolumeUp key and VolumeDown key.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Press Run button.</step_desc>
-              <expected>The event of VolumeUp key is registered.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
-              <expected>Test frame is enabled.</expected>
-            </step>
-            <step order="3">
-              <step_desc>Push [VolumeUp] and [VolumeDown] button on the input device.</step_desc>
-              <expected>The event of VolumeUp key is NOT received successfully.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_unregisterKeyBatch.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check if unregisterKeyBatch() method throws exception InvalidValuesError when the given keyName is empty" component="TizenAPI/TBD/InputDevice" execution_type="auto" priority="P2" id="InputDeviceManager_unregisterKeyBatch_InvalidValuesError_emptyString">
         <description>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_unregisterKeyBatch_InvalidValuesError_emptyString.html</test_script_entry>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if registerKey() method correctly registers an input device key" onload_delay="120" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_registerKey">
-        <description>
-          <pre_condition>Prepare an input device which has VolumeUp key.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Press Run button.</step_desc>
-              <expected>The event of VolumeUp key is registered.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
-              <expected>Test frame is enabled.</expected>
-            </step>
-            <step order="3">
-              <step_desc>Push [VolumeUp] button on the input device.</step_desc>
-              <expected>The event of VolumeUp key is received successfully.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKey.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check if registerKeyBatch() method correctly throws exception when invalid type is inputted for errorCallback argument." component="TizenAPI/TBD/InputDevice" execution_type="auto" priority="P2" id="InputDeviceManager_registerKeyBatch_errorCallback_TypeMismatch">
         <description>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch_errorCallback_TypeMismatch.html</test_script_entry>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch_keyNames_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if registerKeyBatch() method correctly registers an input device key" onload_delay="120" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_registerKeyBatch">
-        <description>
-          <pre_condition>Prepare an input device which has VolumeUp key and VolumeDown key.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Press Run button.</step_desc>
-              <expected>The event of VolumeUp key is registered.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
-              <expected>Test frame is enabled.</expected>
-            </step>
-            <step order="3">
-              <step_desc>Push [VolumeUp] and [VolumeDown] button on the input device.</step_desc>
-              <expected>The event of VolumeUp/VolumeDown key is received successfully.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check if registerKeyBatch() method throws exception InvalidValuesError when the given keyName is empty" component="TizenAPI/TBD/InputDevice" execution_type="auto" priority="P2" id="InputDeviceManager_registerKeyBatch_InvalidValuesError_emptyString">
         <description>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch_InvalidValuesError_emptyString.html</test_script_entry>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_unregisterKeyBatch_keyNames_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if unregisterKeyBatch() method correctly unregisters an input device key" onload_delay="120" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_unregisterKeyBatch">
-        <description>
-          <pre_condition>Prepare an input device which has VolumeUp key and VolumeDown key.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Press Run button.</step_desc>
-              <expected>The event of VolumeUp key is registered.</expected>
-            </step>
-            <step order="2">
-              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
-              <expected>Test frame is enabled.</expected>
-            </step>
-            <step order="3">
-              <step_desc>Push [VolumeUp] and [VolumeDown] button on the input device.</step_desc>
-              <expected>The event of VolumeUp key is NOT received successfully.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_unregisterKeyBatch.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check if unregisterKeyBatch() method throws exception InvalidValuesError when the given keyName is empty" component="TizenAPI/TBD/InputDevice" execution_type="auto" priority="P2" id="InputDeviceManager_unregisterKeyBatch_InvalidValuesError_emptyString">
         <description>
           <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_unregisterKeyBatch_InvalidValuesError_emptyString.html</test_script_entry>
         </description>
       </testcase>
     </set>
+    <set name="InputDevice_volume" type="js">
+      <capabilities>
+        <capability name="http://tizen.org/system/input.key.volume"><value>true</value></capability>
+      </capabilities>
+      <testcase purpose="Check if registerKey() method correctly registers an input device key" onload_delay="120" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_registerKey">
+        <description>
+          <pre_condition>Prepare an input device which has VolumeUp key.</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Press Run button.</step_desc>
+              <expected>The event of VolumeUp key is registered.</expected>
+            </step>
+            <step order="2">
+              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
+              <expected>Test frame is enabled.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Push [VolumeUp] button on the input device.</step_desc>
+              <expected>The event of VolumeUp key is received successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKey.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if registerKeyBatch() method correctly registers an input device key" onload_delay="120" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_registerKeyBatch">
+        <description>
+          <pre_condition>Prepare an input device which has VolumeUp key and VolumeDown key.</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Press Run button.</step_desc>
+              <expected>The event of VolumeUp key is registered.</expected>
+            </step>
+            <step order="2">
+              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
+              <expected>Test frame is enabled.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Push [VolumeUp] and [VolumeDown] button on the input device.</step_desc>
+              <expected>The event of VolumeUp/VolumeDown key is received successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_registerKeyBatch.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if unregisterKeyBatch() method correctly unregisters an input device key" onload_delay="120" component="TizenAPI/TBD/InputDevice" execution_type="manual" priority="P1" id="InputDeviceManager_unregisterKeyBatch">
+        <description>
+          <pre_condition>Prepare an input device which has VolumeUp key and VolumeDown key.</pre_condition>
+          <steps>
+            <step order="1">
+              <step_desc>Press Run button.</step_desc>
+              <expected>The event of VolumeUp key is registered.</expected>
+            </step>
+            <step order="2">
+              <step_desc>Touch the white space under Run button to enable the test frame.</step_desc>
+              <expected>Test frame is enabled.</expected>
+            </step>
+            <step order="3">
+              <step_desc>Push [VolumeUp] and [VolumeDown] button on the input device.</step_desc>
+              <expected>The event of VolumeUp key is NOT received successfully.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-inputdevice-tizen-tests/inputdevice/InputDeviceManager_unregisterKeyBatch.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
   </suite>
 </test_definition>