Package com.hp.lft.sdk.mobile
Interface View
- All Superinterfaces:
EnabledProvider
,Scrollable
,TestObject
,TestObjectDescriber
,UiObjectBase
,WaitUntilEnabledProvider
A view object in a mobile application. (iOS Only)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether the view can be scrolled.void
Zoom to the specified scale.Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
Methods inherited from interface com.hp.lft.sdk.mobile.Scrollable
scrollOnePage, scrollToOffset
Methods inherited from interface com.hp.lft.sdk.TestObject
callFTMethod, 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, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
Methods inherited from interface com.hp.lft.sdk.mobile.UiObjectBase
getAccessibilityId, getClassName, getContainer, getHint, getLocation, getMobileCenterIndex, getNativeClass, getResourceId, getSize, getText, isCheckable, isChecked, isClickable, isFocusable, isFocused, longPress, longPress, pan, pan, pan, pinch, pinch, swipe, swipe, tap, tap
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
-
Method Details
-
zoom
Zoom to the specified scale.- Parameters:
focalPoint
- the center point of the zoom.scale
- the zoom scale (0.5 to reduce to half, 2 to double the size, and so on).- Throws:
GeneralLeanFtException
- if error occurs during execution
-
isScrollable
Indicates whether the view can be scrolled.- Returns:
- true if the view can be scrolled.
- Throws:
GeneralLeanFtException
- if error occurs during execution.
-