My App shutdown after in Telerik Testing Studio

6 posts, 0 answers
  1. Henrique
    Henrique avatar
    4 posts
    Member since:
    Jan 2016

    Posted 01 Nov Link to this post

    I have a APP build with Visual Studio 2013 and AppBuilder.

    1-Added the telerik Mobile Testing

    2-I can connect using Mobile testing to my computer.

    3-I've recorded a test scenario into the Test Studio

    ----All the step got a tap with tapType=Center, tapcount=1, x =0 and y=0.

    4-When I play my tests my app open in my device and shutdown.

    I'm doing something wrong here?

  2. Martin
    Admin
    Martin avatar
    811 posts

    Posted 02 Nov Link to this post

    Hello Henrique,

    It seems like you are building an AppBuilder hybrid app that uses Telerik Mobile Testing extension loaded from the Plugins Marketplace. The problem is that this version of the plugin (located in the Marketplace) is outdated and doesn't work for the latest version of Test Studio Mobile. Our team plans to update the plugin in the marketplace once we have support for iOS hybrid apps implemented. This feature is targeted for our next release.

    Meanwhile, to instrument an AppBuilder app please disable the Markeplace version of the plugin - see attached image. Then use one of the options bellow:
       1. Download the latest plugin version from here. Once downloaded, follow the instructions to manually add this plugin to your app based on the app builder client of your choice. Build and deploy the app and start recording your tests.
       2. Build and deploy your AppBuilder app without using any Telerik Mobile Testing plugins. Then follow the Test Studio Mobile's Built-In configuration wizard to instrument the already deployed app by choosing it from the list of available apps on the device. The wizard will add the required Mobile Testing plugin for you, but it is important that the app doesn't contain any Mobile Testing plugins when the wizard is started.

    I hope this helps.

    Regards,
    Martin
    Telerik by Progress
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Henrique
    Henrique avatar
    4 posts
    Member since:
    Jan 2016

    Posted 02 Nov in reply to Martin Link to this post

    Thank the first option works for me.

    Now I have another issue, when I started to test my app connect to the API, ever time that I try to connect the API, I got an error Application Error( The Connection to the was unsuccessful).(file://android_asset/www/index.html).

    This error just happens when I'm recording a test. Should I set up any configuration to allow internet connection on my tests?

  4. Henrique
    Henrique avatar
    4 posts
    Member since:
    Jan 2016

    Posted 02 Nov in reply to Henrique Link to this post

    I've found the issue, it's seems to broken when I use a plugin called hammer.js in my mobile app.
  5. Henrique
    Henrique avatar
    4 posts
    Member since:
    Jan 2016

    Posted 02 Nov in reply to Henrique Link to this post

    Isn't the issue.

    I'm trying to find why I got the message

    Application Error( The Connection to the was unsuccessful).(file://android_asset/www/index.html).
  6. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    251 posts

    Posted 07 Nov Link to this post

    Hi Henrique,

    It seems you found what was causing the issue you observed. Please Let me know if further help will be required. 

    Regards,
    Elena Tsvetkova
    Telerik by Progress
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top