Package com.hp.lft.sdk.insight
Interface InsightObject
- All Superinterfaces:
- Clickable,- DoubleClickable,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- TestObject,- TestObjectDescriber
public interface InsightObject
extends TestObject, Clickable, DoubleClickable, LocationInfoProvider, SupportSendKeys, SupportDragAndDrop
An object identified using image-based recognition.
- 
Method SummaryModifier and TypeMethodDescriptionvoidClicks the object, without first bringing its parent into focus.voidclickSpecial(ClickArgs args) Clicks the object, without first bringing its parent into focus.voidclickSpecial(MouseButton button) Clicks the object, without first bringing its parent into focus.Returns the visible text from the entire Test Object area.getVisibleText(Rectangle textArea) Returns the visible text from the text area within the test object area.voidPlaces the pointer on the object.voidPresses and holds the left mouse button for a default number of seconds.voidlongClick(double duration) Presses and holds the left mouse button for a default number of seconds.voidPresses and holds the left mouse button for a default number of seconds.voidPresses and holds the left mouse button for a default number of seconds.voidSets the encoded value of this editable field object.Methods inherited from interface com.hp.lft.sdk.DoubleClickabledoubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportDragAndDropdragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportSendKeyssendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriberdescribe
- 
Method Details- 
getVisibleTextReturns the visible text from the entire Test Object area.- Specified by:
- getVisibleTextin interface- TestObject
- Returns:
- all visible text from this object.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getVisibleTextReturns the visible text from the text area within the test object area.- Specified by:
- getVisibleTextin interface- TestObject
- Parameters:
- textArea- an inner rectangle within the test object area, to get the visible text from.
- Returns:
- all visible text within the supplied rectangle.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
clickSpecialClicks the object, without first bringing its parent into focus.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
clickSpecialClicks the object, without first bringing its parent into focus.- Parameters:
- button- the mouse button to perform the click with.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
clickSpecialClicks the object, without first bringing its parent into focus.- Parameters:
- args- arguments that will be used during the click.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hoverPlaces the pointer on the object.- Parameters:
- location- defines the location to place the pointer.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
longClickPresses and holds the left mouse button for a default number of seconds.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
longClickPresses and holds the left mouse button for a default number of seconds.- Parameters:
- location- defines the location to place the pointer when pressing the mouse button.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
longClickPresses and holds the left mouse button for a default number of seconds.- Parameters:
- duration- the number of seconds to hold the left mouse button when long-clicking.
- location- defines the location to place the pointer when pressing the mouse button.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
longClickPresses and holds the left mouse button for a default number of seconds.- Parameters:
- duration- the number of seconds to hold the left mouse button when long-clicking.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setSecureSets the encoded value of this editable field object.
 Generate the encoded value using the Password Encoder utility (CryptonApp.exe), available from the OpenText Functional Testing for Developers menu in your IDE, or from the OpenText Functional Testing for Developers installation\bin folder.
 Note: While the SetSecure method enables you to hide passwords displayed on the screen while running or editing a test, it is not intended to be a secure way to protect password information.- Parameters:
- encryptedText- the encoded text.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-