Table of Contents

Interface IDropDown

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

A drop-down object in a mobile application.

public interface IDropDown : ITestObject, ITestObjectDescriber, IUiObjectBase, IEnabledProvider
Inherited Members
Extension Methods

Methods

Select(params string[])

Selects the specified items by name from the corresponding picker wheel's list of values. (iOS only)

void Select(params string[] items)

Parameters

items string[]

The names of the items to select in each wheel.

Select(params uint[])

Selects the specified item or items by index. Multiple indexes are supported only for iOS.

void Select(params uint[] indices)

Parameters

indices uint[]

The 0-based indexes of the items to select.

Remarks

For an iOS picker wheel, you can pass an index for each wheel.

For an Android drop-down, pass only one index.

SelectInWheel(uint, string)

Selects the specified item by name in the picker. (iOS only)

void SelectInWheel(uint pickerWheel, string item)

Parameters

pickerWheel uint

The 0-based index of the picker wheel in which to select the specified item.

item string

The name of the item to select in the picker wheel.

SelectInWheel(uint, uint)

Selects the specified item in the specified picker wheel by index. (iOS only)

void SelectInWheel(uint pickerWheel, uint index)

Parameters

pickerWheel uint

The 0-based index of the picker wheel in which to select the specified item.

index uint

The 0-based index of the item to select in the specified picker wheel.