Share via


AndroidAppConfigurator Class

Definition

Represents the Android specific part of the ConfigureApp fluent API. Should not be used directly.

public class AndroidAppConfigurator : Xamarin.UITest.Utils.IFluentInterface
type AndroidAppConfigurator = class
    interface IFluentInterface
Public Class AndroidAppConfigurator
Implements IFluentInterface
Inheritance
AndroidAppConfigurator
Implements

Constructors

AndroidAppConfigurator(GenericAppConfigurator)

Part of the ConfigureApp fluent API. Should not be used directly.

Methods

ApiKey(String)
Obsolete.

Deprecated (1.1): Will be removed. Sets the Xamarin Test Cloud api key to use for activation.

ApkFile(String)

Configures the apk file to use.

ConnectToApp()

Builds the configuration and connects to an already running app. Used for advanced scenarios. Regular users should use StartApp(AppDataMode) instead.

Debug()

Enables debug logging from the test runner.

DeviceIp(String)

Configures the ip address of the device. Generally best left unset unless you are running an iOS application on a physical device.

DevicePort(Int32)

Configures the port of the device. Generally best left unset.

DeviceSerial(String)

Configures the adb serial of the device. Generally best left unset unless you want to run a specific device.

DisableSpecFlowIntegration()

Disables automatic screenshot generation after each SpecFlow step.

EnableLocalScreenshots()

Enables local screenshot saving. Always enabled in the cloud.

GetConfiguration(StartAction, AppDataMode)

Builds the Android app configuration which can be used for input for AndroidApp. The StartApp(AppDataMode) and ConnectToApp() methods should be used instead unless you have specific needs for the configuration.

InstalledApp(String)

Configures the already installed app to use.

KeyStore(String, String, String, String)

Configures the keystore that the provided apk file is signed with. A keystore is not required, but will ensure that the apk file is pristine and unchanged. If a keystore is provided, it will be used to sign the auxiliary apks installed along with the app on the device. If a keystore is not provided, Xamarin.UITest will generate a keystore and resign the apk.

LaunchableActivity(String)

Configures the activity to launch.

LogDirectory(String)

Sets the directory to store local log files in

PreferIdeSettings()

Always uses settings from IDE if they're present, overriding other configured values. If not set, explicit configuration will disable IDE integration.

SigningInfoFile(String)

Configures the signing info file that the test server will be "signed" with. A signing info file is not required, but can be used instead of a keystore for signing the test server. The signing info file can be freely shared without the risk of leaking keying material. The signing info file can be generated using the console tool.

StartApp(AppDataMode)

Builds the configuration and launches the app on the selected device.

WaitTimes(IWaitTimes)

Configures the default wait times for the framework.

Explicit Interface Implementations

IFluentInterface.GetType()

Applies to