GrantPermissions Property

Applies to TestComplete 14.61, last modified on April 22, 2021

Description

Use the GrantPermissions property to specify whether all permissions listed in the application manifest will be enabled automatically.

Declaration

AndroidTestedAppObj.GrantPermissions

Read-Write Property Boolean
AndroidTestedAppObj An expression, variable or parameter that specifies a reference to an AndroidTestedApp object

Applies To

The property is applied to the following object:

Property Value

True to automatically allow all permissions listed in the application manifest after the application installation; false (by default) no permissions will be enabled automatically, but you can manually allow the desired permissions after the application requests them.

Example

For an example of using the GrantPermissions property, see the Instrumenting Android Applications From Scripts topic.

See Also

AndroidTestedApp Object
About Tested Android Applications
BackupFileName Property

Highlight search results