{"action":"opened","issue":{"url":"https://api.github.com/repos/NordicSemiconductor/nRF-Master-Control-Panel/issues/3","labels_url":"https://api.github.com/repos/NordicSemiconductor/nRF-Master-Control-Panel/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/NordicSemiconductor/nRF-Master-Control-Panel/issues/3/comments","events_url":"https://api.github.com/repos/NordicSemiconductor/nRF-Master-Control-Panel/issues/3/events","html_url":"https://github.com/NordicSemiconductor/nRF-Master-Control-Panel/issues/3","id":130364791,"number":3,"title":"automated testing","user":{"login":"schoensn","id":17006063,"avatar_url":"https://avatars.githubusercontent.com/u/17006063?v=3","gravatar_id":"","url":"https://api.github.com/users/schoensn","html_url":"https://github.com/schoensn","followers_url":"https://api.github.com/users/schoensn/followers","following_url":"https://api.github.com/users/schoensn/following{/other_user}","gists_url":"https://api.github.com/users/schoensn/gists{/gist_id}","starred_url":"https://api.github.com/users/schoensn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schoensn/subscriptions","organizations_url":"https://api.github.com/users/schoensn/orgs","repos_url":"https://api.github.com/users/schoensn/repos","events_url":"https://api.github.com/users/schoensn/events{/privacy}","received_events_url":"https://api.github.com/users/schoensn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-01T13:40:50Z","updated_at":"2016-02-01T13:40:50Z","closed_at":null,"body":"I´ve tried to use the automated testing function. \r\nI have edited the sample_test_hrm.xml script and followed the instruciton in the documentation to test the device information service. \r\n\r\nthe android debug bridge seems to work. I have testet some commonds before I started the script. In the script i first want to test the \"connect\" operation, but no result file is generated. it seems that the master control panel (Version 4.03) does not try to connect to my application that runs on a nRF52 DK. the master control panel runs on a sony xperia z android version 5.1.1\r\n\r\non the command prompt the script stops with \"waiting for the results\"\r\n\r\nhere is my script file\r\n ` <test-suite description=\"Device Information Service\">\r\n    <!-- \r\n        Tests MAY be parametrized. To define a variable use the 'set' element.\r\n        You may also inject variables from the command line with -E KEY VALUE, f.e. 'test -E EXTRA_ADDRESS 00:11:22:33:44:55 example.xml'.\r\n    -->\r\n    <set name=\"DEVICE_INFORMATION_SERVICE_UUID\" value=\"0000180A-0000-1000-8000-00805f9b34fb\" />\r\n    <set name=\"MANUFACTURER_CHAR_UUID\" value=\"00002A29-0000-1000-8000-00805f9b34fb\" />\r\n    <set name=\"MODEL_CHAR_UUID\" value=\"00002A24-0000-1000-8000-00805f9b34fb\" />\r\n    <set name=\"HW_CHAR_UUID\" value=\"00002A27-0000-1000-8000-00805f9b34fb\" />\r\n    <set name=\"FW_CHAR_UUID\" value=\"00002A26-0000-1000-8000-00805f9b34fb\" />\r\n    <!-- <set name=\"EXTRA_ADDRESS\" value=\"C5:7F:B0:8E:AA:91\"    />\r\n\r\n    <!-- \r\n        Define devices to test. A Target MAY have a 'name' attribute with a user friendly name and MUST have the 'address' definition with the Bluetooth Smart device address.\r\n        You MAY specify more than one target but at least one MUST be specified. \r\n    -->\r\n    <target id=\"devkit_1\" name=\"Dev Kit 1\" address=\"${EXTRA_ADDRESS}\" />\r\n\r\n    <!-- \r\n        Define tests. Test MUST contain at least one operation elements. Each operation will be performed in order from top to bottom and a result will be logged in the output file.\r\n        Each test and operation MAY have a 'description' attribute and a target reference. Target may be specified for the test (as a default one for every included operation) and\r\n        for each operation inside, so you may connect to more than one device in a single test.\r\n        All operations in the test, except Assert-Services and \"DFU\" may have a timeout specified using 'timeout' attribute (in milliseconds). The default timeout is 5000 milliseconds.\r\n    -->\r\n    <test id=\"basics\" description=\"Check basic connectivity of ${EXTRA_ADDRESS}\" target=\"devkit_1\">\r\n\r\n\r\n        <!-- \r\n            First let's connect to the device. The 'description' attribute has been omitted. The tag name will be used as the description. \r\n            By setting the 'timeout' attribute to 4000 ms we ensure that the connection attempt will take no longer than that.\r\n            The 'connect' operation is followed by 1 second break to give Android some time before the next operation.\r\n        -->\r\n        <connect timeout=\"4000\" />\r\n\r\n        <!-- \r\n            Before we discover services let's make sure that the cache is clear. The services might have changed on the device. The 'refresh' operation must be called after the \r\n            device has been connected at least once (a BluetoothGatt object has been created using connectGatt(...) method).\r\n            Actually there is not need to refresh services in this sample as the 'dfu' operation in the DFU Test (check the next test definition), which is being run prior to this, \r\n            does it automatically when completed.\r\n            The 'refresh' operation is followed by 1 second break to give Android some time before the next operation as it will cause the Android-internal service discovery.\r\n        -->\r\n        <refresh />\r\n\r\n        <!-- \r\n            In order to read or write something we have to discover available services. \r\n            The 'target' is set, but as it is the same as for the test, it could have been omitted.\r\n            The 'description' has not been specified and therefore it's set to a default value - \"Discover-Services\".\r\n        -->\r\n        <discover-services target=\"devkit_1\" timeout=\"10000\" />\r\n    </test>\r\n\r\n    <run-test ref=\"basics\" description=\"Basic tests for DIS\">\r\n\r\n    </run-test> \r\n</test-suite>`\r\n\r\ndo you have any idea why the script does not work? \r\n"}}