Class IOSAppManagerOptions
Defines a specific AppiumManagerOptions for an iOS application.
Inherited Members
Namespace: Legerity.IOS
Assembly: Legerity.Core.dll
Syntax
public class IOSAppManagerOptions : AppiumManagerOptions
Constructors
| Improve this Doc View SourceIOSAppManagerOptions()
Initializes a new instance of the IOSAppManagerOptions class.
Declaration
public IOSAppManagerOptions()
IOSAppManagerOptions(String, String, String, String)
Initializes a new instance of the IOSAppManagerOptions class.
Declaration
public IOSAppManagerOptions(string appId, string osVersion, string deviceName, string deviceId)
Parameters
Type | Name | Description |
---|---|---|
System.String | appId | The ID of the application under test, e.g. com.instagram.ios. |
System.String | osVersion | The version of iOS to run the application on. |
System.String | deviceName | The name of the iOS device to run the application on. |
System.String | deviceId | The ID of the Android device to run the application on. |
IOSAppManagerOptions(String, String, String, String, (String, Object)[])
Initializes a new instance of the IOSAppManagerOptions class.
Declaration
public IOSAppManagerOptions(string appId, 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.ios. |
System.String | osVersion | The version of iOS to run the application on. |
System.String | deviceName | The name of the iOS device to run the application on. |
System.String | deviceId | The ID of the iOS device to run the application on. |
System.ValueTuple<System.String, System.Object>[] | additionalOptions | The additional options to apply to the |
Properties
| Improve this Doc View SourceAppId
Gets or sets the ID of the application under test.
Declaration
public string AppId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AutomationName
Gets or sets the name of the automation tool to use to run the application. Defaults to XCUITest.
If a value is provided in the additional options, this value will override it.
Declaration
public string AutomationName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DeviceId
Gets or sets the ID of the iOS device to run the application on.
Declaration
public string DeviceId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DeviceName
Gets or sets the name of the iOS device to run the application on.
Declaration
public string DeviceName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 |
OSVersion
Gets or sets the version of iOS to run the application on.
Declaration
public string OSVersion { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceConfigure()
Configures the AppiumOptions with the specified additional options.
Declaration
public override void Configure()
Overrides
| Improve this Doc View SourceConfigure((String, Object)[])
Configures the
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 |
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. |