[NFC] correction in tags
authorMariusz Polasinski <m.polasinski@samsung.com>
Tue, 10 Sep 2013 10:53:43 +0000 (12:53 +0200)
committerMariusz Polasinski <m.polasinski@samsung.com>
Tue, 10 Sep 2013 10:53:43 +0000 (12:53 +0200)
Change-Id: Idcf08c9b17494786a8e6d38d0dbfb2fa423435e6

26 files changed:
tct-nfc-tizen-tests/nfc/NFCAdapter_setPeerListener.html
tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener.html
tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_tagFilter_is_null.html
tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_with_tagFilter.html
tct-nfc-tizen-tests/nfc/NFCAdapter_unsetPeerListener.html
tct-nfc-tizen-tests/nfc/NFCAdapter_unsetTagListener.html
tct-nfc-tizen-tests/nfc/NFCPeer.html
tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html
tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_ondetach.html
tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html
tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_sendData.html
tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_errorCallback.html
tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_with_successCallback.html
tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener.html
tct-nfc-tizen-tests/nfc/NFCPeer_unsetReceiveNDEFListener_extra_argument.html
tct-nfc-tizen-tests/nfc/NFCTag.html
tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html
tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_ondetach.html
tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_errorCallback.html
tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_without_errorCallback.html
tct-nfc-tizen-tests/nfc/NFCTag_transceive_with_errorCallback.html
tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF.html
tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_errorCallback.html
tct-nfc-tizen-tests/nfc/NFCTag_writeNDEF_with_successCallback.html
tct-nfc-tizen-tests/tests.full.xml
tct-nfc-tizen-tests/tests.xml

index 1dba15910c6f3a0948eb0c3cdd155cc14869fa98..c60c2c03997130200e3f48b9608dd946e7e577c0 100644 (file)
@@ -45,10 +45,11 @@ Authors:
 //==== TEST: NFCAdapter_setPeerListener
 //==== LABEL check if detectCallback of setPeerListener can be called successfully when NFC peer-to-peer target is detected
 //==== EXECUTION_TYPE manual
-//==== STEP Move other NFC device close so it will be detected
+//==== STEP Click "Run". Move other NFC device close so it will be detected.
 //==== EXPECT pass - peer detected
 //==== SPEC Tizen Web API:Communication:NFC:NFCAdapter:setPeerListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on.
 //==== TEST_CRITERIA MMINA MAST MR
 
 setup({timeout: 90000});
index 3a6fc109de2a15008fac290f8176141b99b416e3..547ffd65a77b301df194df4136452d08eb7c5608 100644 (file)
@@ -41,12 +41,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NFCAdapter_setTagListener
-//==== LABEL Check if invoked in case of successful detection of the NFC tag
+//==== LABEL Check if tagListener.onattach is invoked in case of successful detection of the NFC tag
 //==== EXECUTION_TYPE manual
-//==== STEP Move NFC tag close so it will be detected
+//==== STEP Click "Run". Move NFC tag close so it will be detected.
 //==== EXPECT pass - tag detected
 //==== SPEC Tizen Web API:Communication:NFC:NFCAdapter:setTagListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare NFC tag.
 //==== TEST_CRITERIA MMINA MAST MR
 
 setup({timeout: 90000});
index 3715d56bb186bd0b40642e38e7bed6fa30ce4cc2..fad7688777769dd30a761a68706368c6bf9f0296 100644 (file)
@@ -42,11 +42,11 @@ Authors:
 //==== LABEL check if successful callback of setTagListener method is invoked when tagFilter is set to null
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== STEP Move NFC tag close to the device so it will be detected
+//==== STEP Click "Run". Move NFC tag close to the device so it will be detected.
 //==== EXPECT should be passed
 //==== SPEC Tizen Web API:Communication:NFC:NFCAdapter:setTagListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/nfc.html
-//==== PRE Turn on NFC adapter.
+//==== PRE Turn on NFC adapter. Prepare NFC tag
 //==== TEST_CRITERIA MAST MMINA
 
 
index 39f43fb85befb58bab65fe79b60082b1117513fb..53b926f2aba688712ad9c2076898ae821756b323 100644 (file)
@@ -43,12 +43,12 @@ Authors:
 //==== LABEL check if successful callback of setTagListener method is invoked with tagFilter parameters
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== STEP Move NFC tag close to the device so it will be detected
+//==== STEP Click "Run". Move NFC tag close to the device so it will be detected.
 //==== EXPECT should be passed
 //==== SPEC Tizen Web API:Communication:NFC:NFCAdapter:setTagListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/nfc.html
 //==== TEST_CRITERIA MAST MOA
