Table of Contents

Interface IToggle

Namespace
HP.LFT.SDK.Mobile
Assembly
HP.LFT.SDK.dll

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

state bool

Indicates 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

state string

Possible values: The states defined in the toggle object.