[common][humanactivitymonitor][sync the latest tcs from 2.3.2] 37/137037/1
authoryuanzhongyuan <zy123.yuan@samsung.com>
Tue, 4 Jul 2017 07:41:32 +0000 (15:41 +0800)
committeryuanzhongyuan <zy123.yuan@samsung.com>
Tue, 4 Jul 2017 07:41:32 +0000 (15:41 +0800)
Change-Id: I27b0784a1348eaaac75f4a91614450baeff8baec

39 files changed:
common/tct-humanactivitymonitor-tizen-tests/config.xml
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_altitude_attribute.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_errorRange_attribute.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_latitude_attribute.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_longitude_attribute.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_speed_attribute.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_timestamp_attribute.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_addActivityRecognitionListener_STATIONARY.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_NotSupportedError.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_errorCallback_TypeMismatch.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_errorCallback_invalid_cb.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_TypeMismatch.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_empty.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_TypeMismatch.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_invalid_cb.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_HRM.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_with_errorCallback.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_NotSupportedError.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_option_empty.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_with_option.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_NotSupportedError.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS_default.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM_default.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_sampleInterval_type_GPS.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_sampleInterval_type_GPS_default.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityReadRecorderSuccessCallback_onsuccess.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_endTime_attribute.html [deleted file]
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_startTime_attribute.html [deleted file]
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_endTime_attribute.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_startTime_attribute.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_status_attribute.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_status_attribute.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_timestamp_attribute.html
common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/support/humanactivitymonitor_common.js
common/tct-humanactivitymonitor-tizen-tests/tests.xml

index 331c850c2359c479e51cdc9bc9b870c46c623f42..3b0d3e95ee5d441f26f0c8aa21cd41fc584a486f 100755 (executable)
@@ -3,6 +3,14 @@
   <name>tct-humanactivitymonitor-tizen-tests</name>
   <tizen:privilege name="http://tizen.org/privilege/healthinfo"/>
   <tizen:privilege name="http://tizen.org/privilege/location"/>
+  <feature name="http://tizen.org/feature/sensor.barometer"/>
+  <feature name="http://tizen.org/feature/humanactivitymonitor"/>
+  <feature name="http://tizen.org/feature/sensor.heart_rate_monitor"/>
+  <feature name="http://tizen.org/feature/sensor.photometer"/>
+  <feature name="http://tizen.org/feature/sensor.wrist_up"/>
+  <feature name="http://tizen.org/feature/location.batch"/>
+  <feature name="http://tizen.org/feature/sensor.activity_recognition"/>
+  <feature name="http://tizen.org/feature/sensor.sleep_monitor"/>
   <icon src="icon.png" height="117" width="117"/>
   <tizen:application id="api1human0.WebAPItizenHumanTests" package="api1human0" required_version="3.0"/>
   <tizen:setting screen-orientation="landscape" />
index 8f3b29b2e32fecaa47b8579537ea3f09cec6e5d1..699793e8b076f2b1fd66abf5cdf94467e80a748d 100755 (executable)
@@ -49,13 +49,13 @@ t.step(function () {
         assert_unreached("getHumanActivityDataError is called" + error.name);\r
     });\r
 \r
-    getHumanActivityDataSuccess = t.step_func(function (gpsInfo) {\r
-        check_readonly(gpsInfo, "altitude", gpsInfo.altitude, "double", gpsInfo.altitude + 10);\r
+    getHumanActivityDataSuccess = t.step_func(function (data) {\r
+        var gpsInfo = data.gpsInfo;\r
+        check_readonly(gpsInfo[0], "altitude", gpsInfo[0].altitude, "double", gpsInfo[0].altitude + 10);\r
         t.done();\r
     });\r
 \r
-    tizen.humanactivitymonitor.start(humanActivityType);\r
-    tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);\r
+    tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);\r
 });\r
 \r
 </script>\r
index 5944bb7a2b939c3188b47e5554d2c7e6738c7d6f..6de27ee4244ec523085c85b435716a76a6cbad1f 100755 (executable)
@@ -49,13 +49,13 @@ t.step(function () {
         assert_unreached("getHumanActivityDataError is called" + error.name);\r
     });\r
 \r
-    getHumanActivityDataSuccess = t.step_func(function (gpsInfo) {\r
-        check_readonly(gpsInfo, "errorRange", gpsInfo.errorRange, "long", gpsInfo.errorRange + 10);\r
+    getHumanActivityDataSuccess = t.step_func(function (data) {\r
+        var gpsInfo = data.gpsInfo;\r
+        check_readonly(gpsInfo[0], "errorRange", gpsInfo[0].errorRange, "long", gpsInfo[0].errorRange + 10);\r
         t.done();\r
     });\r
 \r
-    tizen.humanactivitymonitor.start(humanActivityType);\r
-    tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);\r
+    tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);\r
 });\r
 \r
 </script>\r
index 66fc4648a976639f59e2d9a1cd326b5e7970b43e..31388f6dd96f7fbef3b3f91dddbc15a412ff03e0 100755 (executable)
@@ -49,13 +49,13 @@ t.step(function () {
         assert_unreached("getHumanActivityDataError is called" + error.name);\r
     });\r
 \r
-    getHumanActivityDataSuccess = t.step_func(function (gpsInfo) {\r
-        check_readonly(gpsInfo, "latitude", gpsInfo.latitude, "double", gpsInfo.latitude + 10);\r
+    getHumanActivityDataSuccess = t.step_func(function (data) {\r
+        var gpsInfo = data.gpsInfo;\r
+        check_readonly(gpsInfo[0], "latitude", gpsInfo[0].latitude, "double", gpsInfo[0].latitude + 10);\r
         t.done();\r
     });\r
 \r
-    tizen.humanactivitymonitor.start(humanActivityType);\r
-    tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);\r
+    tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);\r
 });\r
 \r
 </script>\r
index 7cc37b8da44ebf335fd5638d2801bc099c6acb34..0d079d2dbf8160161f0cc68758887207b94de4d4 100755 (executable)
@@ -49,13 +49,13 @@ t.step(function () {
         assert_unreached("getHumanActivityDataError is called" + error.name);\r
     });\r
 \r
-    getHumanActivityDataSuccess = t.step_func(function (gpsInfo) {\r
-        check_readonly(gpsInfo, "longitude", gpsInfo.longitude, "double", gpsInfo.longitude + 10);\r
+    getHumanActivityDataSuccess = t.step_func(function (data) {\r
+        var gpsInfo = data.gpsInfo;\r
+        check_readonly(gpsInfo[0], "longitude", gpsInfo[0].longitude, "double", gpsInfo[0].longitude + 10);\r
         t.done();\r
     });\r
 \r
-    tizen.humanactivitymonitor.start(humanActivityType);\r
-    tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);\r
+    tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);\r
 });\r
 \r
 </script>\r
index 067984a2c65fec4a274ca51aca91d737c37801f2..e980ab49074e39fc9f720972815f983f8f773063 100755 (executable)
@@ -49,13 +49,13 @@ t.step(function () {
         assert_unreached("getHumanActivityDataError is called" + error.name);\r
     });\r
 \r
-    getHumanActivityDataSuccess = t.step_func(function (gpsInfo) {\r
-        check_readonly(gpsInfo, "speed", gpsInfo.speed, "double", gpsInfo.speed + 10);\r
+    getHumanActivityDataSuccess = t.step_func(function (data) {\r
+        var gpsInfo = data.gpsInfo;\r
+        check_readonly(gpsInfo[0], "speed", gpsInfo[0].speed, "double", gpsInfo[0].speed + 10);\r
         t.done();\r
     });\r
 \r
-    tizen.humanactivitymonitor.start(humanActivityType);\r
-    tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);\r
+    tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);\r
 });\r
 \r
 </script>\r
