Install Package Operation

Applies to TestComplete 14.0, last modified on January 23, 2019

Description

Use the Install Package operation to install the desired package on a mobile device.

Requirements

This operation is available only if you have a license for the TestComplete Mobile module.

Scripting Analogue

The operation is an analog of the AndroidDevice.PackageManager.InstallPackage(Package) and iOSDevice.ApplicationManager.InstallApplication(Package) scripting methods.

Child Operations

The operation cannot have child operations.

Operation Parameters

The operation uses the following parameter:

PackageFullPath

String. Specifies the fully-qualified file name of the package you want to install on the mobile device.

To modify the operation’s parameter:

  • Select the operation’s row in the test.

  • Select the Value cell and then click within it or press F2. This will activate the in-place editor.

  • Click the ellipsis button in the in-place editor. This will call the dialog, which is similar to the one described above. In this dialog, you can specify parameter values.

  • Alternatively, to invoke this dialog, simply double-click the operation in the Keyword Test editor.

  • Click OK to close the dialog and apply the changes.

  • Press Enter to confirm the changes and close the in-place editor, or press Esc to close the editor discarding any changes.

Remarks

  • Before calling this operation, you need to choose a mobile device or a virtual machine that will be the current device (or machine) during testing. You can do this by calling the Select Device or Device Loop operation.

  • For information on testing Android applications with TestComplete, see the topics of the Testing Android Applications section.

  • For information on testing iOS applications with TestComplete, see the topics of the Testing iOS Applications section.

See Also

Installing Packages on Devices
InstallPackage Method
Mobile Category
About Testing Android Applications

Highlight search results