Forum Discussion

harsh_chhibber's avatar
harsh_chhibber
Contributor
10 years ago

Unable to run script on the Android device.

Application is using mobile default calendar. Issue is coming when running script.

Objects are identified successfully on the calendar screen but complete script is failed to run.



Need solution - How to handle third party- Calendar, browser etc- which is linked with the Application under test.

3 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Harsh,

     


    What error do you get when executing the script?


    BTW, look at the Additional Information tab in the Test Log of the error - it should contain the detailed information of the error, as well the troubleshooting steps.


     

  • When script run then general error message is coming like An error has occurred.

    When I check the additional logs then it is pointed to one command above the failed command.



    As application is using the defalut device calendar so script fails when that calendar screen open.
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Harsh,

     


    Are there any troubleshooting steps in the Additional Information tab?


     


    As far as I understand, TestComplete fails to recognize the newly opened Calendar window, right? In this case, you can try:


     -- adding the Wait* method to obtain this window


     -- increasing the value of the Auto-wait timeout option


     -- calling the Refresh method right before accessing objects inside Calendar.


     


    Please let us know how it goes.