This is a migrated thread and some comments may be shown as answers.

My App shutdown after in Telerik Testing Studio

5 Answers 62 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Henrique
Top achievements
Rank 1
Henrique asked on 01 Nov 2016, 05:58 PM

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?

5 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 02 Nov 2016, 07:47 AM
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!
0
Henrique
Top achievements
Rank 1
answered on 02 Nov 2016, 02:20 PM

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?

0
Henrique
Top achievements
Rank 1
answered on 02 Nov 2016, 03:53 PM
I've found the issue, it's seems to broken when I use a plugin called hammer.js in my mobile app.
0
Henrique
Top achievements
Rank 1
answered on 02 Nov 2016, 08:53 PM

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).
0
Elena
Telerik team
answered on 07 Nov 2016, 12:33 PM
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!
Tags
General Discussions
Asked by
Henrique
Top achievements
Rank 1
Answers by
Martin
Telerik team
Henrique
Top achievements
Rank 1
Elena
Telerik team
Share this question
or