-//==== PRE Turn on NFC adapter.
+//==== PRE Turn on NFC adapter. Prepare NFC tag.
 
 
 setup({timeout: 90000});
index ac3212f08c86fb4a98a78392844717a98559c823..2fedd1bf907771b6b4da82607ca6c4009cf84a02 100644 (file)
@@ -47,10 +47,11 @@ Authors:
 //==== TEST: NFCAdapter_unsetPeerListener
 //==== LABEL Check if successfully unset listener for detecting an NFC peer-to-peer target
 //==== EXECUTION_TYPE manual
-//==== STEP Move other NFC device close so it will be detected and then click "Peer was attached" button
+//==== STEP Click "Run". Move other NFC device close so it will be detected and then click "Peer was attached" button.
 //==== EXPECT Pass
 //==== SPEC Tizen Web API:Communication:NFC:NFCAdapter:unsetPeerListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on.
 //==== TEST_CRITERIA MNAST MNA MR
 
 var adapter, peerListener, isWaiting = false, result,
index b21ba64bfef5f10e06b56bbc994b3b7c477f9e18..172314fbb3917aa1e044776ab579b179ed50b1f0 100644 (file)
@@ -47,10 +47,11 @@ Authors:
 //==== TEST: NFCAdapter_unsetTagListener
 //==== LABEL Check if successfully unset listener for detecting an NFC tag
 //==== EXECUTION_TYPE manual
-//==== STEP Move NFC tag close so it will be detected and then click "Tag was attached" button
+//==== STEP Click "Run". Move NFC tag close so it will be detected and then click "Tag was attached" button.
 //==== EXPECT pass
 //==== SPEC Tizen Web API:Communication:NFC:NFCAdapter:unsetTagListener M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare NFC tag.
 //==== TEST_CRITERIA MNA MNAST MR
 
 setup({timeout: 90000});
index 18f0e84198688e0f948ba9af074c632082adbd13..03a99f5e94572aa81c8e605e74defc8580cb5b13 100644 (file)
@@ -34,8 +34,9 @@ Authors:
 //==== LABEL Check NFCPeer attributes, method existence and TypeMismatchError throwing
 //==== PRIORITY P3
 //==== EXECUTION_TYPE manual
-//==== STEP Move other NFC device close so it will be detected
+//==== STEP Click "Run". Move other NFC device close so it will be detected.
 //==== EXPECT Pass
+//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on.
 //==== SPEC Tizen Web API:Communication:NFC:NFCPeer:isConnected A
 //==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html
 //==== TEST_CRITERIA AE AT ARO
index 005227a84e3edfbf8e6ca0c255cb0152fbeedffc..373a08dbb2b04333b9a7468ac893c3bc543bb4e9 100644 (file)
@@ -42,10 +42,11 @@ Authors:
 //==== TEST: NFCPeerDetectCallback_onattach
 //==== LABEL Test setPeerListener for check NFCPeerDetectCallback onattach method
 //==== EXECUTION_TYPE manual
-//==== STEP Move other NFC device close so it will be detected
-//==== EXPECT pass - setPeerListener onSuccess calle calledd
+//==== STEP Click "Run". Move other NFC device close so it will be detected.
+//==== EXPECT pass - setPeerListener onSuccess called
 //==== SPEC Tizen Web API:Communication:NFC:NFCPeerDetectCallback:onattach M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on.
 //==== TEST_CRITERIA CBOA CBT
 
 var adapter, t = async_test("NFCPeerDetectCallback_onattach", {timeout: 90000}), onSuccessCB;
index 77cd1e81a32f9420167f815470b3db687eed1ab0..4e373b3c1fcd75bd71da0b8cb7ace2dc0c7e26e4 100644 (file)
@@ -40,12 +40,13 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NFCPeerDetectCallback_ondetach
-//==== LABEL check if SuccessCallback of sendNDEF can be called successfully when sends data to peer target
+//==== LABEL Test NFCAdapter.setPeerListener for check NFCPeerDetectCallback.ondetach
 //==== EXECUTION_TYPE manual
-//==== STEP Put other NFC device close to Your device. Just for a moment so it would be detected. Then take it away.
-//==== EXPECT pass - sendNDEF was be successful
+//==== STEP Click "Run". Put the other NFC device close to your device until it will be detected and then take it away.
+//==== EXPECT pass - peerListener ondetach callback should be invoked
 //==== SPEC Tizen Web API:Communication:NFC:NFCPeerDetectCallback:ondetach M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on.
 //==== TEST_CRITERIA CBOA
 
 var adapter, peerListener, t = async_test("NFCPeerDetectCallback_ondetach", {timeout: 90000});
