//==== 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});
<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});
//==== 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
//==== 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});
//==== 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,
//==== 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});
//==== 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
//==== 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;
<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});
//==== 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,
onSuccessCB = {
onattach : t.step_func(function (nfcPeer) {
- setTimeout(delayedSend, 1000, nfcPeer);
+ setTimeout(delayedSend, 3000, nfcPeer);
}),
ondetach : t.step_func(function () {
adapter.unsetPeerListener();
//==== 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,
//==== 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}),
//==== 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}),
//==== 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});
//==== 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});
//==== 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
//==== 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,
//==== 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});
//==== 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
onSuccessCB = {
onattach : t.step_func(function (nfcTag) {
- setTimeout(doRead, 1000, nfcTag);
+ setTimeout(doRead, 3000, nfcTag);
}),
ondetach : t.step_func(function () {
adapter.unsetTagListener();
<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
//==== 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});
tagListener = {
onattach: t.step_func(function (nfcTag) {
- setTimeout(delayedTransceive, 1000, nfcTag);
+ setTimeout(delayedTransceive, 3000, nfcTag);
}),
ondetach: t.step_func(function () {
<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,
//==== 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,
onSuccessCB = {
onattach : t.step_func(function (nfcTag) {
- setTimeout(doWrite, 1000, nfcTag);
+ setTimeout(doWrite, 3000, nfcTag);
}),
ondetach : t.step_func(function () {
adapter.unsetTagListener();
//==== 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});
</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>
</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>