index f34df320db1b63eef04d8c6fc4cb2a216883dd50..01df2faf61da9c14f9f2eabf10a8d0233c242d86 100755 (executable)
@@ -49,13 +49,13 @@ t.step(function () {
         assert_unreached("getHumanActivityDataError is called" + error.name);\r
     });\r
 \r
-    getHumanActivityDataSuccess = t.step_func(function (gpsInfo) {\r
-        check_readonly(gpsInfo, "timestamp", gpsInfo.timestamp, "long", gpsInfo.timestamp + 10);\r
+    getHumanActivityDataSuccess = t.step_func(function (data) {\r
+        var gpsInfo = data.gpsInfo;\r
+        check_readonly(gpsInfo[0], "timestamp", gpsInfo[0].timestamp, "long", gpsInfo[0].timestamp + 10);\r
         t.done();\r
     });\r
 \r
-    tizen.humanactivitymonitor.start(humanActivityType);\r
-    tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);\r
+    tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);\r
 });\r
 \r
 </script>\r
index 9ae938ed0366de9da44df4c70863a0fcbe822efd..c701787a607dc4fa89362a5bfb5347ce23606fb8 100755 (executable)
@@ -37,11 +37,11 @@ Authors:
 //==== STEP Press run button, then keep the device stationary
 //==== EXPECT Pass
 //==== TEST_CRITERIA MR MMINA CBT
-//==== ONLOAD_DELAY 60
+//==== ONLOAD_DELAY 120
 
-setup({"timeout": 60000});
+setup({"timeout": 120000});
 
-var t = async_test(document.title, {"timeout": 60000}), returnedValue = null, humanActivityType = "STATIONARY", listener;
+var t = async_test(document.title, {"timeout": 120000}), returnedValue = null, humanActivityType = "STATIONARY", listener;
 
 t.step(function () {
     add_result_callback(function () {
index 201048efa71c440698b03bbe8cc7060a8710e781..e54fe7930b59aae3c8e61f223e0d14c8cec20a91 100755 (executable)
@@ -48,7 +48,7 @@ t.step(function () {
         assert_unreached("success callback should not be invoked");
     });
 
-    if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.pedometer")) {
+    /*if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.pedometer")) {
         assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
             tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, successCallback);
         }, "NotSupportedError exception should throw");
@@ -62,7 +62,7 @@ t.step(function () {
         assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
             tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);
         }, "NotSupportedError exception should throw");
-    }
+    }*/
     if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.barometer")) {
         assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
             tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback);
index bb0959194311450e90dbb38e13a0f118052c8f93..0fffdd9ef29f799048e1df961c3ae01e5f1d22b4 100755 (executable)
@@ -57,7 +57,7 @@ t.step(function () {
         exceptionName = conversionTable[i][1];
         assert_throws({name: exceptionName},
             function () {
-                tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, successCallback, errorCallback);
+                tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback, errorCallback);
             }, "Given incorrect error callback.");
     }
 
index 964a63b8377c29ed3a61467196868b3dda682382..e9bf9649f953e2fe09b8c07e350c8eaac5e648d9 100755 (executable)
@@ -56,7 +56,7 @@ t.step(function () {
 
     assert_throws(TYPE_MISMATCH_EXCEPTION,
         function () {
-            tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, successCallback, incorrectCallback);
+            tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback, incorrectCallback);
         }, "Given invalid successCallback.");
 
     t.done();
index 0f7bd38199a4b5e3613c6d5e2828cd5943ac8534..8d646fc2bd4678363d527267e73d97abe28aebce 100755 (executable)
@@ -61,7 +61,7 @@ t.step(function () {
         exceptionName = conversionTable[i][1];
         assert_throws({name: exceptionName},
             function () {
-                tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, successCallback, errorCallback);
+                tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback, errorCallback);
             }, "Given incorrect query callback.");
     }
 
index 20469802004e55d0f6bae26ca1ebb82bc8dbd712..6d19ceac27ea2c5a905b8d72c054d9b98262700e 100755 (executable)
@@ -33,8 +33,8 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== STEP Press run button. Pretend walking with the device.
-//==== EXPECT Pass
+//==== STEP Waiting for 1 minutes for the callback.
+//==== EXPECT Pass should be shown in the page after 1 minutes.
 //==== TEST_CRITERIA MTD
 //==== ONLOAD_DELAY 60
 
@@ -45,7 +45,7 @@ var t = async_test(document.title, {timeout: 90000}), retValue = null, successCa
 t.step(function () {
 
     add_result_callback(function () {
-        tizen.humanactivitymonitor.stopRecorder("PEDOMETER");
+        tizen.humanactivitymonitor.stopRecorder("PRESSURE");
     });
 
     successCallback = t.step_func(function (humanactivitydata) {
@@ -53,9 +53,9 @@ t.step(function () {
         t.done();
     });
 
-    tizen.humanactivitymonitor.startRecorder("PEDOMETER");
-    setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("PEDOMETER");
-    retValue = tizen.humanactivitymonitor.readRecorderData("PEDOMETER", {}, successCallback);}, 60000);
+    tizen.humanactivitymonitor.startRecorder("PRESSURE");
+    setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("PRESSURE");
+    retValue = tizen.humanactivitymonitor.readRecorderData("PRESSURE", {}, successCallback);}, 60000);
 
 });
 
index 3391e1a0caf14818e15aa3e5614c2a727114c1d6..ab78a2172dc53c43721a001744235c0841bdad52 100755 (executable)
@@ -57,7 +57,7 @@ t.step(function () {
         exceptionName = conversionTable[i][1];
         assert_throws({name: exceptionName},
             function () {
-                tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, successCallback, errorCallback);
+                tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback, errorCallback);
             }, "Given incorrect success callback.");
     }
 
index baeaa44e8cfe865de5264c468366682780d96019..ef44f3e8562876df7a54ce5e74437ac49327b1c5 100755 (executable)
@@ -50,7 +50,7 @@ test(function () {
 
     assert_throws(TYPE_MISMATCH_EXCEPTION,
         function () {
-            tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, incorrectCallback);
+            tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, incorrectCallback);
         }, "Given invalid successCallback.");
 
 }, document.title);
index ff5d0d2ed2e0cce8e3a58243552477dbcdaf9f83..4d6ecb760d74101c72bee7ada9ae5301fc0d5015 100755 (executable)
@@ -32,6 +32,9 @@ Authors:
 //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:readRecorderData M
 //==== SPEC_URL TBD
 //==== PRIORITY P1
+//==== EXECUTION_TYPE manual
+//==== STEP Press run button. Waiting for 10 minutes for the callback..
+//==== EXPECT Pass
 //==== TEST_CRITERIA MR MMINA
 
 setup({timeout: 1500000});
index 934d7861315bb9ffaf3f3a8717d379376504b0c5..0b4bec2135282c6173127f2ef7042cd2a285fd89 100755 (executable)
@@ -32,7 +32,11 @@ Authors:
 //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:readRecorderData M
 //==== SPEC_URL TBD
 //==== PRIORITY P1
+//==== EXECUTION_TYPE manual
+//==== STEP Waiting for 1 minutes for the callback.
+//==== EXPECT Pass should be shown in the page after 1 minutes.
 //==== TEST_CRITERIA MR MMINA
+//==== ONLOAD_DELAY 60
 
 setup({timeout: 150000});
 
index c801e6bf8ed2771dd195d6c51a554353de48d409..ad52d2aa1eb0a193e164d3dcbafb4742caa09268 100755 (executable)
@@ -32,11 +32,14 @@ Authors:
 //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:readRecorderData M
 //==== SPEC_URL TBD
 //==== PRIORITY P1
+//==== EXECUTION_TYPE manual
+//==== STEP Press run button. Waiting for 20 minutes for the callback without touching the device.
+//==== EXPECT Pass
 //==== TEST_CRITERIA MR MMINA
 
-setup({timeout: 30000});
+setup({timeout: 1500000});
 
