Mobile Testing App Connection when running TestRunner Tests.

16 posts, 0 answers
  1. Sashank
    Sashank avatar
    4 posts
    Member since:
    Sep 2012

    Posted 27 Feb 2014 Link to this post

    Hi there, I'm trying to run a test script using TestRunner on an iOS app.  Using the Mobile Testing app, it tells me the device is connected and ready to run tests.  When I go to actually run the testing, My app will launch, but the connection will drop out because the Mobile Testing app is no longer "running".  The Agent (My ipad) also drops off from the list.  I get the following error: 1 Agent stopped responding during execution.

    Am I missing something in running tests on the device?

  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 03 Mar 2014 Link to this post

    Hello Sashank,

    It sounds like the testing extension is not properly configured. I suspect the URL Type is set properly, since the Mobile Testing app switches to your app-under-test when execution begins. However if our testing extension is not applied or done so incorrectly, automation will fail.

    Please review these instructions, apply our extension to a duplicate QA-only target of your application, and redeploy it to the iPad.

    Regards,
    Anthony
    Telerik
    Test your Android and iOS apps against any device or browser with Telerik Mobile Testing. Part of the Telerik Platform.
  3. Sashank
    Sashank avatar
    4 posts
    Member since:
    Sep 2012

    Posted 03 Mar 2014 Link to this post

    Thanks for the Reply.

    Do the instructions apply for demoApplicationQA as well, because the problem occurs with that as well.  It will switch from the Mobile Testing App to the DemoApplicationQA and then fail with a 100:request timed out

  4. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 03 Mar 2014 Link to this post

    Hello Sashank,

    No, the instructions do not apply to the DemoApplication. Its QA target is already configured for automation. Are you certain you deployed the DemoApplicationQA target, and not the default one? Have you changed Settings to point at the iOS sample tests?

    We may also gain additional information from the logs. We'd like to see Xcode's output window after you deploy the QA target of your app with our testing extension applied.

    You can also launch the Test Runner with verbose logging turned on via a command line option. Type the following at the command prompt:

    tmtest server --launch-test-runner -v

    Go through the steps once again and send us its output after receiving the error.

    Regards,
    Anthony
    Telerik
    Test your Android and iOS apps against any device or browser with Telerik Mobile Testing. Part of the Telerik Platform.
  5. Sashank
    Sashank avatar
    4 posts
    Member since:
    Sep 2012

    Posted 04 Mar 2014 Link to this post

    Thanks Anthony.

    The settings points to: ./../samples/iOS/specs/ - Since it is switching to the DemoQA App I'm assuming its the right tests.
    Hope this helps.
    Here is the Xcode output:
    2014-03-04 08:11:05.470 DemoAppQA[2345:60b] +[UIApplication (TSExtend) load]
    2014-03-04 08:11:05.491 DemoAppQA[2345:60b] +[UITableView (TSTableView) load]
    2014-03-04 08:11:05.507 DemoAppQA[2345:60b] +[UITextView (TSTextView) load]
    2014-03-04 08:11:05.510 DemoAppQA[2345:60b] +[UIPickerView (TSPickerView) load]
    2014-03-04 08:11:05.512 DemoAppQA[2345:60b] +[UITextField (TSTextField) Load]
    2014-03-04 08:11:05.514 DemoAppQA[2345:60b] +[UICollectionView (TSCollectionView) load]
    2014-03-04 08:11:05.515 DemoAppQA[2345:60b] +[UISearchBar (TSSearchBar) load]
    2014-03-04 08:11:05.517 DemoAppQA[2345:60b] +[UIWebView (TSWebView) load]
    2014-03-04 08:11:05.818 DemoAppQA[2345:60b] Swizzled UITableView delegate methods with JRSwizzle!
    2014-03-04 08:11:05.904 DemoAppQA[2345:60b] Starting Mobile Testing...                                                                                                       
     Here is the  test runner output:
     
    C:\Telerik Mobile Testing>tmtest server --launch-test-runner -v
    <removed IP's for security>
    server.js:1 Client connecting...

    server.js:1 Sending message
    {
      "fromId": "server",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "id": "4ac62dfd-6248-4e69-9d00-613c519b6f64",
      "data": {
        "handshake": "hs_get_client_info"
      }
    }


    server.js:1 Received message
    {
      "fromId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "id": "B2B9C175-9327-466C-8581-58E30759E6FB-2335-000003EB9D504D3F",
      "responseToMessageId": "4ac62dfd-6248-4e69-9d00-613c519b6f64",
      "data": {
        "capabilities": [
          "automation_execution_agent"
        ],
        "platformInfo": {
          "name": "Software QA Unit #3",
          "platformKey": "ios",
          "system": "iPhone OS",
          "platform": "iPad 2 (WiFi)",
          "systemVersion": "7.0.6",
          "browser": {
            "name": "Safari",
            "version": ""
          }
        },
        "version": "1.0.0",
        "identity": {
          "sharedKey": "5e2e79fa-a3b3-9b65-a9ee-dafa1d83fc68"
        }
      },
      "timestamp": 0,
      "toId": "server"
    }

    server.js:1 Message is meant for server. Processing...
    server.js:1 Calling callback stored for previous message

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "id": "f63eedb8-394c-44c4-a8a2-7d0adfd72ada",
      "data": {
        "handshake": "hs_accepted",
        "id": "cc80905a-0515-4147-9d8f-ec43c779d736"
      },
      "responseToMessageId": "B2B9C175-9327-466C-8581-58E30759E6FB-2335-000003EB9D504D3F"
    }

    server.js:1 Client connected
    server.js:1 Requesting registration of client
    server.js:1 Registering client
    server.js:1 creating sharedKey 5e2e79fa-a3b3-9b65-a9ee-dafa1d83fc68
    server.js:1 adding cc80905a-0515-4147-9d8f-ec43c779d736 to sharedKey 5e2e79fa-a3b3-9b65-a9ee-dafa1d83fc68
    server.js:1 Client connecting...

    server.js:1 Sending message
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "62db3d3a-d4a1-4e51-8cf2-c5b8d769e9a1",
      "data": {
        "handshake": "hs_get_client_info"
      }
    }


    server.js:1 Received message
    {
      "id": "7fca3ef2-83ff-4b98-9dfd-abbf6d2f59f7",
      "toId": "server",
      "data": {
        "version": "1.0.0",
        "platformInfo": {
          "platformKey": "web",
          "name": "Chrome",
          "platform": "Win32",
          "system": "Windows",
          "systemVersion": "",
          "browser": {
            "name": "Chrome",
            "version": "33.0.1750.117"
          }
        },
        "capabilities": [
          "automation_test_runner"
        ],
        "identity": {
          "sharedKey": "5e2e79fa-a3b3-9b65-a9ee-dafa1d83fc68"
        }
      },
      "responseToMessageId": "62db3d3a-d4a1-4e51-8cf2-c5b8d769e9a1",
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Message is meant for server. Processing...
    server.js:1 Calling callback stored for previous message

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "01e969d9-c9cc-4e55-aaf9-a0d566192176",
      "data": {
        "handshake": "hs_accepted",
        "id": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
      },
      "responseToMessageId": "7fca3ef2-83ff-4b98-9dfd-abbf6d2f59f7"
    }

    server.js:1 Client connected
    server.js:1 Requesting registration of client
    server.js:1 Registering client
    server.js:1 adding b4aa4dc6-c2c9-4df0-b348-b6294f5f477c to sharedKey 5e2e79fa-a3b3-9b65-a9ee-dafa1d83fc68

    server.js:1 Received message
    {
      "id": "9f966043-00a7-4d47-8a66-44ad98a3c8b6",
      "toId": "server",
      "data": {
        "cmd": "get-clients-with-capability",
        "params": {
          "capabilities": [
            "automation_execution_agent"
          ]
        }
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Message is meant for server. Processing...
    server.js:1 Getting clients with capability

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "250bdf5a-2e72-4541-84f9-f617ccd63e47",
      "data": [
        {
          "id": "cc80905a-0515-4147-9d8f-ec43c779d736",
          "platformInfo": {
            "name": "Software QA Unit #3",
            "platformKey": "ios",
            "system": "iPhone OS",
            "platform": "iPad 2 (WiFi)",
            "systemVersion": "7.0.6",
            "browser": {
              "name": "Safari",
              "version": ""
            }
          },
          "capabilities": [
            "automation_execution_agent"
          ]
        }
      ],
      "responseToMessageId": "9f966043-00a7-4d47-8a66-44ad98a3c8b6"
    }


    server.js:1 Received message
    {
      "id": "77c82072-1c7d-41cb-b7d9-10227c700099",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "ios.launch",
        "params": {
          "url": "tsdemoapplication://"
        }
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message

    server.js:1 Received message
    {
      "id": "0E8F5B25-E71A-418C-A30E-DF65F76D3774-2335-000003EBB3EF5F41",
      "data": {
        "cmd": "suspend"
      },
      "timestamp": 0,
      "toId": "server",
      "fromId": "cc80905a-0515-4147-9d8f-ec43c779d736"
    }

    server.js:1 Message is meant for server. Processing...
    server.js:1 Suspending client
    server.js:1 Client disconnected. Waiting 10s before removal

    server.js:1 Received message
    {
      "id": "618cb905-cca2-4182-8d5e-b80ed571ea18",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "coreApi.endExecution"
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message
    server.js:1 {"error":{"code":130,"description":"the recipient exists, but is not available"}}

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "a5577a2e-85c4-4ad4-94a8-c18ed7d9ea22",
      "data": {
        "error": {
          "code": 130,
          "description": "the recipient exists, but is not available"
        }
      },
      "responseToMessageId": "618cb905-cca2-4182-8d5e-b80ed571ea18"
    }


    server.js:1 Received message
    {
      "id": "af724105-c9d6-4805-833f-530c2494da4b",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "coreApi.endExecution"
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message
    server.js:1 {"error":{"code":130,"description":"the recipient exists, but is not available"}}

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "2b2c0b9f-dfa7-467a-a6ab-eb9e7a7ae246",
      "data": {
        "error": {
          "code": 130,
          "description": "the recipient exists, but is not available"
        }
      },
      "responseToMessageId": "af724105-c9d6-4805-833f-530c2494da4b"
    }


    server.js:1 Received message
    {
      "id": "1c82a9bf-f960-4edd-8479-7442d779c4cf",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "coreApi.endExecution"
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message
    server.js:1 {"error":{"code":130,"description":"the recipient exists, but is not available"}}

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "a50a3fd2-3acc-4aab-9b10-8757e2a592f7",
      "data": {
        "error": {
          "code": 130,
          "description": "the recipient exists, but is not available"
        }
      },
      "responseToMessageId": "1c82a9bf-f960-4edd-8479-7442d779c4cf"
    }


    server.js:1 Received message
    {
      "id": "2ba03711-9c3f-4f28-b432-5fa12e73c83e",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "coreApi.endExecution"
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message
    server.js:1 {"error":{"code":130,"description":"the recipient exists, but is not available"}}

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "b3c05d95-6c92-45f1-9a2e-f10b68edcd61",
      "data": {
        "error": {
          "code": 130,
          "description": "the recipient exists, but is not available"
        }
      },
      "responseToMessageId": "2ba03711-9c3f-4f28-b432-5fa12e73c83e"
    }


    server.js:1 Received message
    {
      "id": "470ec647-0d71-4df3-9501-6ca84b2ef25d",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "coreApi.endExecution"
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message
    server.js:1 {"error":{"code":130,"description":"the recipient exists, but is not available"}}

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "dfd11eff-a6c0-42d6-83e5-ba82d14f8092",
      "data": {
        "error": {
          "code": 130,
          "description": "the recipient exists, but is not available"
        }
      },
      "responseToMessageId": "470ec647-0d71-4df3-9501-6ca84b2ef25d"
    }

    server.js:1 Requesting removal from Clients list
    server.js:1 removing cc80905a-0515-4147-9d8f-ec43c779d736

    server.js:1 Received message
    {
      "id": "284921b3-cdfa-4ce8-8643-84bb2e64e9dc",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "coreApi.endExecution"
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message
    server.js:1 {"error":{"code":120,"description":"recipient not found"}}

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "2c7444aa-f104-43db-8ebb-d650c11caf84",
      "data": {
        "error": {
          "code": 120,
          "description": "recipient not found"
        }
      },
      "responseToMessageId": "284921b3-cdfa-4ce8-8643-84bb2e64e9dc"
    }

    http://192.168.168.127:3001/testrunner
    C:\Telerik Mobile Testing>tmtest server --launch-test-runner -v
    <removed IP's for security>
    server.js:1 Client connecting...

    server.js:1 Sending message
    {
      "fromId": "server",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "id": "4ac62dfd-6248-4e69-9d00-613c519b6f64",
      "data": {
        "handshake": "hs_get_client_info"
      }
    }


    server.js:1 Received message
    {
      "fromId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "id": "B2B9C175-9327-466C-8581-58E30759E6FB-2335-000003EB9D504D3F",
      "responseToMessageId": "4ac62dfd-6248-4e69-9d00-613c519b6f64",
      "data": {
        "capabilities": [
          "automation_execution_agent"
        ],
        "platformInfo": {
          "name": "Software QA Unit #3",
          "platformKey": "ios",
          "system": "iPhone OS",
          "platform": "iPad 2 (WiFi)",
          "systemVersion": "7.0.6",
          "browser": {
            "name": "Safari",
            "version": ""
          }
        },
        "version": "1.0.0",
        "identity": {
          "sharedKey": "5e2e79fa-a3b3-9b65-a9ee-dafa1d83fc68"
        }
      },
      "timestamp": 0,
      "toId": "server"
    }

    server.js:1 Message is meant for server. Processing...
    server.js:1 Calling callback stored for previous message

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "id": "f63eedb8-394c-44c4-a8a2-7d0adfd72ada",
      "data": {
        "handshake": "hs_accepted",
        "id": "cc80905a-0515-4147-9d8f-ec43c779d736"
      },
      "responseToMessageId": "B2B9C175-9327-466C-8581-58E30759E6FB-2335-000003EB9D504D3F"
    }

    server.js:1 Client connected
    server.js:1 Requesting registration of client
    server.js:1 Registering client
    server.js:1 creating sharedKey 5e2e79fa-a3b3-9b65-a9ee-dafa1d83fc68
    server.js:1 adding cc80905a-0515-4147-9d8f-ec43c779d736 to sharedKey 5e2e79fa-a3b3-9b65-a9ee-dafa1d83fc68
    server.js:1 Client connecting...

    server.js:1 Sending message
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "62db3d3a-d4a1-4e51-8cf2-c5b8d769e9a1",
      "data": {
        "handshake": "hs_get_client_info"
      }
    }


    server.js:1 Received message
    {
      "id": "7fca3ef2-83ff-4b98-9dfd-abbf6d2f59f7",
      "toId": "server",
      "data": {
        "version": "1.0.0",
        "platformInfo": {
          "platformKey": "web",
          "name": "Chrome",
          "platform": "Win32",
          "system": "Windows",
          "systemVersion": "",
          "browser": {
            "name": "Chrome",
            "version": "33.0.1750.117"
          }
        },
        "capabilities": [
          "automation_test_runner"
        ],
        "identity": {
          "sharedKey": "5e2e79fa-a3b3-9b65-a9ee-dafa1d83fc68"
        }
      },
      "responseToMessageId": "62db3d3a-d4a1-4e51-8cf2-c5b8d769e9a1",
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Message is meant for server. Processing...
    server.js:1 Calling callback stored for previous message

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "01e969d9-c9cc-4e55-aaf9-a0d566192176",
      "data": {
        "handshake": "hs_accepted",
        "id": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
      },
      "responseToMessageId": "7fca3ef2-83ff-4b98-9dfd-abbf6d2f59f7"
    }

    server.js:1 Client connected
    server.js:1 Requesting registration of client
    server.js:1 Registering client
    server.js:1 adding b4aa4dc6-c2c9-4df0-b348-b6294f5f477c to sharedKey 5e2e79fa-a3b3-9b65-a9ee-dafa1d83fc68

    server.js:1 Received message
    {
      "id": "9f966043-00a7-4d47-8a66-44ad98a3c8b6",
      "toId": "server",
      "data": {
        "cmd": "get-clients-with-capability",
        "params": {
          "capabilities": [
            "automation_execution_agent"
          ]
        }
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Message is meant for server. Processing...
    server.js:1 Getting clients with capability

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "250bdf5a-2e72-4541-84f9-f617ccd63e47",
      "data": [
        {
          "id": "cc80905a-0515-4147-9d8f-ec43c779d736",
          "platformInfo": {
            "name": "Software QA Unit #3",
            "platformKey": "ios",
            "system": "iPhone OS",
            "platform": "iPad 2 (WiFi)",
            "systemVersion": "7.0.6",
            "browser": {
              "name": "Safari",
              "version": ""
            }
          },
          "capabilities": [
            "automation_execution_agent"
          ]
        }
      ],
      "responseToMessageId": "9f966043-00a7-4d47-8a66-44ad98a3c8b6"
    }


    server.js:1 Received message
    {
      "id": "77c82072-1c7d-41cb-b7d9-10227c700099",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "ios.launch",
        "params": {
          "url": "tsdemoapplication://"
        }
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message

    server.js:1 Received message
    {
      "id": "0E8F5B25-E71A-418C-A30E-DF65F76D3774-2335-000003EBB3EF5F41",
      "data": {
        "cmd": "suspend"
      },
      "timestamp": 0,
      "toId": "server",
      "fromId": "cc80905a-0515-4147-9d8f-ec43c779d736"
    }

    server.js:1 Message is meant for server. Processing...
    server.js:1 Suspending client
    server.js:1 Client disconnected. Waiting 10s before removal

    server.js:1 Received message
    {
      "id": "618cb905-cca2-4182-8d5e-b80ed571ea18",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "coreApi.endExecution"
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message
    server.js:1 {"error":{"code":130,"description":"the recipient exists, but is not available"}}

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "a5577a2e-85c4-4ad4-94a8-c18ed7d9ea22",
      "data": {
        "error": {
          "code": 130,
          "description": "the recipient exists, but is not available"
        }
      },
      "responseToMessageId": "618cb905-cca2-4182-8d5e-b80ed571ea18"
    }


    server.js:1 Received message
    {
      "id": "af724105-c9d6-4805-833f-530c2494da4b",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "coreApi.endExecution"
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message
    server.js:1 {"error":{"code":130,"description":"the recipient exists, but is not available"}}

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "2b2c0b9f-dfa7-467a-a6ab-eb9e7a7ae246",
      "data": {
        "error": {
          "code": 130,
          "description": "the recipient exists, but is not available"
        }
      },
      "responseToMessageId": "af724105-c9d6-4805-833f-530c2494da4b"
    }


    server.js:1 Received message
    {
      "id": "1c82a9bf-f960-4edd-8479-7442d779c4cf",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "coreApi.endExecution"
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message
    server.js:1 {"error":{"code":130,"description":"the recipient exists, but is not available"}}

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "a50a3fd2-3acc-4aab-9b10-8757e2a592f7",
      "data": {
        "error": {
          "code": 130,
          "description": "the recipient exists, but is not available"
        }
      },
      "responseToMessageId": "1c82a9bf-f960-4edd-8479-7442d779c4cf"
    }


    server.js:1 Received message
    {
      "id": "2ba03711-9c3f-4f28-b432-5fa12e73c83e",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "coreApi.endExecution"
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message
    server.js:1 {"error":{"code":130,"description":"the recipient exists, but is not available"}}

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "b3c05d95-6c92-45f1-9a2e-f10b68edcd61",
      "data": {
        "error": {
          "code": 130,
          "description": "the recipient exists, but is not available"
        }
      },
      "responseToMessageId": "2ba03711-9c3f-4f28-b432-5fa12e73c83e"
    }


    server.js:1 Received message
    {
      "id": "470ec647-0d71-4df3-9501-6ca84b2ef25d",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "coreApi.endExecution"
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message
    server.js:1 {"error":{"code":130,"description":"the recipient exists, but is not available"}}

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "dfd11eff-a6c0-42d6-83e5-ba82d14f8092",
      "data": {
        "error": {
          "code": 130,
          "description": "the recipient exists, but is not available"
        }
      },
      "responseToMessageId": "470ec647-0d71-4df3-9501-6ca84b2ef25d"
    }

    server.js:1 Requesting removal from Clients list
    server.js:1 removing cc80905a-0515-4147-9d8f-ec43c779d736

    server.js:1 Received message
    {
      "id": "284921b3-cdfa-4ce8-8643-84bb2e64e9dc",
      "toId": "cc80905a-0515-4147-9d8f-ec43c779d736",
      "data": {
        "cmd": "coreApi.endExecution"
      },
      "fromId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c"
    }

    server.js:1 Routing message
    server.js:1 {"error":{"code":120,"description":"recipient not found"}}

    server.js:1 Sending message reply
    {
      "fromId": "server",
      "toId": "b4aa4dc6-c2c9-4df0-b348-b6294f5f477c",
      "id": "2c7444aa-f104-43db-8ebb-d650c11caf84",
      "data": {
        "error": {
          "code": 120,
          "description": "recipient not found"
        }
      },
      "responseToMessageId": "284921b3-cdfa-4ce8-8643-84bb2e64e9dc"
    }









  6. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 05 Mar 2014 Link to this post

    Hello Sashank,

    Thank you for the logs. There's a bug fix in our next release that may fix your issue. That should be out next week.

    In the meantime, does this issue occur with a device other than your iPad?

    Regards,
    Anthony
    Telerik
    Test your Android and iOS apps against any device or browser with Telerik Mobile Testing. Part of the Telerik Platform.
  7. Sashank
    Sashank avatar
    4 posts
    Member since:
    Sep 2012

    Posted 05 Mar 2014 in reply to Anthony Link to this post

    Cool Thanks Anthony, I'll keep a look out for it.  I haven't tried on any other device so not sure.
  8. Tejas
    Tejas avatar
    3 posts
    Member since:
    Mar 2014

    Posted 20 Mar 2014 Link to this post

    HI,
    I seem to be facing the same problem, when trying to deploy using the App builder as well.
    I deployed the sample app, "Jitterz Mobile", and wrote a few basic TC's. Facing the same issue: Timeout as the iPhone stopped responding. Any suggestions?

    -Regards,
    Tejas
  9. Tejas
    Tejas avatar
    3 posts
    Member since:
    Mar 2014

    Posted 21 Mar 2014 Link to this post

    Moved to a different thread with updates.

    Test Runner connection problems with Mobile Test framework:
    http://www.telerik.com/forums/test-runner-connection-problems-with-mobile-test-framework
  10. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 24 Mar 2014 Link to this post

    Hello Sashank,

    When you connect the iOS Mobile Testing app, it generates a session ID (let's call it ABC). Say you tap the Home button or open another app, then reopen Mobile Testing. It automatically reestablishes the connection, but generates a new session ID (XYZ). The server still has the old ID (ABC) and reports that the agent stopped responding when you click Run Tests in the Test Runner.

    The workaround for now is to click Refresh Agents before you click Run Tests. That's only if the iOS Mobile Testing app was just relaunched. That way the server gets the updated session ID before execution. If the Mobile Testing app remains open, this is not necessary.

    Our next update will fix this. The Refresh Agents button is replaced with polling, so agents will enter and exit the list automatically as they are connected and disconnected.

    Regards,
    Anthony
    Telerik
     
    Test your Android and iOS apps against any device or browser with Telerik Mobile Testing. Part of the Telerik Platform.
     
  11. Justin
    Justin avatar
    7 posts
    Member since:
    Feb 2013

    Posted 28 Mar 2014 in reply to Anthony Link to this post

    I'm hitting the same issue when trying to run my tests on a physical iPad. The exact same test passes fine on the emulator but fails when trying to run on the physical device. Trying your work around still produced failing results for me.

    Is there anything else you can suggest I try?

    Thanks,
    Justin

  12. Justin
    Justin avatar
    7 posts
    Member since:
    Feb 2013

    Posted 28 Mar 2014 in reply to Justin Link to this post

    For reference, I am using the cordova plugin to setup my project.

    Thanks,
    Justin
  13. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 31 Mar 2014 Link to this post

    Hello Justin,

    Does the issue occur with a device other than your iPad?

    Please also provide additional information from the logs, as described in my previous post in this thread.

    Regards,
    Anthony
    Telerik
     
    Test your Android and iOS apps against any device or browser with Telerik Mobile Testing. Part of the Telerik Platform.
     
  14. Cyril
    Cyril avatar
    3 posts
    Member since:
    Jan 2015

    Posted 19 Feb 2015 in reply to Anthony Link to this post

    Hi Anthony,

    I'm facing with the similar error in case Windows Phone. All prerequisites steps were done (added references, added protocol into WMAppManifest.xml file etc.).
    App starts by Telerik Mobile Testing tool on device but loading application stuck due to 'Exception: Framework Exception 100: request timed out.' error.

    Regads,
    Cyril
  15. Cyril
    Cyril avatar
    3 posts
    Member since:
    Jan 2015

    Posted 20 Feb 2015 in reply to Anthony Link to this post

    In additional,

    Please let me know if you need more informarmation.

    Regards,
    Cyril
  16. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 24 Feb 2015 Link to this post

    Hi Cyril,

    Could you please send us the test so we can review it and debug it?

    Thank you.

    Regards,
    Boyan Boev
    Telerik
     
    Test your Android and iOS apps against any device or browser with Telerik Mobile Testing. Part of the Telerik Platform.
     
Back to Top