Using the Create New Project wizard you can create a new project for an existing or new project suite. On the Android Tested Applications page of the wizard, you can add Android application packages (.apk) to the project’s list of tested applications. This will allow you to easily install and launch applications on your Android device from your tests and from the TestComplete IDE.
Note: | Information about the tested application is desirable, but it is not required for project creation. So, you can finish the project creation and add the needed tested applications any time later. See Adding Tested Applications. |
List of tested applications
The page displays a list of tested Android application packages and has the following columns:
Column | Description |
---|---|
Autorun | If it is selected, TestComplete automatically launches the application on the connected Android device each time you start recording a test. |
Name | The name that will be used to address the application in tests (in the Run TestedApp keyword test operation or the TestedApps.Name.Run() scripting method). |
APK File Name | The fully-qualified path of the Android application package (.apk) on the local computer or in a network share. |
To add an application to the list
-
Click Add. This will open the Add Android Tested Application wizard.
-
In the wizard, specify the needed Android application package (.apk) and the application's options (if needed). For more information on the available options, see the wizard's description.
If the application was not prepared for testing, TestComplete suggests that you instrument it. To learn more about instrumentation, see Instrumenting Android Applications - Overview.
-
Click Finish.
The specified application will be added to the Tested Applications collection of your project. After you create the project, you can view or modify the list of tested applications in the TestedApps editor.
To modify data in the list
To enable or disable launching the application on test recording, select or clear the Autorun check box.
To change data in the Name column, click the desired cell and enter a new value in the ensuing in-place editor. Press Enter to confirm the changes, or Esc to cancel them.
To modify the APK File Name value, click the ellipsis button in the corresponding cell and use the subsequent dialog, or specify the name manually.
To remove an application from the list
-
Select the application in the list and click Remove.
See Also
Create New Project Wizard
Working With Tested Android Applications
Creating Projects and Project Suites