Testing Android Applications - Tutorial

Applies to TestComplete 15.47, last modified on January 20, 2023

This tutorial explains how to test Android applications with TestComplete. It assumes that you are familiar with general principles of automated testing and have minimal knowledge of the TestComplete IDE.

If you are a novice user, we recommend that you read an introduction to automated testing and a brief product overview first:

Introducing Automated Testing and TestComplete

Requirements

You can follow this tutorial and create a test for an Android application only if you have the following:

  • A Windows computer with TestComplete 15.47 installed and an active license for the TestComplete Mobile module.

  • Access to an Android device managed by an Appium server. It can be:

    • The mobile device cloud provided by BitBar. We will use it in this tutorial. We will show how to create a free trial BitBar account and access the mobile devices it provides.

    – or –

    • A private Appium server running on your local computer or on a remote computer in your local network.

      Note: If you do not have a private Appium server, you can consider configuring it. In this case, a Windows or a Mac computer where the server will be running is required. Your TestComplete computer must have network access to that computer. Configuring a private Appium server is beyond this tutorial scope. See Set up Appium Server.

  • If you use a local Appium server, place the Orders.apk file to a location where your server can access it, for example, in a shared network location.

Note: No other software, for instance, Java or Android SDK, is required for this tutorial.

In this tutorial

We are going to create a trial BitBar account, connect to an Android mobile device in the BitBar device cloud, deploy a tested application to it, create and run a simple test, and analyze the results.

See Also

About Mobile Tests
Introducing Automated Testing and TestComplete
Getting Started With TestComplete

Highlight search results