-var t = async_test(document.title, {timeout: 30000}), retValue = null, successCallback, date = new Date(), endTime = date.getTime(), startTime = date.setDate(date.getDate() - 1),
+var t = async_test(document.title, {timeout: 1500000}), retValue = null, successCallback, date = new Date(), startTime = date.getTime(), endTime = date.setDate(date.getDate() + 1),
     query = {
         startTime: startTime/1000,
         endTime: endTime/1000,
@@ -55,7 +58,7 @@ t.step(function () {
 
     tizen.humanactivitymonitor.startRecorder("SLEEP_MONITOR");
     setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR");
-        retValue = tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);}, 100);
+        retValue = tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);}, 1300000);
 
 });
 
index 935702ab47559a7abd5dc81cd2882ea8dc8e970c..9e19ba18e94afd0fb5db177d7b7561e395283e5f 100755 (executable)
@@ -32,7 +32,11 @@ Authors:
 //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorManager:readRecorderData M
 //==== SPEC_URL TBD
 //==== PRIORITY P1
+//==== EXECUTION_TYPE manual
+//==== STEP Waiting for 1 minutes for the callback.
+//==== EXPECT Pass should be shown in the page after 1 minutes.
 //==== TEST_CRITERIA MR MOA
+//==== ONLOAD_DELAY 60
 
 setup({timeout: 120000});
 
@@ -45,7 +49,7 @@ var t = async_test(document.title, {timeout: 120000}), retValue = null, successC
 
 t.step(function () {
     add_result_callback(function () {
-        tizen.humanactivitymonitor.stopRecorder("PEDOMETER");
+        tizen.humanactivitymonitor.stopRecorder("PRESSURE");
     });
 
     successCallback = t.step_func(function (humanactivitydata) {
@@ -57,9 +61,9 @@ t.step(function () {
         assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
     });
 
-    tizen.humanactivitymonitor.startRecorder("PEDOMETER");
-    setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("PEDOMETER");
-        retValue = tizen.humanactivitymonitor.readRecorderData("PEDOMETER", query, successCallback, errorCallback);}, 60000);
+    tizen.humanactivitymonitor.startRecorder("PRESSURE");
+    setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("PRESSURE");
+        retValue = tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback, errorCallback);}, 60000);
 
 });
 
index c57cd061560f69befcded9c6cc3c3f9341827fc6..4bb6ddbc2143d20668ae72f9b7b3bf8b3c29ed9c 100755 (executable)
@@ -35,7 +35,7 @@ Authors:
 //==== TEST_CRITERIA MC
 
 test(function () {
-    if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.pedometer")) {
+    /*if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.pedometer")) {
         assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
             tizen.humanactivitymonitor.startRecorder("PEDOMETER");
         }, "NotSupportedError exception should throw");
@@ -49,7 +49,7 @@ test(function () {
         assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
             tizen.humanactivitymonitor.startRecorder("SLEEP_MONITOR");
         }, "NotSupportedError exception should throw");
-    }
+    }*/
     if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.barometer")) {
         assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
             tizen.humanactivitymonitor.startRecorder("PRESSURE");
index 43803d4309c148e55fd7364fc645a4d364547a49..bec88483029c0fecb7e1779240c3a3c575c264eb 100755 (executable)
@@ -39,7 +39,7 @@ test(function () {
         tizen.humanactivitymonitor.stopRecorder(humanActivityType);
     });
 
-    var returnedValue = null, humanActivityType = "PEDOMETER";
+    var returnedValue = null, humanActivityType = "PRESSURE";
     returnedValue = tizen.humanactivitymonitor.startRecorder(humanActivityType, {});
     assert_equals(returnedValue, undefined, "Incorrect returned value");
 }, document.title);
