Table of Contents

Interface IDropDown

A drop-down object in a mobile application.

Inherited Members
ITestObject.GetDescription()
ITestObject.SetDescription(IDescription)
ITestObject.FindChildren<TChild>(IDescription)
ITestObject.Exists()
ITestObject.Exists(uint)
ITestObject.GetSnapshot()
ITestObject.Highlight()
ITestObject.HighlightMatches<TChild>(IDescription)
ITestObject.GetTextLocations(string)
ITestObject.GetTextLocations(string, Rectangle)
ITestObject.GetVisibleText()
ITestObject.GetVisibleText(Rectangle)
ITestObject.VerifyImageExists(Image, byte)
ITestObject.VerifyImageMatch(Image, byte, byte)
ITestObject.VerifyImageMatch(Image, ImageMaskArea, byte, byte)
ITestObject.CallFTMethod(string, params object[])
ITestObject.CallFTMethod<TResult>(string, params object[])
ITestObject.Parent
ITestObject.DisplayName
ITestObjectDescriber.Describe<TChild>(IDescription)
IUiObjectBase.Tap()
IUiObjectBase.Tap(TapArgs)
IUiObjectBase.LongPress()
IUiObjectBase.LongPress(LongPressArgs)
IUiObjectBase.Swipe(SwipeDirection)
IUiObjectBase.Swipe(SwipeDirection, SwipeArgs)
IUiObjectBase.Pan(Location, Location)
IUiObjectBase.Pan(Point, Point)
IUiObjectBase.Pan(Point, Point, PanArgs)
IUiObjectBase.Pinch(double)
IUiObjectBase.Pinch(double, PinchArgs)
IUiObjectBase.Location
IUiObjectBase.AccessibilityId
IUiObjectBase.ClassName
IUiObjectBase.Container
IUiObjectBase.IsClickable
IUiObjectBase.IsFocused
IUiObjectBase.IsFocusable
IUiObjectBase.NativeClass
IUiObjectBase.ResourceId
IUiObjectBase.Size
IUiObjectBase.IsCheckable
IUiObjectBase.IsChecked
IUiObjectBase.Text
IUiObjectBase.Hint
IUiObjectBase.MobileCenterIndex
IEnabledProvider.IsEnabled
Namespace: HP.LFT.SDK.Mobile
Assembly: HP.LFT.SDK.dll
Syntax
public interface IDropDown : ITestObject, ITestObjectDescriber, IUiObjectBase, IEnabledProvider

Methods

Select(params string[])

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

Declaration
void Select(params string[] items)
Parameters
Type Name Description
string[] items

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.

Declaration
void Select(params uint[] indices)
Parameters
Type Name Description
uint[] indices

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)

Declaration
void SelectInWheel(uint pickerWheel, string item)
Parameters
Type Name Description
uint pickerWheel

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

string item

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)

Declaration
void SelectInWheel(uint pickerWheel, uint index)
Parameters
Type Name Description
uint pickerWheel

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

uint index

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

Extension Methods

TestObjectExtensions.WaitUntilEnabled<T>(T)
TestObjectExtensions.WaitUntilEnabled<T>(T, int)
TestObjectExtensions.WaitUntilExists<T>(T)
TestObjectExtensions.WaitUntilExists<T>(T, int)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>, int)