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

Problems with Android script execution

1 Answer 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Julie
Top achievements
Rank 1
Julie asked on 15 Sep 2014, 07:28 PM

We are using the Telerik Mobile Testing platform for testing for Android and iOS hybrid mobile app (Cordova version 3.4). Our app uses the embedded Cordova web view (Cleaver) where the majority of our app functionality runs. We have written javascript test suites using the Web API (http://docs.telerik.com/platform/mobile-testing/api-reference/web) and the app behaves as expected in our iOS QA version. 

However when we try running the same code on the Android QA version(with code changes pointing to the android version)  the app does not work as expected in cases of dynamically generated HTML elements, button clicks, etc. The app launches correctly using the Telerik Mobile Testing android app and we can see the automated tests running on the device but the tests are failing consistently when interacting with dynamically generated elements in javascript. As per our understanding, the same Web API calls should work as the HTML markup and scripts are the same across Android and iOS. Please advise.

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 16 Sep 2014, 01:35 PM
Hello Julie,

Yes you are right, since you are testing hybrid application the behavior on both platforms Android and iOS should be the same. I agree this is quite weird that it is behaving differently on Andoroid. However in order to determine whether this is a bug or somehow expected behavior we will need you to provide with a small project and sample application reproducing this behavior, because with our demos we are not able to reproduce such behavior.

Looking forward to hearing from you.

Regards,
Ivaylo
Telerik
 
Test your Android and iOS apps against any device or browser with Telerik Mobile Testing. Part of the Telerik Platform.
 
Tags
General Discussions
Asked by
Julie
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or