index e71b88e16d3a47a799635081313079a5d4119bd4..5ba1d5aa693cece856990e4d51a92ce49586c5e5 100755 (executable)
@@ -35,7 +35,7 @@ Authors:
 //==== TEST_CRITERIA MR MOA
 
 test(function () {
-    var returnedValue = null, humanActivityType = "HRM",
+    var returnedValue = null, humanActivityType = "PRESSURE",
     options = {
         retentionPeriod: 1
     };
index 11d19b9ef1a1daeb0deee1877dfbc4e37a5751df..a434e68ef07be2d046dd2626d80951d7ca1b155d 100755 (executable)
@@ -35,7 +35,7 @@ Authors:
 //==== TEST_CRITERIA MC
 
 test(function () {
-    if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.pedometer")) {
+    /*if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.pedometer")) {
         assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
             tizen.humanactivitymonitor.stopRecorder("PEDOMETER");
         }, "NotSupportedError exception should throw");
@@ -49,7 +49,7 @@ test(function () {
         assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
             tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR");
         }, "NotSupportedError exception should throw");
-    }
+    }*/
     if (!tizen.systeminfo.getCapability("http://tizen.org/feature/sensor.barometer")) {
         assert_throws(NOT_SUPPORTED_EXCEPTION, function () {
             tizen.humanactivitymonitor.stopRecorder("PRESSURE");
index 0ed3d7ddf6834fce41c2dd6201a91d46b03bddc6..1be8609090f807eb027a9e92fbdad9f017fc3ee3 100755 (executable)
@@ -34,14 +34,14 @@ Authors:
 //==== EXECUTION_TYPE manual
 //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorOption:callbackInterval A
 //==== SPEC_URL TBD
-//==== STEP Wait 155 seconds for the callback
-//==== EXPECT Pass should be shown in the page after 155 seconds
+//==== STEP Turn off the screen, then wait 155 seconds for the callback
+//==== EXPECT Pass should be shown in the page after turn off the screen 155 seconds
 //==== TEST_CRITERIA 
 //==== ONLOAD_DELAY 300
 
-setup({"timeout": 300000});
+setup({"timeout": 400000});
 
-var t = async_test(document.title, {"timeout": 300000}), changedCallback, startMeasure, endMeasure, humanActivityType = "GPS", cbFlag = 0;
+var t = async_test(document.title, {"timeout": 400000}), onScreenStateChanged, changedCallback, startMeasure, endMeasure, humanActivityType = "GPS", cbFlag = 0;
 
 t.step(function () {
     add_result_callback(function () {
@@ -51,7 +51,7 @@ t.step(function () {
     changedCallback = t.step_func(function (gpsInfo) {
         if (cbFlag == 1) {
             endMeasure = new Date().getTime();
-            assert_approx_equals(endMeasure - startMeasure, 150000, 1000, "Callback should be invoked in given interval time.");
+            assert_approx_equals(endMeasure - startMeasure, 100000, 1000, "Callback should be invoked in given interval time.");
             t.done();
         }
         if (cbFlag == 0) {
@@ -60,8 +60,15 @@ t.step(function () {
         }
     });
 
-    tizen.humanactivitymonitor.start(humanActivityType, changedCallback, {callbackInterval:155000});
-    startMeasure = new Date().getTime();
+    onScreenStateChanged = t.step_func(function (previousState, changedState) {
+        if (changedState === "SCREEN_OFF") {
+            tizen.humanactivitymonitor.start(humanActivityType, changedCallback, null, {callbackInterval:100000});
+            tizen.power.unsetScreenStateChangeListener();
+        }
+    }); 
+
+    alert('Please turn off the screen');
+    tizen.power.setScreenStateChangeListener(onScreenStateChanged);
 });
 
 </script>
index 769d9f10684763542c76750d63c38516e6ee0f66..d740dea827a5dc5840b8df0995e25b7eff672b65 100755 (executable)
@@ -34,14 +34,14 @@ Authors:
 //==== EXECUTION_TYPE manual
 //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorOption:callbackInterval A
 //==== SPEC_URL TBD
-//==== STEP Wait 150 seconds for the callback
-//==== EXPECT Pass should be shown in the page after 150 seconds
+//==== STEP Turn off the screen, then wait 150 seconds for the callback
+//==== EXPECT Pass should be shown in the page after turn off the screen 150 seconds
 //==== TEST_CRITERIA
 //==== ONLOAD_DELAY 300
 
-setup({"timeout": 300000});
+setup({"timeout": 400000});
 
-var t = async_test(document.title, {"timeout": 300000}), changedCallback, startMeasure, endMeasure, humanActivityType = "GPS", cbFlag = 0;
+var t = async_test(document.title, {"timeout": 400000}), onScreenStateChanged, changedCallback, startMeasure, endMeasure, humanActivityType = "GPS", cbFlag = 0;
 
 t.step(function () {
     add_result_callback(function () {
@@ -60,7 +60,16 @@ t.step(function () {
         }
     });
 
-    tizen.humanactivitymonitor.start(humanActivityType, changedCallback, {callbackInterval:null});
+    onScreenStateChanged = t.step_func(function (previousState, changedState) {
+        if (changedState === "SCREEN_OFF") {
+            tizen.humanactivitymonitor.start(humanActivityType, changedCallback, null, {callbackInterval:null});
+            startMeasure = new Date().getTime();
+            tizen.power.unsetScreenStateChangeListener();
+        }
+    }); 
+
+    alert('Please turn off the screen');
+    tizen.power.setScreenStateChangeListener(onScreenStateChanged);
 });
 
 </script>
index b566e3c5543c52390cc5684a5e5df35afd04aabe..cdfbee7bca55fb42412fb3907855d297319cb301 100755 (executable)
@@ -31,8 +31,11 @@ Authors:
 //==== TEST: HumanActivityMonitorOption_callbackInterval_type_HRM
 //==== LABEL Check if method HumanActivityMonitorOption::callbackInterval works properly for HRM HumanActivity type
 //==== PRIORITY P1
+//==== EXECUTION_TYPE manual
 //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorOption:callbackInterval A
 //==== SPEC_URL TBD
+//==== STEP Turn off the screen, then wait 0.5 seconds for the callback
+//==== EXPECT Pass should be shown in the page after turn off the screen 0.5 seconds
 //==== TEST_CRITERIA 
 
 var t = async_test(document.title), changedCallback, startMeasure, endMeasure, humanActivityType = "HRM", cbFlag = 0;
@@ -54,6 +57,7 @@ t.step(function () {
         }
     });
 
+    alert('Please turn off the screen');
     tizen.humanactivitymonitor.start(humanActivityType, changedCallback, {callbackInterval:500});
 });
 
index 4e3200afe7a214a9e751fa12e10f845361f38d48..b1f575df2a872edc9b61564cbd3f1b28f65cfb16 100755 (executable)
@@ -31,8 +31,11 @@ Authors:
 //==== TEST: HumanActivityMonitorOption_callbackInterval_type_HRM_default
 //==== LABEL Check if method HumanActivityMonitorOption::callbackInterval() works properly when set to null
 //==== PRIORITY P1
+//==== EXECUTION_TYPE manual
 //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityMonitorOption:callbackInterval A
 //==== SPEC_URL TBD
+//==== STEP Turn off the screen, then wait 0.1 seconds for the callback
+//==== EXPECT Pass should be shown in the page after turn off the screen 0.1 seconds
 //==== TEST_CRITERIA 
 
 var t = async_test(document.title), changedCallback, startMeasure, endMeasure, humanActivityType = "HRM", cbFlag = 0;
@@ -54,6 +57,7 @@ t.step(function () {
         }
     });
 
+    alert('Please turn off the screen');
     tizen.humanactivitymonitor.start(humanActivityType, changedCallback, {callbackInterval:null});
     startMeasure = new Date().getTime();
 });
index 231a003fc3128205518cd44bf32011101f82b114..ec4cf169054154960bc9158fa0300ab5f2a95f55 100755 (executable)
@@ -41,7 +41,7 @@ Authors:
 
 setup({"timeout": 300000});
 
-var t = async_test(document.title, {"timeout": 300000}), changedCallback, humanActivityType = "GPS", cbFlag = 0;
+var t = async_test(document.title, {"timeout": 300000}), onScreenStateChanged, changedCallback, humanActivityType = "GPS", cbFlag = 0;
 
 t.step(function () {
     add_result_callback(function () {
@@ -58,7 +58,15 @@ t.step(function () {
         }
     });
 
-    tizen.humanactivitymonitor.start(humanActivityType, changedCallback, {callbackInterval:120000, sampleInterval:2000});
+    onScreenStateChanged = t.step_func(function (previousState, changedState) {
+        if (changedState === "SCREEN_OFF") {
+            tizen.humanactivitymonitor.start(humanActivityType, changedCallback, null, {callbackInterval:120000, sampleInterval:2000});
+            tizen.power.unsetScreenStateChangeListener();
+        }
+    }); 
+
+    alert('Please turn off the screen');
+    tizen.power.setScreenStateChangeListener(onScreenStateChanged);
 });
 
 </script>
index 02aa26af288c4cc0de0debba1dedf0c1c6fb279a..6fa006c67fec85d638cd1a73b19973bee7bb5f55 100755 (executable)
@@ -41,7 +41,7 @@ Authors:
 
 setup({"timeout": 300000});
 
-var t = async_test(document.title, {"timeout": 300000}), changedCallback, humanActivityType = "GPS", cbFlag = 0;
+var t = async_test(document.title, {"timeout": 300000}), onScreenStateChanged, changedCallback, humanActivityType = "GPS", cbFlag = 0;
 
 t.step(function () {
     add_result_callback(function () {
@@ -58,7 +58,15 @@ t.step(function () {
         }
     });
 
-    tizen.humanactivitymonitor.start(humanActivityType, changedCallback, {callbackInterval:120000, sampleInterval:null});
+    onScreenStateChanged = t.step_func(function (previousState, changedState) {
+        if (changedState === "SCREEN_OFF") {
+            tizen.humanactivitymonitor.start(humanActivityType, changedCallback, null, {callbackInterval:120000, sampleInterval:null});
+            tizen.power.unsetScreenStateChangeListener();
+        }
+    });
+
+    alert('Please turn off the screen');
+    tizen.power.setScreenStateChangeListener(onScreenStateChanged);
 });
 
 </script>
index d79d99b69ff551d390bdfbe362d983b20fb1223c..95ece2d9e0901c0de297bbbd7fdecbf7adca9640 100755 (executable)
@@ -34,8 +34,8 @@ Authors:
 //==== SPEC_URL TBD
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== STEP Press run button. Waiting for 10 minutes, then press the Click button.
-//==== EXPECT Pass
+//==== STEP Waiting for 1 minutes for the callback.
+//==== EXPECT Pass should be shown in the page after 1 minutes.
 //==== TEST_CRITERIA CBT CBOA
 //==== ONLOAD_DELAY 60
 
@@ -52,12 +52,12 @@ t.step(function () {
     successCallback = t.step_func(function (humanactivitydata) {
         assert_not_equals(humanactivitydata , null, "Argument should not be null.");
         assert_type(humanactivitydata[0], "object", "Incorrect type.");
-        assert_type(humanactivitydata[0].heartRate, "number", "heartRate type check");
-        assert_type(humanactivitydata[0].startTime, "number", "startTime type check");
-        assert_type(humanactivitydata[0].endTime, "number", "endTime type check");
-        assert_not_equals(humanactivitydata[0].heartRate, null, "heartRate should not be null");
-        assert_not_equals(humanactivitydata[0].startTime, null, "startTime should not be null");
-        assert_not_equals(humanactivitydata[0].endTime, null, "endTime should not be null");
+        assert_type(humanactivitydata[0].max, "number", "max type check");
+        assert_type(humanactivitydata[0].min, "number", "min type check");
+        assert_type(humanactivitydata[0].average, "number", "average type check");
+        assert_not_equals(humanactivitydata[0].max, null, "max should not be null");
+        assert_not_equals(humanactivitydata[0].min, null, "min should not be null");
+        assert_not_equals(humanactivitydata[0].average, null, "average should not be null");
         t.done();
     });
 
@@ -65,7 +65,7 @@ t.step(function () {
         assert_unreached("Invalid error callback invoked:" + error.name + ": " + error.message);
     });
 
-    tizen.humanactivitymonitor.readRecorderData("HRM", query, successCallback);
+    tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback);
 
 });
 
diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_endTime_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_endTime_attribute.html
deleted file mode 100755 (executable)
index 7cdd54f..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityRecorderPressureData_endTime_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityRecorderPressureData_endTime_attribute
-//==== LABEL Check if HumanActivityRecorderPressureData have endTime attribute with proper type, readonly
-//==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityRecorderPressureData:endTime A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-
-setup({timeout: 70000});
-
-var t = async_test(document.title, {timeout: 70000}), successCallback, date = new Date(), endTime = date.getTime(), startTime = date.setDate(date.getDate() - 1),
-    query = {
-        startTime: startTime/1000,
-        endTime: endTime/1000,
-        interval: 1440
-    };
-
-t.step(function () {
-
-    successCallback = t.step_func(function (humanactivitydata) {
-        assert_greater_than(humanactivitydata.length, 0, "data is not found");
-        check_readonly(humanactivitydata[0], "endTime", humanactivitydata[0].endTime, "number", humanactivitydata[0].endTime + 100);
-        t.done();
-    });
-
-    tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback);
-
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
diff --git a/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_startTime_attribute.html b/common/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_startTime_attribute.html
deleted file mode 100755 (executable)
index 06e214b..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2016 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Xiaoyan Qian <xy.qian@samsung.com>
-
--->
-<html>
-<head>
-<title>HumanActivityRecorderPressureData_startTime_attribute</title>
-<meta charset="utf-8"/>
-<script src="support/unitcommon.js"></script>
-</head>
-<body>
-<div id="log"></div>
-<script>
-//==== TEST: HumanActivityRecorderPressureData_startTime_attribute
-//==== LABEL Check if HumanActivityRecorderPressureData have startTime attribute with proper type, readonly
-//==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityRecorderPressureData:startTime A
-//==== SPEC_URL TBD
-//==== PRIORITY P1
-//==== TEST_CRITERIA AE AT ARO
-
-setup({timeout: 70000});
-
-var t = async_test(document.title, {timeout: 70000}), successCallback, date = new Date(), endTime = date.getTime(), startTime = date.setDate(date.getDate() - 1),
-    query = {
-        startTime: startTime/1000,
-        endTime: endTime/1000,
-        interval: 1440
-    };
-
-t.step(function () {
-
-    successCallback = t.step_func(function (humanactivitydata) {
-        assert_greater_than(humanactivitydata.length, 0, "data is not found");
-        check_readonly(humanactivitydata[0], "startTime", humanactivitydata[0].startTime, "number", humanactivitydata[0].startTime + 100);
-        t.done();
-    });
-
-    tizen.humanactivitymonitor.readRecorderData("PRESSURE", query, successCallback);
-
-});
-
-</script>
-</body>
-</html>
\ No newline at end of file
index 9e6aedd61257d736a5005e670244374dc6089ed6..07602521bc655206804a38ba32f5f2158bb43e5b 100755 (executable)
@@ -32,11 +32,14 @@ Authors:
 //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityRecorderSleepMonitorData:endTime A
 //==== SPEC_URL TBD
 //==== PRIORITY P1
+//==== EXECUTION_TYPE manual
+//==== STEP Press run button. Waiting for 20 minutes for the callback without touching the device.
+//==== EXPECT Pass
 //==== TEST_CRITERIA AE AT ARO
 
-setup({timeout: 30000});
+setup({timeout: 1500000});
 
-var t = async_test(document.title, {timeout: 30000}), successCallback, date = new Date(), endTime = date.getTime(), startTime = date.setDate(date.getDate() - 1),
+var t = async_test(document.title, {timeout: 1500000}), successCallback, date = new Date(), startTime = date.getTime(), endTime = date.setDate(date.getDate() + 1),
     query = {
         startTime: startTime/1000,
         endTime: endTime/1000,
@@ -56,8 +59,8 @@ t.step(function () {
     });
 
     tizen.humanactivitymonitor.startRecorder("SLEEP_MONITOR");
-    setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR");}, 100);
-    tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);
+    setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR");
+        retValue = tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);}, 1300000);
 
 });
 
index 6403f93e37d51ab05be2d437c449fcd70ae06a06..245c6e0fac20a4b40453a66f3a756f0dd5c28bc7 100755 (executable)
@@ -32,11 +32,14 @@ Authors:
 //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityRecorderSleepMonitorData:startTime A
 //==== SPEC_URL TBD
 //==== PRIORITY P1
+//==== EXECUTION_TYPE manual
+//==== STEP Press run button. Waiting for 20 minutes for the callback without touching the device.
+//==== EXPECT Pass
 //==== TEST_CRITERIA AE AT ARO
 
-setup({timeout: 30000});
+setup({timeout: 1500000});
 
-var t = async_test(document.title, {timeout: 30000}), successCallback, date = new Date(), endTime = date.getTime(), startTime = date.setDate(date.getDate() - 1),
+var t = async_test(document.title, {timeout: 1500000}), successCallback, date = new Date(), startTime = date.getTime(), endTime = date.setDate(date.getDate() + 1),
     query = {
         startTime: startTime/1000,
         endTime: endTime/1000,
@@ -56,8 +59,8 @@ t.step(function () {
     });
 
     tizen.humanactivitymonitor.startRecorder("SLEEP_MONITOR");
-    setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR");}, 100);
-    tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);
+    setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR");
+        retValue = tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);}, 1300000);
 
 });
 
