Class WindowsAppManagerOptions
Defines a specific AppiumManagerOptions for a Windows application.
Inherited Members
Namespace: Legerity.Windows
Assembly: Legerity.Core.dll
Syntax
public class WindowsAppManagerOptions : AppiumManagerOptions
Constructors
| Improve this Doc View SourceWindowsAppManagerOptions()
Initializes a new instance of the WindowsAppManagerOptions class.
Declaration
public WindowsAppManagerOptions()
WindowsAppManagerOptions(String)
Initializes a new instance of the WindowsAppManagerOptions class.
Declaration
public WindowsAppManagerOptions(string appId)
Parameters
Type | Name | Description |
---|---|---|
System.String | appId | The ID of the application under test. |
WindowsAppManagerOptions(String, (String, Object)[])
Initializes a new instance of the WindowsAppManagerOptions class.
Declaration
public WindowsAppManagerOptions(string appId, params (string, object)[] additionalOptions)
Parameters
Type | Name | Description |
---|---|---|
System.String | appId | The ID of the application under test. |
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 |
LaunchWinAppDriver
Gets or sets a value indicating whether to launch the WinAppDriver if it is not already running.
Declaration
public bool LaunchWinAppDriver { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Maximize
Gets or sets a value indicating whether to maximize the window for the application.
Declaration
public bool Maximize { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
WinAppDriverPath
Gets or sets the path to the WinAppDriver installation for launch.
By default, the path will be the default install location; C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe.
Declaration
public string WinAppDriverPath { 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. |