The Add Tested Application wizard assists you in adding applications to the Tested Applications collection of your project. When your tested application is launched from this collection, TestComplete automatically instruments it.
The following pages of the wizard, assist you in adding Android application packages:
Add New Android Application
On this page of the wizard, you can specify the path to the application to be added, as well as parameters for the application.
-
In the Android application package file text box, specify the path to the Android application package. You can enter the path manually or click the button and browse for the desired file.
You can control the format of the path to the application’s package file on the local computer. The target path can be specified as an absolute path, a relative path or by using environment variables (if the path includes any standard system path for which environment variables are set). Click the drop-down button in the desired text box and choose the needed representation from the drop-down list.
The application’s .apk file must be stored on the local computer (where TestComplete is installed) or in a network share.
-
If you want TestComplete to deploy the application to the device on each start, enable the Deploy to the device on start option. Note that if the application was already installed to the device, it is automatically deleted and then reinstalled.
-
If you want to automatically grant all permissions the application needs after its installation, enable the Grant all permissions listed in the application manifest after the package installation option.
-
If you want to keep the application’s data and cache after the package removal, enable the Keep the data and cache directories on removal option.
Sign Your Android Application
On this page, you can specify the certificate data for signing the application. The page suggests two options:
-
If you want to generate a debug key and sign the application automatically, select Sign the application using the debug certificate.
-
If you want to sign your application with your own certificate, select Sign the application using the following certificate and then specify the keystore file, alias and their passwords.
Working with the Wizard
After specifying the needed options and parameters, click Finish to close the wizard and add the specified application to the Tested Applications collection. Click Cancel to close the wizard without adding the application.
See Also
Add Tested Application Wizard
About Tested Applications
About TestedApps Editor
Adding Android Applications to the List of Tested Applications (Legacy)
Android Application Parameters