index f030d4498bcf588caa488df09326ee2aa42d2ae7..c47bacc5229ad2bc08301a93f588f4dbc7ecda41 100755 (executable)
@@ -32,11 +32,14 @@ Authors:
 //==== SPEC Tizen Web API:System:HumanActivityMonitor:HumanActivityRecorderSleepMonitorData:status A
 //==== SPEC_URL TBD
 //==== PRIORITY P1
+//==== EXECUTION_TYPE manual
+//==== STEP Press run button. Waiting for 20 minutes for the callback without touching the device.
+//==== EXPECT Pass
 //==== TEST_CRITERIA AE AT ARO AVL
 
-setup({timeout: 30000});
+setup({timeout: 1500000});
 
-var t = async_test(document.title, {timeout: 30000}), successCallback, date = new Date(), endTime = date.getTime(), startTime = date.setDate(date.getDate() - 1),
+var t = async_test(document.title, {timeout: 1500000}), successCallback, date = new Date(), startTime = date.getTime(), endTime = date.setDate(date.getDate() + 1),
     query = {
         startTime: startTime/1000,
         endTime: endTime/1000,
@@ -57,8 +60,8 @@ t.step(function () {
     });
 
     tizen.humanactivitymonitor.startRecorder("SLEEP_MONITOR");
-    setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR");}, 100);
-    tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);
+    setTimeout(function(){tizen.humanactivitymonitor.stopRecorder("SLEEP_MONITOR");
+        retValue = tizen.humanactivitymonitor.readRecorderData("SLEEP_MONITOR", query, successCallback);}, 1300000);
 
 });
 
index c5d0cae195676d59bee36d938704b622d264ea7a..da4a850b44899fcfe27ad600a4944ef425df5411 100755 (executable)
@@ -53,8 +53,7 @@ t.step(function () {
         t.done();
     });
 
-    tizen.humanactivitymonitor.start(humanActivityType);
-    tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);
+    tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);
 });
 
 </script>
