Share via


IAndroidAppConfiguration Interface

Definition

Configuration for Android apps. Not to be used directly, should be created by using the fluent ConfigureApp API.

public interface IAndroidAppConfiguration
type IAndroidAppConfiguration = interface
Public Interface IAndroidAppConfiguration

Properties

ApkFile

The location of the apk file to test.

AppDataMode

Whether to clear app data or not.

ConfiguredDeviceIp

The configured ip address. Use DeviceUri for the active configuration.

ConfiguredDevicePort

The configured port. Use DeviceUri for the active configuration.

Debug

Enable debug logging.

DeviceSerial

The serial of the device. Can be found using adb.

DeviceUri

The uri of the device test server.

DisableSpecFlowIntegration

Whether to disables automatic screenshot generation after each SpecFlow step.

EnableScreenshots

Enable screenshots. Local screenshots are disabled by default to speed up tests.

IdeIntegrationMode

The IDE integration mode. Decides what settings to use in case of both explicit configuration and active IDE integration.

InstalledAppPackageName

The package name of the installed app.

KeyStore

The location of the keystore that was used to sign the tested app. If left empty a new keystore will be built.

KeyStoreKeyAlias

The key alias to use for given keystore. Corresponds to the alias argument in jarsigner.

KeyStoreKeyPassword

The private key password of the given keystore key. Corresponds to the -keypass argument in jarsigner.

KeyStorePassword

The store password of the given keystore. Corresponds to the -storepass argument in jarsigner.

LaunchableActivity

Specify the specific launchable activity to use

LogDirectory

Specify the location of the log directory for local test runs.

SIFile

The location of the SI file used for generating the signed test server.

StartAction

The desired state of the app after test initialization. Either the test framework can start the app or connect to an already running app in more advanced scenarios.

WaitTimes

Default wait times.

Methods

Verify()

Verifies the configuration.

Applies to