A default certificate is used to build Android applications
when they are managed in the test workbench. However, some
applications must be signed with a private key before you can create
a test. This is the case in applications that use web mapping services.
If such applications are built with the default certificate, the maps
might not show up properly in the tests. You can assign a private
key to an Android application and rebuild the application in the Mobile
and Web UI Applications editor.
About this task
This task applies to Android applications only.
Procedure
- In the Mobile and Web UI Applications editor,
right-click an application and click Rebuild Application. If you want to build the application with a new version of the
application, you must import a new version in the editor first.
- Select Sign application with your own private
key in the dialog box and click yes to
rebuild the application.
- In the wizard that opens, browse to select a keystore
file, enter a Keystore password,
then select an Alias and enter the Alias
password, click OK. When
the build process is completed, the application under test is signed
and the private key (the certificate) for that alias is embedded in
the .apk file. Thus, the application is rebuilt, re-instrumented and
made ready for recording and testing.