Package com.hp.lft.sdk.mobile
Interface DropDown
- All Superinterfaces:
- EnabledProvider,- TestObject,- TestObjectDescriber,- UiObjectBase,- WaitUntilEnabledProvider
A drop-down object in a mobile application.
- 
Method SummaryModifier and TypeMethodDescriptionvoidselect(int... indices) Selects the specified item or items by index. Multiple indexes are supported only for iOS.voidSelects the specified items by name from the corresponding picker wheel's list of values (iOS only).voidselectInWheel(int pickerWheel, int index) Selects the specified item in the specified picker wheel by index (iOS only).voidselectInWheel(int pickerWheel, String item) Selects the specified item by name in the picker (iOS only).Methods inherited from interface com.hp.lft.sdk.EnabledProviderisEnabledMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriberdescribeMethods inherited from interface com.hp.lft.sdk.mobile.UiObjectBasegetAccessibilityId, getClassName, getContainer, getHint, getLocation, getMobileCenterIndex, getNativeClass, getResourceId, getSize, getText, isCheckable, isChecked, isClickable, isFocusable, isFocused, longPress, longPress, pan, pan, pan, pinch, pinch, swipe, swipe, tap, tapMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabled
- 
Method Details- 
selectSelects the specified item or items by index. Multiple indexes are supported only for iOS. For an iOS picker wheel, you can pass an index for each wheel.
 For an Android drop-down, pass only one index.- Parameters:
- indices- The 0-based indexes of the items to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the specified items by name from the corresponding picker wheel's list of values (iOS only).- Parameters:
- items- the names of the items to select in each wheel.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectInWheelSelects the specified item in the specified picker wheel by index (iOS only).- Parameters:
- pickerWheel- the 0-based index of the picker wheel in which to select the specified item.
- index- the 0-based index of the item to select in the specified picker wheel.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectInWheelSelects the specified item by name in the picker (iOS only).- Parameters:
- pickerWheel- the 0-based index of the picker wheel in which to select the specified item.
- item- the name of the item to select in the picker wheel.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-