Forum Discussion

TanyaYatskovska's avatar
12 years ago

Welcome Mobile Testing in TestComplete 10

Hi Mobile Testers,

 

I’m sure that many of you have been waiting for this day!

            Welcome Mobile Testing in TestComplete 10



TestComplete now lets you create and execute automated tests for mobile applications running on:

  ·  Android devices

  ·  Android emulators

  ·  Android virtual machines



WHAT’S NEW

TestComplete allows creating powerful and reliable tests for Android mobile applications that will perform the following:

  ·  simulate multi-touch gestures, touches, long touches, swipes, keystrokes and other events on Android devices;

  ·  simulate pressing physical (on-device) buttons;

  ·  mock GPS locations and test geolocation applications;

  ·  retrieve and check data of various sensors (like an accelerometer);

  ·  verify the state and data of an application’s internal objects;

  ·  and so on.

 

HOW IT WORKS

TestComplete provides two approaches to test Android applications:

  1.  Object-based approach. It allows TestComplete to create test objects that are wrappers for application controls. These wrappers contain methods and properties that TestComplete provides for all the test objects, plus they contain native methods, fields and properties of the appropriate controls. You’ll need to compile your Android application with a special module shipped along with TestComplete.

  2.  Image-based approach. The specific of this approach is that TestComplete searches for controls on the device’s screen using the controls’ images, and then simulates user action over the found controls.  There is no need to do additional steps to prepare a tested application for testing.

 

SUPPORTED ANDROID VERSIONS

TestComplete 10 supports testing of mobile applications running under Android OS v. 4.0.1 and higher.  Support of some Android OS versions can work with some limitations. You can check them on this page.

 

HOW TO START

First of all, request a TestComplete trial on this page by filling in several fields.

Before installing TestComplete: I suggest that you read the following article before starting the installation procedure: Preparing Test Computers and TestComplete for Android Testing

Before creating a test over your Android application: I strongly recommend that you read the following articles to learn TestComplete’s specifics on mobile applications testing:

  -  Testing Android Applications

  -  Testing Android Applications - Overview

  -  Preparing for Testing Android Applications

 

Good luck and enjoy mobile testing!

2 Replies

  • I am new to testcomplet can someone please answer below queries




    Platform Support


     1. Native Applications Support (Will the same script work in both iOS & Android)


     2. Hybrid Applications Support (Will the same script work in both iOS & Android)


     3. Web Application Support (Will the same script work in both iOS & Android)


      a. Support for default browser


      b. Support for Opera Browser


      c. Support for Chrome Browser


    Object Identification


    Complexity of writing Automation scripts using default editor(Easy/Medium/Difficult)


    Reporting

  • Hi Sreekanth,

     


    It's worth requesting the TestComplete trial and playing with it a bit to learn for sure how the product works for your own tasks.


    See my comments below:


     


    >> 1. Native Applications Support (Will the same script work in both iOS & Android)


    You can get access to native objects of your app through TestComplete. You need to prepare the apps for this. However, the procedures for the iOS and Android platforms are different. So, refer to the product documentation for details: "Testing Mobile Applications".


     


    >> 2. Hybrid Applications Support (Will the same script work in both iOS & Android)


    Testing hybrid applications is supported only on the Android platform at the moment. You can find the details here.


     


    >> 3. Web Application Support (Will the same script work in both iOS & Android)


    The same as for Hybrid applications.


     


    >> Object Identification


    To test mobile apps in white-box, additional preparations should be performed. For iOS, you need to compile the app with an additional module. For Android, you need to perform the automatic (default) instrumentation of the app. 


     


    >>Complexity of writing Automation scripts using default editor(Easy/Medium/Difficult)


    You can use TestComplete's Recording feature to create tests. It will record all actions you perform over your app. Sometimes, it may be required to modify the recorded operations. However, it should be much easier when creating tests from scratch.


     


    >>Reporting


    TestComplete provides a detailed report about the test execution. Please refer to the "Test Results" article and those related for more information.