Instrument Method

Applies to TestComplete 15.69, last modified on November 13, 2024
This method is obsolete. See the Remarks section below.

Description

Use the Instrument method to prepare your application for testing with TestComplete.

Declaration

AndroidTestedAppObj.Instrument()

AndroidTestedAppObj An expression, variable or parameter that specifies a reference to an AndroidTestedApp object
Result Boolean

Applies To

The method is applied to the following object:

Result Value

True if the application has been instrumented successfully or has already been instrumented for this TestComplete version. Otherwise, False.

Remarks

  • This method is obsolete. It is supported for backward compatibility only. TestComplete 14.70 (and later) instruments Android applications automatically when you run them from the Tested Apps collection. For more information, see Preparing Android Applications (Legacy).

  • You can use the following properties to parametrize application instrumentation:

    • The BackupOriginalAPK property specifies whether TestComplete should back up the original file.

      The BackupFileName property specifies the full path to the backup of the original .apk file.

    • The UseCustomCertificate property specifies whether TestComplete will use a custom or the debug certificate.

      • The KeystorePath property specifies the path to the keystore file.

      • The KeystorePassword property specifies the password used to access the keystore file.

      • The KeyAlias property specifies the alias of the key from the keystore file that is used to instrument the application with a custom certificate.

      • The KeyPassword property specifies the password used to access the key.

See Also

AndroidTestedApp Object
Instrumented Property
About Tested Android Applications (Legacy)

Highlight search results