Search Results for

    Show / Hide Table of Contents

    Class AndroidAppManagerOptions

    Defines a specific AppiumManagerOptions for an Android application.

    Inheritance
    System.Object
    AppManagerOptions
    AppiumManagerOptions
    AndroidAppManagerOptions
    Inherited Members
    AppiumManagerOptions.AdditionalOptions
    AppiumManagerOptions.AppiumOptions
    AppManagerOptions.DriverUri
    AppManagerOptions.ImplicitWait
    AppManagerOptions.DriverOptions
    Namespace: Legerity.Android
    Assembly: Legerity.Core.dll
    Syntax
    public class AndroidAppManagerOptions : AppiumManagerOptions

    Constructors

    | Improve this Doc View Source

    AndroidAppManagerOptions()

    Initializes a new instance of the AndroidAppManagerOptions class.

    Declaration
    public AndroidAppManagerOptions()
    | Improve this Doc View Source

    AndroidAppManagerOptions(String)

    Initializes a new instance of the AndroidAppManagerOptions class.

    Declaration
    public AndroidAppManagerOptions(string appPath)
    Parameters
    Type Name Description
    System.String appPath

    The path of the application under test, e.g. c:/users/legerity/source/myapp/com.instagram.android.apk.

    | Improve this Doc View Source

    AndroidAppManagerOptions(String, String)

    Initializes a new instance of the AndroidAppManagerOptions class.

    Declaration
    public AndroidAppManagerOptions(string appId, string appActivity)
    Parameters
    Type Name Description
    System.String appId

    The ID of the application under test, e.g. com.instagram.android.

    System.String appActivity

    The activity of the application to start, e.g. com.instagram.android.activity.MainTabActivity.

    | Improve this Doc View Source

    AndroidAppManagerOptions(String, String, String, String, String, String, (String, Object)[])

    Initializes a new instance of the AndroidAppManagerOptions class.

    Declaration
    public AndroidAppManagerOptions(string appId, string appActivity, string appPath, string osVersion, string deviceName, string deviceId, params (string, object)[] additionalOptions)
    Parameters
    Type Name Description
    System.String appId

    The ID of the application under test, e.g. com.instagram.android.

    System.String appActivity

    The activity of the application to start, e.g. com.instagram.android.activity.MainTabActivity.

    System.String appPath

    The path of the application under test, e.g. c:/users/legerity/source/myapp/com.instagram.android.apk.

    System.String osVersion

    The version of Android to run the application on.

    System.String deviceName

    The name of the Android device to run the application on.

    System.String deviceId

    The ID of the Android device to run the application on.

    System.ValueTuple<System.String, System.Object>[] additionalOptions

    The additional options to apply to the .

    | Improve this Doc View Source

    AndroidAppManagerOptions(String, String, (String, Object)[])

    Initializes a new instance of the AndroidAppManagerOptions class.

    Declaration
    public AndroidAppManagerOptions(string appId, string appActivity, params (string, object)[] additionalOptions)
    Parameters
    Type Name Description
    System.String appId

    The ID of the application under test, e.g. com.instagram.android.

    System.String appActivity

    The activity of the application to start, e.g. com.instagram.android.activity.MainTabActivity.

    System.ValueTuple<System.String, System.Object>[] additionalOptions

    The additional options to apply to the .

    | Improve this Doc View Source

    AndroidAppManagerOptions(String, (String, Object)[])

    Initializes a new instance of the AndroidAppManagerOptions class.

    Declaration
    public AndroidAppManagerOptions(string appPath, params (string, object)[] additionalOptions)
    Parameters
    Type Name Description
    System.String appPath

    The path of the application under test, e.g. c:/users/legerity/source/myapp/com.instagram.android.apk.

    System.ValueTuple<System.String, System.Object>[] additionalOptions

    The additional options to apply to the .

    Properties

    | Improve this Doc View Source

    AppActivity

    Gets or sets the activity of the application to start, e.g. com.instagram.android.activity.MainTabActivity.

    Declaration
    public string AppActivity { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    AppId

    Gets or sets the ID of the application under test.

    Declaration
    public string AppId { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    AppPath

    Gets or sets the path of the application under test, e.g. c:/users/legerity/source/myapp/com.instagram.android.apk.

    Declaration
    public string AppPath { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    DeviceId

    Gets or sets the ID of the Android device to run the application on.

    Declaration
    public string DeviceId { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    DeviceName

    Gets or sets the name of the Android device to run the application on.

    Declaration
    public string DeviceName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    LaunchAppiumServer

    Gets or sets a value indicating whether to launch the Appium server instance.

    Declaration
    public bool LaunchAppiumServer { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    OSVersion

    Gets or sets the version of Android to run the application on.

    Declaration
    public string OSVersion { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Configure()

    Configures the AppiumOptions with the specified additional options.

    Declaration
    public override void Configure()
    Overrides
    AppiumManagerOptions.Configure()
    | Improve this Doc View Source

    Configure((String, Object)[])

    Configures the with the specified additional options.

    Declaration
    public void Configure((string, object)[] additionalOptions)
    Parameters
    Type Name Description
    System.ValueTuple<System.String, System.Object>[] additionalOptions

    The additional options to apply to the .

    | Improve this Doc View Source

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string that represents the current object.

    Overrides
    AppManagerOptions.ToString()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps