Problems with Android script execution

2 posts, 0 answers
  1. Julie
    Julie avatar
    4 posts
    Member since:
    Apr 2014

    Posted 15 Sep 2014 Link to this post

    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.

  2. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 16 Sep 2014 Link to this post

    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.
     
Back to Top