index e5f21f6aca74a26b9a423055bda19426d2b8f905..7e0237522e5d8761742e32b846dc5a109473e472 100644 (file)
@@ -43,12 +43,12 @@ Authors:
 //==== LABEL check if errorCallback of sendNDEF can be called successfully when error occurs
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== STEP Put other NFC device close to Your device. Just for a moment so it would be detected. Then take it away.
+//==== STEP Click "Run". Put the other NFC device close to your device until it will be detected and then take it away before the expiration of 3 seconds.
 //==== EXPECT pass
 //==== SPEC Tizen Web API:Communication:NFC:NFCPeer:sendNDEF M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.
 //==== TEST_CRITERIA MERRCB
-//==== PRE Turn on NFC adapter.
 
 
 var adapter, ndefMessage, onSuccessCB, successCallback, errorCallback, delayedSend,
@@ -76,7 +76,7 @@ t.step(function () {
 
     onSuccessCB = {
         onattach : t.step_func(function (nfcPeer) {
-            setTimeout(delayedSend, 1000, nfcPeer);
+            setTimeout(delayedSend, 3000, nfcPeer);
         }),
         ondetach : t.step_func(function () {
             adapter.unsetPeerListener();
index 061b84967f3cd6064119613d8bcdb4f9c410d956..ecbc62a33a4d0596fc17b4667303e86457f46da0 100644 (file)
@@ -42,10 +42,11 @@ Authors:
 //==== LABEL Check using sendNDEF method which is in NFCPeer interface to send data
 //==== PRIORITY P1
 //==== EXECUTION_TYPE manual
-//==== STEP Move other NFC device close so it will be detected
+//==== STEP Click "Run". Move other NFC device close so it will be detected.
 //==== EXPECT pass - data sent successfully
 //==== SPEC Tizen Web API:Communication:NFC:NFCPeer:sendNDEF M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.
 //==== TEST_CRITERIA MMINA MR
 
 var adapter, nfcPeer,
index 543c7cfb874ab1e6a7347b2598c63aa60fc4ffae..981c15a866dfad71f6bf0b50aa0e9fa7e8ccf28f 100644 (file)
@@ -32,10 +32,11 @@ Authors:
 //==== TEST: NFCPeer_sendNDEF_with_errorCallback
 //==== LABEL Check if method NFCPeer::sendNDEF(ndefMessage, onSuccess, onError) can be called successfully
 //==== EXECUTION_TYPE manual
-//==== STEP Move other NFC device close so it will be detected. If other device receives message then PASS.
+//==== STEP Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.
 //==== EXPECT pass
 //==== SPEC Tizen Web API:Communication:NFC:NFCPeer:sendNDEF M
 //==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.
 //==== TEST_CRITERIA MOA MR
 
 var t = async_test("NFCPeer_sendNDEF_with_errorCallback", {timeout: 90000}),
index 710db2f1c87fd2a5a4760e27ad882395b44c2e65..f2fcc1b24e03d8b23e25434a542b7a117c6e13d5 100644 (file)
@@ -33,10 +33,11 @@ Authors:
 //==== TEST: NFCPeer_sendNDEF_with_successCallback
 //==== LABEL Check if NFCPeer::sendNDEF(ndefMessage, onSuccess) can be called successfully
 //==== EXECUTION_TYPE manual
-//==== STEP Move other NFC device close so it will be detected. If other device receives message then PASS.
+//==== STEP Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.
 //==== EXPECT pass
 //==== SPEC Tizen Web API:Communication:NFC:NFCPeer:sendNDEF M
 //==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.
 //==== TEST_CRITERIA MOA MR
 
 var t = async_test("NFCPeer_sendNDEF_with_successCallback", {timeout: 90000}),
index ae245bb764911da59640f8f9afbe4697f97f8d1e..43036c931cfabbca6a24b0d2c7c0c13fbfde638b 100644 (file)
@@ -35,10 +35,11 @@ Authors:
 //==== TEST: NFCPeer_unsetReceiveNDEFListener
 //==== LABEL Check if NFCPeer::unsetReceiveNDEFListener() method works properly
 //==== EXECUTION_TYPE manual
-//==== STEP Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.
+//==== STEP Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.
 //==== EXPECT pass
 //==== SPEC Tizen Web API:Communication:NFC:NFCPeer:unsetReceiveNDEFListener M
 //==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.
 //==== TEST_CRITERIA MR MNA MNAST
 
 var t = async_test("NFCPeer_unsetReceiveNDEFListener", {timeout: 90000});
index bb6c084fa68ceb128fe99f51df47517a47e5ffd8..bcee8593ee7cee2f51bee4e6795a81a4b75a7164 100644 (file)
@@ -33,10 +33,11 @@ Authors:
 //==== LABEL Check if method unsetReceiveNDEFListener of NFCPeer accepts extra argument
 //==== EXECUTION_TYPE manual
 //==== PRIORITY P2
-//==== STEP Move other NFC device close so it will be detected
+//==== STEP Click "Run". Move other NFC device close so it will be detected.
 //==== EXPECT Pass
 //==== SPEC Tizen Web API:Communication:NFC:NFCPeer:unsetReceiveNDEFListener M
 //==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare the other device with NFC turned on.
 //==== TEST_CRITERIA MNAEX
 
 var adapter, t = async_test("NFCPeer_unsetReceiveNDEFListener_extra_argument", {timeout: 90000});
index b357dbe2362e736369bcc5e2daf87a76970d22e8..81b43b213069f73fb382030bda59297d86cbd0f1 100644 (file)
@@ -34,8 +34,9 @@ Authors:
 //==== LABEL Check NFCTag attributes, method existence and TypeMismatchError throwing
 //==== EXECUTION_TYPE manual
 //==== PRIORITY P3
-//==== STEP Move NFC tag close so it will be detected
+//==== STEP Click "Run". Move NFC tag close so it will be detected.
 //==== EXPECT Pass
+//==== PRE Turn on NFC adapter. Prepare NFC tag.
 //==== SPEC Tizen Web API:Communication:NFC:NFCTag:isConnected A
 //==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html
 //==== TEST_CRITERIA AE AT ARO
index 94ca3913488f10a7d434155fb3626ef4acf46624..8c9c12dbe4421688f835a9bba4be9fa9088410d1 100644 (file)
@@ -41,10 +41,11 @@ Authors:
 //==== TEST: NFCTagDetectCallback_onattach
 //==== LABEL Test unsetTagListener for check NFCTagDetectCallback onattach method
 //==== EXECUTION_TYPE manual
-//==== STEP Move NFC tag close so it will be detected
+//==== STEP Click "Run". Move NFC tag close so it will be detected.
 //==== EXPECT pass - after setTagListener onattach callback was called
 //==== SPEC Tizen Web API:Communication:NFC:NFCTagDetectCallback:onattach M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare NFC tag
 //==== TEST_CRITERIA CBOA CBT
 
 var adapter, onSuccessCB,
index 94f1bcad845a2dc3f3c19e511da08cb1f30b61a7..5142ee04753d9df14ad362900593ca1405d544a4 100644 (file)
@@ -41,10 +41,11 @@ Authors:
 //==== TEST: NFCTagDetectCallback_ondetach
 //==== LABEL Test NFCAdapter.setTagListener for check NFCTagDetectCallback.ondetach
 //==== EXECUTION_TYPE manual
-//==== STEP Move NFC tag close so it will be detected and then take it away.
+//==== STEP Click "Run". Move NFC tag close until it will be detected and then take it away.
 //==== EXPECT pass - after setTagListener ondetach callback is called
 //==== SPEC Tizen Web API:Communication:NFC:NFCTagDetectCallback:ondetach M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare NFC tag.
 //==== TEST_CRITERIA CBOA
 
 setup({timeout: 90000});
index 087ac43d60994ec1fb05519974ba3418276c3bf7..7d6caf0a4eabe7fc758ce7ec7feb5092f4cf9d85 100644 (file)
@@ -42,11 +42,11 @@ Authors:
 //==== LABEL check if errorCallback of readNDEF can be called successfully when error occurs
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== STEP Put NFC tag close to Your device. Just for a moment so it could be detected. Then take it away.
+//==== STEP Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.
 //==== EXPECT pass - readNDEF reported failure by error callback
 //==== SPEC Tizen Web API:Communication:NFC:NFCTag:readNDEF M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/nfc.html
-//==== PRE Turn on NFCAdapter,Accesses to the NFC tag.Reads NDEF data from the NFC tag.
+//==== PRE Turn on NFC adapter. Prepare NFC tag.
 //==== TEST_CRITERIA MERRCB
 
 
@@ -71,7 +71,7 @@ t.step(function () {
 
     onSuccessCB = {
         onattach : t.step_func(function (nfcTag) {
-            setTimeout(doRead, 1000, nfcTag);
+            setTimeout(doRead, 3000, nfcTag);
         }),
         ondetach : t.step_func(function () {
             adapter.unsetTagListener();
index 932dc9befb2ec709b102057b8b11ee864b65b67b..abfed0704bc2da1dd6993edbbacda620c7d11b7b 100644 (file)
@@ -42,10 +42,11 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NFCTag_readNDEF_without_errorCallback
-//==== LABEL Check reading NDEF data can be read successfully read from NFCTag
+//==== LABEL Check reading NDEF data from NFC tag
 //==== EXECUTION_TYPE manual
-//==== STEP Move NFC tag close so it will be detected
+//==== STEP Click "Run". Move NFC tag close so it will be detected.
 //==== EXPECT pass - read the NDEF data successfully
+//==== PRE Turn on NFC adapter. Prepare NFC tag.
 //==== ONLOAD_DELAY 90
 //==== SPEC Tizen Web API:Communication:NFC:NFCTag:readNDEF M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.help.web.api.device/tizen/nfc.html
index 2e2c83f66a939d7867d61fd91c31297898819e78..f5918541ac9ec66a003b33a5f2f835ef6b2abec4 100644 (file)
@@ -43,11 +43,11 @@ Authors:
 //==== LABEL check if errorCallback of transceive can be called successfully when error occurs
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== STEP Move NFC tag close so it will be detected and then take it away.
+//==== STEP Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.
 //==== EXPECT pass - transceive reported failure by error callback
 //==== SPEC Tizen Web API:Communication:NFC:NFCTag:transceive M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html
-//==== PRE Turn on NFCAdapter.
+//==== PRE Turn on NFC adapter. Prepare NFC tag.
 //==== TEST_CRITERIA MERRCB
 
 setup({timeout: 90000});
@@ -82,7 +82,7 @@ t.step(function () {
 
     tagListener = {
         onattach: t.step_func(function (nfcTag) {
-            setTimeout(delayedTransceive, 1000, nfcTag);
+            setTimeout(delayedTransceive, 3000, nfcTag);
         }),
 
         ondetach: t.step_func(function () {
index 56210bb8316c645736633c0819fa69b26ce8a76c..f03847e0d65b8ee077db70740b0e05f6b96d6d2b 100644 (file)
@@ -39,14 +39,14 @@ Authors:
 <div id="log"></div>
 <script type="text/javascript">
 //==== TEST: NFCTag_writeNDEF
-//==== LABEL check if successful callback of writeNDEF method is invoked whithout successcallback and errorcallback parameters
+//==== LABEL check writeNDEF method
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== STEP Move NFC tag close so it will be detected
+//==== STEP Click "Run". Move NFC tag close so it will be detected.
 //==== EXPECT pass - writeNDEF successfully without callback
 //==== SPEC Tizen Web API:Communication:NFC:NFCTag:writeNDEF M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html
-//==== PRE Turn on NFCAdapter,Accesses to the NFC tag.Writes NDEF data to the NFC tag.
+//==== PRE Turn on NFC adapter. Prepare NFC tag.
 //==== TEST_CRITERIA MR MMINA
 
 var adapter, tagListener, ndefMessage, returned,
index 86ae4bf2197a11c6c68192e0a422ad8d6a10ce37..32942340d6eae281a3f28895bbbbc1215d71ee47 100644 (file)
@@ -43,11 +43,11 @@ Authors:
 //==== LABEL check if errorCallback of writeNDEF can be called successfully when error occurs
 //==== PRIORITY P2
 //==== EXECUTION_TYPE manual
-//==== STEP Move NFC tag close so it will be detected and then take it away.
+//==== STEP Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.
 //==== EXPECT pass - writeNDEF reported failure by error callback
 //==== SPEC Tizen Web API:Communication:NFC:NFCTag:writeNDEF M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html
-//==== PRE Turn on NFCAdapter,Accesses to the NFC tag.Writes NDEF data to the NFC tag.
+//==== PRE Turn on NFC adapter. Prepare NFC tag.
 //==== TEST_CRITERIA MERRCB
 
 var adapter, ndefMessage, onSuccessCB, successCallback, errorCallback, doWrite,
@@ -74,7 +74,7 @@ t.step(function () {
 
     onSuccessCB = {
         onattach : t.step_func(function (nfcTag) {
-            setTimeout(doWrite, 1000, nfcTag);
+            setTimeout(doWrite, 3000, nfcTag);
         }),
         ondetach : t.step_func(function () {
             adapter.unsetTagListener();
index 11b7734e7e950cb9e4431985780d0ed31edad6e8..1ae86f08024dc91f10dcdd597b696ef5a5c88a43 100644 (file)
@@ -44,10 +44,11 @@ Authors:
 //==== TEST: NFCTag_writeNDEF_with_successCallback
 //==== LABEL Check if successfully writing the NDEF Data
 //==== EXECUTION_TYPE manual
-//==== STEP Move NFC tag close so it will be detected
+//==== STEP Click "Run". Move NFC tag close so it will be detected.
 //==== EXPECT pass - writing the NDEF Data successfully
 //==== SPEC Tizen Web API:Communication:NFC:NFCTag:writeNDEF M
 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/nfc.html
+//==== PRE Turn on NFC adapter. Prepare NFC tag.
 //==== TEST_CRITERIA MOA MAST
 
 var t = async_test("NFCTag_writeNDEF_with_successCallback", {timeout: 90000});
index b8294277717cd838c830d2361c25a75bbb0eb330..153973460f862f3fb91ae9a84009aa1b21f54167 100644 (file)
       </testcase>
       <testcase purpose="check if errorCallback of readNDEF can be called successfully when error occurs" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_readNDEF_errorCallback">
         <description>
-          <pre_condition>Turn on NFCAdapter,Accesses to the NFC tag.Reads NDEF data from the NFC tag.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Put NFC tag close to Your device. Just for a moment so it could be detected. Then take it away.</step_desc>
+              <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
               <expected>pass - readNDEF reported failure by error callback</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Test NFCAdapter.setTagListener for check NFCTagDetectCallback.ondetach" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_ondetach">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected and then take it away.</step_desc>
+              <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away.</step_desc>
               <expected>pass - after setTagListener ondetach callback is called</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="check if errorCallback of transceive can be called successfully when error occurs" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_transceive_with_errorCallback">
         <description>
-          <pre_condition>Turn on NFCAdapter.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected and then take it away.</step_desc>
+              <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
               <expected>pass - transceive reported failure by error callback</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="check if errorCallback of writeNDEF can be called successfully when error occurs" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF_with_errorCallback">
         <description>
-          <pre_condition>Turn on NFCAdapter,Accesses to the NFC tag.Writes NDEF data to the NFC tag.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected and then take it away.</step_desc>
+              <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
               <expected>pass - writeNDEF reported failure by error callback</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if successfully unset listener for detecting an NFC tag" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetTagListener">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected and then click "Tag was attached" button</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected and then click "Tag was attached" button.</step_desc>
               <expected>pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if successfully unset listener for detecting an NFC peer-to-peer target" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_unsetPeerListener">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected and then click "Peer was attached" button</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected and then click "Peer was attached" button.</step_desc>
               <expected>Pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if method NFCPeer::sendNDEF(ndefMessage, onSuccess, onError) can be called successfully" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_errorCallback">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
               <expected>pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if NFCPeer::sendNDEF(ndefMessage, onSuccess) can be called successfully" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_with_successCallback">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
               <expected>pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="check if errorCallback of sendNDEF can be called successfully when error occurs" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_sendNDEF_errorCallback">
         <description>
-          <pre_condition>Turn on NFC adapter.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Put other NFC device close to Your device. Just for a moment so it would be detected. Then take it away.</step_desc>
+              <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
               <expected>pass</expected>
             </step>
           </steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if SuccessCallback of sendNDEF can be called successfully when sends data to peer target" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_ondetach">
+      <testcase purpose="Test NFCAdapter.setPeerListener for check NFCPeerDetectCallback.ondetach" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_ondetach">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Put other NFC device close to Your device. Just for a moment so it would be detected. Then take it away.</step_desc>
-              <expected>pass - sendNDEF was be successful</expected>
+              <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away.</step_desc>
+              <expected>pass - peerListener ondetach callback should be invoked</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_ondetach.html</test_script_entry>
       </testcase>
       <testcase purpose="Check using sendNDEF method which is in NFCPeer interface to send data" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_sendNDEF_sendData">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
               <expected>pass - data sent successfully</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if NFCPeer::unsetReceiveNDEFListener() method works properly" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeer_unsetReceiveNDEFListener">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
               <expected>pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if method unsetReceiveNDEFListener of NFCPeer accepts extra argument" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCPeer_unsetReceiveNDEFListener_extra_argument">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
               <expected>Pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="check if detectCallback of setPeerListener can be called successfully when NFC peer-to-peer target is detected" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setPeerListener">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
               <expected>pass - peer detected</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Test setPeerListener for check NFCPeerDetectCallback onattach method" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCPeerDetectCallback_onattach">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected</step_desc>
-              <expected>pass - setPeerListener onSuccess calle calledd</expected>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+              <expected>pass - setPeerListener onSuccess called</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html</test_script_entry>
       </testcase>
       <testcase purpose="Check NFCPeer attributes, method existence and TypeMismatchError throwing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCPeer">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
               <expected>Pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="check if successful callback of setTagListener method is invoked when tagFilter is set to null" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_tagFilter_is_null">
         <description>
-          <pre_condition>Turn on NFC adapter.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close to the device so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
               <expected>should be passed</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="check if successful callback of setTagListener method is invoked with tagFilter parameters" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCAdapter_setTagListener_with_tagFilter">
         <description>
-          <pre_condition>Turn on NFC adapter.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close to the device so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
               <expected>should be passed</expected>
             </step>
           </steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check reading NDEF data can be read successfully read from NFCTag" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_readNDEF_without_errorCallback">
+      <testcase purpose="Check reading NDEF data from NFC tag" type="compliance" onload_delay="90" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_readNDEF_without_errorCallback">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
               <expected>pass - read the NDEF data successfully</expected>
             </step>
           </steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="Check if invoked in case of successful detection of the NFC tag" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setTagListener">
+      <testcase purpose="Check if tagListener.onattach is invoked in case of successful detection of the NFC tag" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCAdapter_setTagListener">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
               <expected>pass - tag detected</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Test unsetTagListener for check NFCTagDetectCallback onattach method" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTagDetectCallback_onattach">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
               <expected>pass - after setTagListener onattach callback was called</expected>
             </step>
           </steps>
           </spec>
         </specs>
       </testcase>
-      <testcase purpose="check if successful callback of writeNDEF method is invoked whithout successcallback and errorcallback parameters" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF">
+      <testcase purpose="check writeNDEF method" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P2" id="NFCTag_writeNDEF">
         <description>
-          <pre_condition>Turn on NFCAdapter,Accesses to the NFC tag.Writes NDEF data to the NFC tag.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
               <expected>pass - writeNDEF successfully without callback</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if successfully writing the NDEF Data" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P1" id="NFCTag_writeNDEF_with_successCallback">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
               <expected>pass - writing the NDEF Data successfully</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check NFCTag attributes, method existence and TypeMismatchError throwing" type="compliance" status="approved" component="TizenAPI/Communication/NFC" execution_type="manual" priority="P3" id="NFCTag">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
               <expected>Pass</expected>
             </step>
           </steps>
index 62a38b8bee62ec41426e5f90e69858a24709832e..f2810b6cc10f9fc5c150854b6cfe9b38cae2a12b 100644 (file)
       </testcase>
       <testcase purpose="check if errorCallback of readNDEF can be called successfully when error occurs" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCTag_readNDEF_errorCallback">
         <description>
-          <pre_condition>Turn on NFCAdapter,Accesses to the NFC tag.Reads NDEF data from the NFC tag.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Put NFC tag close to Your device. Just for a moment so it could be detected. Then take it away.</step_desc>
+              <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
               <expected>pass - readNDEF reported failure by error callback</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Test NFCAdapter.setTagListener for check NFCTagDetectCallback.ondetach" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCTagDetectCallback_ondetach">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected and then take it away.</step_desc>
+              <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away.</step_desc>
               <expected>pass - after setTagListener ondetach callback is called</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="check if errorCallback of transceive can be called successfully when error occurs" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCTag_transceive_with_errorCallback">
         <description>
-          <pre_condition>Turn on NFCAdapter.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected and then take it away.</step_desc>
+              <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
               <expected>pass - transceive reported failure by error callback</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="check if errorCallback of writeNDEF can be called successfully when error occurs" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCTag_writeNDEF_with_errorCallback">
         <description>
-          <pre_condition>Turn on NFCAdapter,Accesses to the NFC tag.Writes NDEF data to the NFC tag.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected and then take it away.</step_desc>
+              <step_desc>Click "Run". Move NFC tag close until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
               <expected>pass - writeNDEF reported failure by error callback</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if successfully unset listener for detecting an NFC tag" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCAdapter_unsetTagListener">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected and then click "Tag was attached" button</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected and then click "Tag was attached" button.</step_desc>
               <expected>pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if successfully unset listener for detecting an NFC peer-to-peer target" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCAdapter_unsetPeerListener">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected and then click "Peer was attached" button</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected and then click "Peer was attached" button.</step_desc>
               <expected>Pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if method NFCPeer::sendNDEF(ndefMessage, onSuccess, onError) can be called successfully" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCPeer_sendNDEF_with_errorCallback">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
               <expected>pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if NFCPeer::sendNDEF(ndefMessage, onSuccess) can be called successfully" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCPeer_sendNDEF_with_successCallback">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected. If other device receives message then PASS.</step_desc>
               <expected>pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="check if errorCallback of sendNDEF can be called successfully when error occurs" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCPeer_sendNDEF_errorCallback">
         <description>
-          <pre_condition>Turn on NFC adapter.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Put other NFC device close to Your device. Just for a moment so it would be detected. Then take it away.</step_desc>
+              <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away before the expiration of 3 seconds.</step_desc>
               <expected>pass</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeer_sendNDEF_errorCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if SuccessCallback of sendNDEF can be called successfully when sends data to peer target" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCPeerDetectCallback_ondetach">
+      <testcase purpose="Test NFCAdapter.setPeerListener for check NFCPeerDetectCallback.ondetach" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCPeerDetectCallback_ondetach">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Put other NFC device close to Your device. Just for a moment so it would be detected. Then take it away.</step_desc>
-              <expected>pass - sendNDEF was be successful</expected>
+              <step_desc>Click "Run". Put the other NFC device close to your device until it will be detected and then take it away.</step_desc>
+              <expected>pass - peerListener ondetach callback should be invoked</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_ondetach.html</test_script_entry>
       </testcase>
       <testcase purpose="Check using sendNDEF method which is in NFCPeer interface to send data" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCPeer_sendNDEF_sendData">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to take NDEF message from NFC.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
               <expected>pass - data sent successfully</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if NFCPeer::unsetReceiveNDEFListener() method works properly" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCPeer_unsetReceiveNDEFListener">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on. Other device should be able to send NDEF message by NFC.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected, then send a NFC message from it. Then click the "Message was sent" button below.</step_desc>
               <expected>pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if method unsetReceiveNDEFListener of NFCPeer accepts extra argument" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCPeer_unsetReceiveNDEFListener_extra_argument">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
               <expected>Pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="check if detectCallback of setPeerListener can be called successfully when NFC peer-to-peer target is detected" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCAdapter_setPeerListener">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
               <expected>pass - peer detected</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Test setPeerListener for check NFCPeerDetectCallback onattach method" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCPeerDetectCallback_onattach">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected</step_desc>
-              <expected>pass - setPeerListener onSuccess calle calledd</expected>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
+              <expected>pass - setPeerListener onSuccess called</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCPeerDetectCallback_onattach.html</test_script_entry>
       </testcase>
       <testcase purpose="Check NFCPeer attributes, method existence and TypeMismatchError throwing" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCPeer">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare the other device with NFC turned on.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move other NFC device close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move other NFC device close so it will be detected.</step_desc>
               <expected>Pass</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="check if successful callback of setTagListener method is invoked when tagFilter is set to null" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCAdapter_setTagListener_tagFilter_is_null">
         <description>
-          <pre_condition>Turn on NFC adapter.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close to the device so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
               <expected>should be passed</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="check if successful callback of setTagListener method is invoked with tagFilter parameters" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCAdapter_setTagListener_with_tagFilter">
         <description>
-          <pre_condition>Turn on NFC adapter.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close to the device so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close to the device so it will be detected.</step_desc>
               <expected>should be passed</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCAdapter_setTagListener_with_tagFilter.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check reading NDEF data can be read successfully read from NFCTag" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCTag_readNDEF_without_errorCallback">
+      <testcase purpose="Check reading NDEF data from NFC tag" onload_delay="90" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCTag_readNDEF_without_errorCallback">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
               <expected>pass - read the NDEF data successfully</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTag_readNDEF_without_errorCallback.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="Check if invoked in case of successful detection of the NFC tag" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCAdapter_setTagListener">
+      <testcase purpose="Check if tagListener.onattach is invoked in case of successful detection of the NFC tag" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCAdapter_setTagListener">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
               <expected>pass - tag detected</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Test unsetTagListener for check NFCTagDetectCallback onattach method" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCTagDetectCallback_onattach">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
               <expected>pass - after setTagListener onattach callback was called</expected>
             </step>
           </steps>
           <test_script_entry>/opt/tct-nfc-tizen-tests/nfc/NFCTagDetectCallback_onattach.html</test_script_entry>
         </description>
       </testcase>
-      <testcase purpose="check if successful callback of writeNDEF method is invoked whithout successcallback and errorcallback parameters" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCTag_writeNDEF">
+      <testcase purpose="check writeNDEF method" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCTag_writeNDEF">
         <description>
-          <pre_condition>Turn on NFCAdapter,Accesses to the NFC tag.Writes NDEF data to the NFC tag.</pre_condition>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
               <expected>pass - writeNDEF successfully without callback</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check if successfully writing the NDEF Data" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCTag_writeNDEF_with_successCallback">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
               <expected>pass - writing the NDEF Data successfully</expected>
             </step>
           </steps>
       </testcase>
       <testcase purpose="Check NFCTag attributes, method existence and TypeMismatchError throwing" component="TizenAPI/Communication/NFC" execution_type="manual" id="NFCTag">
         <description>
+          <pre_condition>Turn on NFC adapter. Prepare NFC tag.</pre_condition>
           <steps>
             <step order="1">
-              <step_desc>Move NFC tag close so it will be detected</step_desc>
+              <step_desc>Click "Run". Move NFC tag close so it will be detected.</step_desc>
               <expected>Pass</expected>
             </step>
           </steps>