Interface IToggle
A toggle object in a mobile application.
public interface IToggle : ITestObject, ITestObjectDescriber, IUiObjectBase, IEnabledProvider
- Inherited Members
- Extension Methods
Methods
Set(bool)
Sets the state of the object.
void Set(bool state)
Parameters
stateboolIndicates whether this toggle will be checked.
Remarks
For Android toggles (where Class="toggleButton"), use Set(string) giving the state to set as the parameter.
Set(string)
Sets the state of the object by name.
void Set(string state)
Parameters
statestringPossible values: The states defined in the toggle object.