index cbbe0991d31842619e6f25360aa35763d31165a6..b166849ad4d668fc48be5aeff7984be3ad3d89cc 100755 (executable)
@@ -52,8 +52,7 @@ t.step(function () {
         t.done();
     });
 
-    tizen.humanactivitymonitor.start(humanActivityType);
-    tizen.humanactivitymonitor.getHumanActivityData(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);
+    tizen.humanactivitymonitor.start(humanActivityType, getHumanActivityDataSuccess, getHumanActivityDataError);
 });
 
 
index 061d4ecb0e4e316e3f022a04e8228254c0da5634..a865142607720414cb56a7996d721df51e4932a7 100755 (executable)
@@ -21,6 +21,7 @@ Authors:
 
 SERVICE_NOT_AVAILABLE_ERR = "ServiceNotAvailableError";
 NOT_SUPPORTED_EXCEPTION = "NotSupportedError";
+SERVICE_NOT_AVAILABLE_EXCEPTION = {name: 'ServiceNotAvailableError'};
 
 var PEDOMETER_STEP_STATUS = [
     "NOT_MOVING", "WALKING", "RUNNING", "UNKNOWN"
index f8f6265e0da0e2c5bd250cbd8fbb3b841dc7579b..80c1e1f6122630054222de542286c995293dda2a 100755 (executable)
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if readRecorderData without optional arguments works properly for PRESSURE HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="150" id="HumanActivityMonitorManager_readRecorderData_type_PRESSURE">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>Waiting for 1 minutes for the callback.</step_desc>
-              <expected>Pass should be shown in the page after 1 minutes.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check if HumanActivityMonitorManager::startRecorder() throw NotSupportedError called with not supported human activity recorder type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_startRecorder_NotSupportedError">
         <description>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_NotSupportedError.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_misarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if method HumanActivityMonitorManager::startRecorder() works properly for PRESSURE HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_startRecorder_type_PRESSURE">
-        <description>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_type_PRESSURE.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check if HumanActivityMonitorManager::stopRecorder() throw NotSupportedError called with not supported human activity recorder type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_stopRecorder_NotSupportedError">
         <description>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_NotSupportedError.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_misarg.html</test_script_entry>
         </description>
       </testcase>
+    </set>
+    <set name="HumanActivityMonitor_with_barometer_mobile">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>MOBILE_FULL</value></capability>
+        <capability name="http://tizen.org/feature/sensor.barometer"/>
+      </capabilities>
+      <testcase purpose="Check if readRecorderData without optional arguments works properly for PRESSURE HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="150" id="HumanActivityMonitorManager_readRecorderData_type_PRESSURE">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>Waiting for 1 minutes for the callback.</step_desc>
+              <expected>Pass should be shown in the page after 1 minutes.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if method HumanActivityMonitorManager::startRecorder() works properly for PRESSURE HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_startRecorder_type_PRESSURE">
+        <description>
+          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_type_PRESSURE.html</test_script_entry>
+        </description>
+      </testcase>
       <testcase purpose="Check if method HumanActivityMonitorManager::stopRecorder() works properly for PRESSURE HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_stopRecorder_type_PRESSURE">
         <description>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_type_PRESSURE.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_average_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if HumanActivityRecorderPressureData have endTime attribute with proper type, readonly" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="90" id="HumanActivityRecorderPressureData_endTime_attribute">
-        <description>
-          <pre_condition>Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html first, because we should wait at least 1 minute to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Waiting for 1 minutes for the callback.</step_desc>
-              <expected>Pass should be shown in the page after 1 minutes.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_endTime_attribute.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check if HumanActivityRecorderPressureData have max attribute with proper type, readonly" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="90" id="HumanActivityRecorderPressureData_max_attribute">
         <description>
           <pre_condition>Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html first, because we should wait at least 1 minute to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now.</pre_condition>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if HumanActivityRecorderPressureData have startTime attribute with proper type, readonly" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="90" id="HumanActivityRecorderPressureData_startTime_attribute">
-        <description>
-          <pre_condition>Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html first, because we should wait at least 1 minute to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now.</pre_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Waiting for 1 minutes for the callback.</step_desc>
-              <expected>Pass should be shown in the page after 1 minutes.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderPressureData_startTime_attribute.html</test_script_entry>
-        </description>
-      </testcase>
     </set>
     <set name="HumanActivityMonitor_with_activity_recognition_mobile">
       <capabilities>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_getHumanActivityData_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if HumanActivityMonitorManager::getHumanActivityData() method throws exception when errorCallback is invalid">
-        <description>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_errorCallback_invalid_cb.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_getHumanActivityData_errorCallback_invoked" onload_delay="30" priority="P2" purpose="Check exception in error callback of HumanActivityMonitorManager::getHumanActivityData() method">
         <description>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_errorCallback_invoked.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_getHumanActivityData_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if HumanActivityMonitorManager::getHumanActivityData() method throws exception when successCallback is invalid">
-        <description>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_successCallback_invalid_cb.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_getHumanActivityData_type_PEDOMETER" onload_delay="30" priority="P1" purpose="Check if HumanActivityMonitorManager::getHumanActivityData() method works properly">
         <description>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_type_PEDOMETER.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_stepStatus_RUNNING.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if readRecorderData can be called with empty object as query argument" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="60" id="HumanActivityMonitorManager_readRecorderData_query_empty">
+      <testcase purpose="Check if readRecorderData can be called with empty object as query argument" onload_delay="60" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_readRecorderData_query_empty">
         <description>
+          <pre_condition>Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html first, because we should wait at least 1 minute to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Press run button. Pretend walking with the device.</step_desc>
-              <expected>Pass</expected>
+              <step_desc>Waiting for 1 minutes for the callback.</step_desc>
+              <expected>Pass should be shown in the page after 1 minutes.</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_empty.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PEDOMETER.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if readRecorderData with optional arguments works properly" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="60" id="HumanActivityMonitorManager_readRecorderData_with_errorCallback">
+      <testcase purpose="Check if readRecorderData with optional arguments works properly" onload_delay="60" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_readRecorderData_with_errorCallback">
         <description>
+          <pre_condition>Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html first, because we should wait at least 1 minute to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Press run button. Pretend walking with the device.</step_desc>
-              <expected>Pass</expected>
+              <step_desc>Waiting for 1 minutes for the callback.</step_desc>
+              <expected>Pass should be shown in the page after 1 minutes.</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_with_errorCallback.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityHRMData_rRInterval_attribute.html</test_script_entry>
         </description>
       </testcase>
-     <!-- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorOption_callbackInterval_type_HRM" purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly for HRM HumanActivity type">
+     <!-- <testcase component="TizenAPI/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorOption_callbackInterval_type_HRM" purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly for HRM HumanActivity type">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Turn off the screen, then wait 0.5 seconds for the callback</step_desc>
+              <expected>Pass should be shown in the page after turn off the screen 0.5 seconds</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorOption_callbackInterval_type_HRM_default" purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly when set to null">
+      <testcase component="TizenAPI/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorOption_callbackInterval_type_HRM_default" purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly when set to null">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Turn off the screen, then wait 0.1 seconds for the callback</step_desc>
+              <expected>Pass should be shown in the page after turn off the screen 0.1 seconds</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM_default.html</test_script_entry>
         </description>
       </testcase> -->
-      <testcase purpose="Check if readRecorderData without optional arguments works properly for HRM HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="1500" id="HumanActivityMonitorManager_readRecorderData_type_HRM">
+      <testcase purpose="Check if readRecorderData without optional arguments works properly for HRM HumanActivity type" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" onload_delay="1500" id="HumanActivityMonitorManager_readRecorderData_type_HRM">
         <description>
           <steps>
             <step order="1">
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_type_HRM.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if HumanActivityReadRecorderSuccessCallback onsuccess is called and if its arguments have proper type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="60" id="HumanActivityReadRecorderSuccessCallback_onsuccess">
+      <testcase purpose="Check if HumanActivityReadRecorderSuccessCallback onsuccess is called and if its arguments have proper type" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" onload_delay="60" id="HumanActivityReadRecorderSuccessCallback_onsuccess">
         <description>
-          <pre_condition>Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_HRM.html first, because we should wait at least 10 minutes to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now.</pre_condition>
+          <pre_condition>Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html first, because we should wait at least 1 minute to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Waiting for 10 minutes for the callback.</step_desc>
-              <expected>Pass should be shown in the page after 10 minutes.</expected>
+              <step_desc>Waiting for 1 minutes for the callback.</step_desc>
+              <expected>Pass should be shown in the page after 1 minutes.</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityReadRecorderSuccessCallback_onsuccess.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_timestamp_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly for GPS HumanActivity type" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorOption_callbackInterval_type_GPS" onload_delay="300">
+      <testcase purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly for GPS HumanActivity type" component="TizenAPI/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorOption_callbackInterval_type_GPS" onload_delay="300">
         <description>
           <steps>
             <step order="1">
-              <step_desc>Wait 155 seconds for the callback</step_desc>
-              <expected>Pass should be shown in the page after 155 seconds</expected>
+              <step_desc>Turn off the screen, then wait 155 seconds for the callback</step_desc>
+              <expected>Pass should be shown in the page after turn off the screen 155 seconds</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly when set to null" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorOption_callbackInterval_type_GPS_default" onload_delay="300">
+      <testcase purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly when set to null" component="TizenAPI/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorOption_callbackInterval_type_GPS_default" onload_delay="300">
         <description>
           <steps>
             <step order="1">
-              <step_desc>Wait 150 seconds for the callback</step_desc>
-              <expected>Pass should be shown in the page after 150 seconds</expected>
+              <step_desc>Turn off the screen, then wait 150 seconds for the callback</step_desc>
+              <expected>Pass should be shown in the page after turn off the screen 150 seconds</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS_default.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_timestamp_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if readRecorderData without optional arguments works properly for SLEEP_MONITOR HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR">
+      <testcase purpose="Check if readRecorderData without optional arguments works properly for SLEEP_MONITOR HumanActivity type" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Waiting for 20 minutes for the callback without touching the device.</step_desc>
+              <expected>Pass should be shown in the page after 20 minutes.</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR.html</test_script_entry>
         </description>
       </testcase>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_type_SLEEP_MONITOR.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if HumanActivityRecorderSleepMonitorData have endTime attribute with proper type, readonly" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityRecorderSleepMonitorData_endTime_attribute">
+      <testcase purpose="Check if HumanActivityRecorderSleepMonitorData have endTime attribute with proper type, readonly" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityRecorderSleepMonitorData_endTime_attribute">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Waiting for 20 minutes for the callback without touching the device.</step_desc>
+              <expected>Pass should be shown in the page after 20 minutes.</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_endTime_attribute.html</test_script_entry>
         </description>
       </testcase>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if HumanActivityRecorderSleepMonitorData have startTime attribute with proper type, readonly" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityRecorderSleepMonitorData_startTime_attribute">
+      <testcase purpose="Check if HumanActivityRecorderSleepMonitorData have startTime attribute with proper type, readonly" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityRecorderSleepMonitorData_startTime_attribute">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Waiting for 20 minutes for the callback without touching the device.</step_desc>
+              <expected>Pass should be shown in the page after 20 minutes.</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_startTime_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if HumanActivityRecorderSleepMonitorData have status attribute with proper type, readonly" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityRecorderSleepMonitorData_status_attribute">
+      <testcase purpose="Check if HumanActivityRecorderSleepMonitorData have status attribute with proper type, readonly" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityRecorderSleepMonitorData_status_attribute">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Waiting for 20 minutes for the callback without touching the device.</step_desc>
+              <expected>Pass should be shown in the page after 20 minutes.</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_status_attribute.html</test_script_entry>
         </description>
       </testcase>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_successCallback_invalid_cb.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if readRecorderData without optional arguments works properly for PRESSURE HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="150" id="HumanActivityMonitorManager_readRecorderData_type_PRESSURE">
-        <description>
-          <steps>
-            <step order="1">
-              <step_desc>Waiting for 1 minutes for the callback.</step_desc>
-              <expected>Pass should be shown in the page after 1 minutes.</expected>
-            </step>
-          </steps>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check if HumanActivityMonitorManager::startRecorder() throw NotSupportedError called with not supported human activity recorder type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_startRecorder_NotSupportedError">
         <description>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_NotSupportedError.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_misarg.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if method HumanActivityMonitorManager::startRecorder() works properly for PRESSURE HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_startRecorder_type_PRESSURE">
-        <description>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_type_PRESSURE.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase purpose="Check if HumanActivityMonitorManager::stopRecorder() throw NotSupportedError called with not supported human activity recorder type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_stopRecorder_NotSupportedError">
         <description>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_NotSupportedError.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_misarg.html</test_script_entry>
         </description>
       </testcase>
+      <testcase purpose="Check if HumanActivityReadRecorderSuccessCallback cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityReadRecorderSuccessCallback_notexist">
+        <description>
+          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityReadRecorderSuccessCallback_notexist.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if HumanActivityRecorderData cannot be called in new expression and as a function or in new expression" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityRecorderData_notexist">
+        <description>
+          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderData_notexist.html</test_script_entry>
+        </description>
+      </testcase>
+    </set>
+    <set name="HumanActivityMonitor_with_barometer_wearable">
+      <capabilities>
+        <capability name="http://tizen.org/feature/profile"><value>WEARABLE</value></capability>
+        <capability name="http://tizen.org/feature/sensor.barometer"/>
+      </capabilities>
+      <testcase purpose="Check if readRecorderData without optional arguments works properly for PRESSURE HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="150" id="HumanActivityMonitorManager_readRecorderData_type_PRESSURE">
+        <description>
+          <steps>
+            <step order="1">
+              <step_desc>Waiting for 1 minutes for the callback.</step_desc>
+              <expected>Pass should be shown in the page after 1 minutes.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html</test_script_entry>
+        </description>
+      </testcase>
+      <testcase purpose="Check if method HumanActivityMonitorManager::startRecorder() works properly for PRESSURE HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_startRecorder_type_PRESSURE">
+        <description>
+          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_startRecorder_type_PRESSURE.html</test_script_entry>
+        </description>
+      </testcase>
       <testcase purpose="Check if method HumanActivityMonitorManager::stopRecorder() works properly for PRESSURE HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_stopRecorder_type_PRESSURE">
         <description>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_type_PRESSURE.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_errorCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_getHumanActivityData_errorCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if HumanActivityMonitorManager::getHumanActivityData() method throws exception when errorCallback is invalid">
-        <description>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_errorCallback_invalid_cb.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_getHumanActivityData_errorCallback_invoked" onload_delay="30" priority="P2" purpose="Check exception in error callback of HumanActivityMonitorManager::getHumanActivityData() method">
         <description>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_errorCallback_invoked.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_successCallback_TypeMismatch.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_getHumanActivityData_successCallback_invalid_cb" onload_delay="30" priority="P2" purpose="Check if HumanActivityMonitorManager::getHumanActivityData() method throws exception when successCallback is invalid">
-        <description>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_successCallback_invalid_cb.html</test_script_entry>
-        </description>
-      </testcase>
       <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_getHumanActivityData_type_PEDOMETER" onload_delay="30" priority="P1" purpose="Check if HumanActivityMonitorManager::getHumanActivityData() method works properly">
         <description>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_type_PEDOMETER.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_getHumanActivityData_stepStatus_RUNNING.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if readRecorderData can be called with empty object as query argument" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="60" id="HumanActivityMonitorManager_readRecorderData_query_empty">
+      <testcase purpose="Check if readRecorderData can be called with empty object as query argument" onload_delay="60" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_readRecorderData_query_empty">
         <description>
+          <pre_condition>Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html first, because we should wait at least 1 minute to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Press run button. Pretend walking with the device.</step_desc>
-              <expected>Pass</expected>
+              <step_desc>Waiting for 1 minutes for the callback.</step_desc>
+              <expected>Pass should be shown in the page after 1 minutes.</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_query_empty.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_PEDOMETER.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if readRecorderData with optional arguments works properly" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="60" id="HumanActivityMonitorManager_readRecorderData_with_errorCallback">
+      <testcase purpose="Check if readRecorderData with optional arguments works properly" onload_delay="60" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_readRecorderData_with_errorCallback">
         <description>
+          <pre_condition>Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html first, because we should wait at least 1 minute to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Press run button. Pretend walking with the device.</step_desc>
-              <expected>Pass</expected>
+              <step_desc>Waiting for 1 minutes for the callback.</step_desc>
+              <expected>Pass should be shown in the page after 1 minutes.</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_with_errorCallback.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityHRMData_rRInterval_attribute.html</test_script_entry>
         </description>
       </testcase>
-     <!-- <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorOption_callbackInterval_type_HRM" purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly for HRM HumanActivity type">
+     <!-- <testcase component="TizenAPI/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorOption_callbackInterval_type_HRM" purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly for HRM HumanActivity type">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Turn off the screen, then wait 0.5 seconds for the callback</step_desc>
+              <expected>Pass should be shown in the page after turn off the screen 0.5 seconds</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorOption_callbackInterval_type_HRM_default" purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly when set to null">
+      <testcase component="TizenAPI/Sensor/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorOption_callbackInterval_type_HRM_default" purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly when set to null">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Turn off the screen, then wait 0.1 seconds for the callback</step_desc>
+              <expected>Pass should be shown in the page after turn off the screen 0.1 seconds</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_HRM_default.html</test_script_entry>
         </description>
       </testcase> -->
-      <testcase purpose="Check if readRecorderData without optional arguments works properly for HRM HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="1500" id="HumanActivityMonitorManager_readRecorderData_type_HRM">
+      <testcase purpose="Check if readRecorderData without optional arguments works properly for HRM HumanActivity type" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" onload_delay="1500" id="HumanActivityMonitorManager_readRecorderData_type_HRM">
         <description>
           <steps>
             <step order="1">
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_type_HRM.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if HumanActivityReadRecorderSuccessCallback onsuccess is called and if its arguments have proper type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="manual" onload_delay="60" id="HumanActivityReadRecorderSuccessCallback_onsuccess">
+      <testcase purpose="Check if HumanActivityReadRecorderSuccessCallback onsuccess is called and if its arguments have proper type" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" onload_delay="60" id="HumanActivityReadRecorderSuccessCallback_onsuccess">
         <description>
-          <pre_condition>Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_HRM.html first, because we should wait at least 10 minutes to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now.</pre_condition>
+          <pre_condition>Before run this tc, run HumanActivityMonitorManager_readRecorderData_type_PRESSURE.html first, because we should wait at least 1 minute to get the recorded data after start recorder. But if you tested that TC already, you can run this TC now.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Waiting for 10 minutes for the callback.</step_desc>
-              <expected>Pass should be shown in the page after 10 minutes.</expected>
+              <step_desc>Waiting for 1 minutes for the callback.</step_desc>
+              <expected>Pass should be shown in the page after 1 minutes.</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityReadRecorderSuccessCallback_onsuccess.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityGPSInfo_timestamp_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly for GPS HumanActivity type" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorOption_callbackInterval_type_GPS" onload_delay="300">
+      <testcase purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly for GPS HumanActivity type" component="TizenAPI/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorOption_callbackInterval_type_GPS" onload_delay="300">
         <description>
           <steps>
             <step order="1">
-              <step_desc>Wait 155 seconds for the callback</step_desc>
-              <expected>Pass should be shown in the page after 155 seconds</expected>
+              <step_desc>Turn off the screen, then wait 155 seconds for the callback</step_desc>
+              <expected>Pass should be shown in the page after turn off the screen 155 seconds</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly when set to null" component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorOption_callbackInterval_type_GPS_default" onload_delay="300">
+      <testcase purpose="Check if method HumanActivityMonitorOption::callbackInterval works properly when set to null" component="TizenAPI/Sensor/HumanActivityMonitor" execution_type="manual" priority="P1" id="HumanActivityMonitorOption_callbackInterval_type_GPS_default" onload_delay="300">
         <description>
           <steps>
             <step order="1">
-              <step_desc>Wait 150 seconds for the callback</step_desc>
-              <expected>Pass should be shown in the page after 150 seconds</expected>
+              <step_desc>Turn off the screen, then wait 150 seconds for the callback</step_desc>
+              <expected>Pass should be shown in the page after turn off the screen 150 seconds</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorOption_callbackInterval_type_GPS_default.html</test_script_entry>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_status_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Tizen Device APIs/Sensor/HumanActivityMonitor" execution_type="auto" id="HumanActivitySleepMonitorData_timestamp_attribute" purpose="Check if HumanActivitySleepMonitorData::timestamp exists, has type long, and is readonly">
+      <testcase purpose="Check if readRecorderData without optional arguments works properly for SLEEP_MONITOR HumanActivity type" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR">
         <description>
-          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivitySleepMonitorData_timestamp_attribute.html</test_script_entry>
+          <steps>
+            <step order="1">
+              <step_desc>Waiting for 20 minutes for the callback without touching the device.</step_desc>
+              <expected>Pass should be shown in the page after 20 minutes.</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR.html</test_script_entry>
         </description>
       </testcase>
       <testcase purpose="Check if readRecorderData without optional arguments works properly for SLEEP_MONITOR HumanActivity type" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityMonitorManager_readRecorderData_type_SLEEP_MONITOR">
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityMonitorManager_stopRecorder_type_SLEEP_MONITOR.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if HumanActivityRecorderSleepMonitorData have endTime attribute with proper type, readonly" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityRecorderSleepMonitorData_endTime_attribute">
+      <testcase purpose="Check if HumanActivityRecorderSleepMonitorData have endTime attribute with proper type, readonly" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityRecorderSleepMonitorData_endTime_attribute">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Waiting for 20 minutes for the callback without touching the device.</step_desc>
+              <expected>Pass should be shown in the page after 20 minutes.</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_endTime_attribute.html</test_script_entry>
         </description>
       </testcase>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_notexist.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if HumanActivityRecorderSleepMonitorData have startTime attribute with proper type, readonly" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityRecorderSleepMonitorData_startTime_attribute">
+      <testcase purpose="Check if HumanActivityRecorderSleepMonitorData have startTime attribute with proper type, readonly" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityRecorderSleepMonitorData_startTime_attribute">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Waiting for 20 minutes for the callback without touching the device.</step_desc>
+              <expected>Pass should be shown in the page after 20 minutes.</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_startTime_attribute.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if HumanActivityRecorderSleepMonitorData have status attribute with proper type, readonly" component="Tizen Device APIs/System/HumanActivityMonitor" execution_type="auto" id="HumanActivityRecorderSleepMonitorData_status_attribute">
+      <testcase purpose="Check if HumanActivityRecorderSleepMonitorData have status attribute with proper type, readonly" component="TizenAPI/System/HumanActivityMonitor" execution_type="manual" id="HumanActivityRecorderSleepMonitorData_status_attribute">
         <description>
+          <steps>
+            <step order="1">
+              <step_desc>Waiting for 20 minutes for the callback without touching the device.</step_desc>
+              <expected>Pass should be shown in the page after 20 minutes.</expected>
+            </step>
+          </steps>
           <test_script_entry>/opt/tct-humanactivitymonitor-tizen-tests/humanactivitymonitor/HumanActivityRecorderSleepMonitorData_status_attribute.html</test_script_entry>
         </description>
       </testcase>