Uses of Class
com.hp.lft.sdk.GeneralLeanFtException
Packages that use GeneralLeanFtException
Package
Description
Provides the SDK for core OpenText Functional Testing for Developers functionality.
Provides the SDK for testing AI objects.
Provides the SDK for executing API tests.
Provides the SDK for image-based object identification.
Provides the SDK for testing Java objects.
Provides the SDK for testing objects in mobile applications.
Provides the SDK for testing oracle objects.
Provides the SDK for testing PowerBuilder objects.
Provides the SDK for testing SAPGUI objects.
Provides the SDK for testing SAPUI5 objects.
Provides the SDK for testing standard Windows objects.
Provides the SDK for testing Terminal Emulators objects.
Provides the SDK for testing UIAPro objects.
Provides SDK utility and helper classes.
Provides the SDK for testing Web objects.
Provides the SDK for testing .NET Windows Forms objects.
Provides the SDK for testing WPF objects.
-
Uses of GeneralLeanFtException in com.hp.lft.sdk
Subclasses of GeneralLeanFtException in com.hp.lft.sdkModifier and TypeClassDescriptionclass
An Exception that is raised when errors are encountered in the description of test objects.class
The exception that is thrown when an empty session ID is received from the server.class
The exception that is thrown when a general grid exception is thrown .class
Represents general errors that occur during replay stage of the application.class
Represent general errors that occur on the runtime engine side.class
The exception that is thrown when a message with an invalid agent field value is received by the runtime engine.class
The exception that is thrown when an invalid formatted message is received by the runtime engine.class
The exception that is thrown when a message with an invalid field value is received by the runtime engine.class
The exception that is thrown when a message with invalid version is received by the runtime engine.class
The exception that is thrown when the runtime engine is not connected to the expected Lab.class
The exception that is thrown when a not supported message type is received by the runtime engine.class
The exception that is thrown when the runtime engine is not connected to OpenText Functional Testing Lab.class
The exception that is thrown when a grid finds a node with the requested capabilities but it is currently locked.class
The exception that is thrown when a grid cannot find a node with the requested capabilities.class
The exception that is thrown when no valid OpenText Functional Testing for Developers license is found.class
The exception that is thrown when a test object cookie is not found in the server.class
The exception that is thrown when the value of an argument to a method is outside the allowable range of values, as defined by the invoked replay method.class
The exception that is thrown when the browser type requested to launch is not installed.class
The exception that is thrown when an item of the test object is not found in the AUT.class
The exception that is thrown when an item of the test object can't be uniquely identified in the AUT.class
The exception that is thrown when a test object with the given description is disabled in the AUT.class
The exception that is thrown when a test object with the given description is not found in the AUT.class
The exception that is thrown when a test object's description is not sufficient to uniquely identify the test object in the AUT.class
The exception that is thrown when a test object with the given description is not visible in the AUT.class
The exception that is thrown when a parent of the test object with the given description is not found in the AUT.class
The exception that is thrown when a time out occurred during replay.class
The exception that is thrown when a start record request is received while a recording session is already in progress.class
The exception that is thrown when an attempting to access the server while it is shutting down.class
The exception that is thrown when an unknown session ID is received by the runtime engine.class
Exception raised when errors are encountered in the VRI description of test objects.Methods in com.hp.lft.sdk that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionstatic void
Mouse.buttonDown
(Point point) Presses the left mouse button at the specified point on the screen.static void
Mouse.buttonDown
(Point point, MouseButton button) Presses the specified mouse button at the specified point on the screen.void
MouseDevice.buttonDown
(Point point) Presses the left mouse button at the specified point on the screen.void
MouseDevice.buttonDown
(Point point, MouseButton button) Presses the specified mouse button at the specified point on the screen.static void
Releases the left mouse button at the specified point on the screen.static void
Mouse.buttonUp
(Point point, MouseButton button) Releases the specified mouse button at the specified point on the screen.void
Releases the left mouse button at the specified point on the screen.void
MouseDevice.buttonUp
(Point point, MouseButton button) Releases the specified mouse button at the specified point on the screen.<T> T
TestObject.callFTMethod
(String methodName, Class<T> returnType, Object... arguments) Calls a method or property of an OpenText Functional Testing test object.void
TestObject.callFTMethod
(String methodName, Object... arguments) Calls a method or property of an OpenText Functional Testing test object.void
Clickable.click()
Clicks on this object using the left mouse button.void
Clicks on a test object using the specified ClickArgs.void
Clickable.click
(MouseButton button) Clicks on this object using the specified MouseButton.static void
Moves the mouse to the specified point on the screen and clicks the left mouse button.static void
Mouse.click
(Point point, MouseButton button) Moves the mouse to the specified point on the screen and clicks the specified mouse button.void
Moves the mouse to the specified point on the screen and clicks the left mouse button.void
MouseDevice.click
(Point point, MouseButton button) Moves the mouse to the specified point on the screen and clicks the specified mouse button.void
Aut.close()
Closes a previously launched AUT.protected abstract TDescription
AppModelNodeBase.createDescription()
Create the actual description of the Test Objectstatic DateRange
DateRange.dateRangeAsSingleDate
(Date date) Returns a DateRange instance initialized with an end date equal to the start date.static <TTopLevel extends TopLevelObject>
TTopLevelDesktop.describe
(Class<TTopLevel> type, Description description) Describes a top level Window or Dialog test object.<TTopLevel extends TopLevelObject>
TTopLevelDesktopEnvironment.describe
(Class<TTopLevel> type, Description description) Describes a top level Window or Dialog test object in this environment.<TChild extends TestObject>
TChildTestObjectDescriber.describe
(Class<TChild> type, Description description) Creates a child test object of this test object.protected T
AppModelNodeBase.describeConcrete
(Description description) Describes the underlying concrete test object.protected T
TopLevelObjectNodeBase.describeConcrete
(Description description) Describes the underlying concrete test object.void
DoubleClickable.doubleClick()
Double-clicks on this object using the left mouse button.void
DoubleClickable.doubleClick
(ClickArgs args) Double-clicks on this object using the specified ClickArgs.void
DoubleClickable.doubleClick
(MouseButton button) Double-clicks on this object using the specified MouseButton.static void
Mouse.doubleClick
(Point point) Moves the mouse to the specified point on the screen and double-clicks the left mouse button.static void
Mouse.doubleClick
(Point point, MouseButton button) Moves the mouse to the specified point on the screen and double-clicks the left mouse button.void
MouseDevice.doubleClick
(Point point) Moves the mouse to the specified point on the screen and double-clicks the left mouse button.void
MouseDevice.doubleClick
(Point point, MouseButton button) Moves the mouse to the specified point on the screen and double-clicks the left mouse button.static void
Mouse.dragAndDrop
(Point fromPoint, Point toPoint) Drags the mouse from and to the specified points while the left mouse button is pressed, and then releases the mouse button.static void
Mouse.dragAndDrop
(Point fromPoint, Point toPoint, MouseButton button) Drags the mouse from and to the specified points while the specified mouse button is pressed, and then releases the mouse button.void
MouseDevice.dragAndDrop
(Point fromPoint, Point toPoint) Drags the mouse from and to the specified points while the left mouse button is pressed, and then releases the mouse button.void
MouseDevice.dragAndDrop
(Point fromPoint, Point toPoint, MouseButton button) Drags the mouse from and to the specified points while the specified mouse button is pressed, and then releases the mouse button.void
SupportDragAndDrop.dragAndDropOn
(SupportDragAndDrop dropTarget) Drags and drops a test object to the specified target object.void
SupportDragAndDrop.dragAndDropOn
(SupportDragAndDrop dropTarget, DragAndDropArgs dragAndDropArgs) Drags and drops a test object to the specified target object according to the specified DragAndDropArgs behavior.boolean
Evaluates whether this object is currently in a specific state.boolean
MenuItemBase.exists()
Indicates whether the menu item exists.boolean
TestObject.exists()
Checks whether this object exists in the AUT before the object synchronization timeout elapses.boolean
Checks whether this object exists in the AUT before the specified timeout elapses.<TChild extends TestObject>
TChild[]TestObject.findChildren
(Class<TChild> type, Description description) Returns all the child test objects that match the specified test object type and description filter.static EnvironmentDescription
Creates a new instance ofEnvironmentDescription
and initializes it with the specified capabilities.Returns the current value of anEnvironmentDescription
capability.static DesktopEnvironment
EnvironmentFactory.get
(EnvironmentDescription envDescription) Locks and returns a specific environment based on the specified capabilities.LocationInfoProvider.getAbsoluteLocation()
Returns this object's absolute coordinates relative to the screen (in pixels).CalendarBase.getDate()
Returns the date associated with this calendar.CalendarBase.getDateRange()
Returns the range of dates selected in this calendar.
Notes:
- Supported only for month calendar controls in multi-selection mode.AppModelNodeBase.getDescription()
Gets the Description of the generated Application Model node.TestObject.getDescription()
Returns a clone of the description for this test object (the test object must be obtained using the describe method, otherwise, this method returns null).int
UiObjectBase.getHandle()
The hWnd of this object's window.int
MenuItemBase.getIndex()
Returns the 0-based numeric index location of the menu item.<T> T
Calls the index getter with the specified index and casts the return value to the specified returnType.<T> T
Calls the index getter with the specified indexes (for multidimensional indexers) and casts the return value to the specified returnType.MenuItemBase.getLabel()
Returns the menu item label.LocationInfoProvider.getLocation()
Returns this object's coordinates relative to the parent window (in pixels).NativeObject.getMembers()
Returns the list of available native operations for an application object.
In some technologies and browsers, the names of the method parameters are included and properties without a setter include a [ReadOnly] suffix.
For additional implementation details and important considerations, see the NativeObject property topic in the Help Center.UiObjectBase.getNativeClass()
This object's window class name.SupportsNativeObject.getNativeObject()
Returns the native application object that is represented by this test object instance, enabling you to access the native properties and methods provided by that object.MenuItemBase.getPath()
Returns the path of the menu item.<T> T
NativeObject.getProperty
(String propertyName, Class<T> returnType) Calls the getter of the specified property and casts the return value to the specified returnType.
You can retrieve the list of available native operations for an object using the getMembers method.
For implementation details and important considerations, see the NativeObject property topic in the Help Center.LocationInfoProvider.getSize()
Returns this object's size (in pixels).TestObject.getSnapshot()
Captures a bitmap of this test object and returns a RenderedImage of it.int
MenuItemBase.getSubMenuCount()
The number of items contained in the specified menu item's sub-menu.static SvInfo
Desktop.getSvInfo()
Returns Service Virtualization Server infoDesktopEnvironment.getSvInfo()
Returns Service Virtualization Server infoAlmRunInfo.getTestType()
Returns a RunningLeanFTTestType type indicating the running test Type.TestObject.getTextLocations
(String textToFind) Returns all rectangular areas containing the specified text within this object.TestObject.getTextLocations
(String textToFind, Rectangle textArea) Returns all rectangular areas within the supplied rectangle that contain the specified text.CalendarBase.getTime()
Returns the time associated with this calendar.TestObject.getVisibleText()
Returns all visible text from this object.TestObject.getVisibleText
(Rectangle textArea) Returns all visible text within the supplied rectangle.UiObjectBase.getWindowTitleRegExp()
The constant part of this window title.boolean
MenuItemBase.hasSubMenu()
Indicates whether the menu item has a sub-menu.void
TestObject.highlight()
Highlights this object in the AUT.<TChild extends TestObject>
intTestObject.highlightMatches
(Class<TChild> type, Description description) Highlights all children that match the the specified test object type and description filter.<T> T
NativeObject.invokeMethod
(String methodName, Class<T> returnType, Object... args) Calls the specified native method using the supplied arguments and casts the return value to the specified returnType.
You can retrieve the list of available native operations for an object using the getMembers method.
For implementation details and important considerations, see the NativeObject property topic in the Help Center.void
NativeObject.invokeMethod
(String methodName, Object... args) Calls the specified native method using the supplied arguments.
You can retrieve the list of available native operations for an object using the getMembers method.
For implementation details and important considerations, see the NativeObject property topic in the Help Center.boolean
MenuItemBase.isChecked()
Indicates whether the menu item has a check mark displayed next to it.boolean
EnabledProvider.isEnabled()
Indicates whether this object is enabled.boolean
MenuItemBase.isEnabled()
Indicates whether the menu item is enabled.boolean
UiObjectBase.isFocused()
Indicates whether this object is currently in focus.boolean
CalendarBase.isRangeSelected()
Indicates whether a range of dates is currently selected in this calendar.boolean
VisibleProvider.isVisible()
Indicates whether this object is currently visible.static void
Keyboard.keyDown
(byte keyScanCode) Deprecated.static void
Keyboard.keyDown
(Keyboard.Keys key) Presses and holds the specified key using a keyboard virtual key.void
KeyboardDevice.keyDown
(byte keyScanCode) Deprecated.useKeyboardDevice.keyDown(Keyboard.Keys)
instead.void
KeyboardDevice.keyDown
(Keyboard.Keys key) Presses and holds the specified key using a keyboard virtual key.static void
Keyboard.keyUp
(byte keyScanCode) Deprecated.useKeyboard.keyUp(Keys)
instead.static void
Keyboard.keyUp
(Keyboard.Keys key) Releases the specified key based on its keyboard virtual key.void
KeyboardDevice.keyUp
(byte keyScanCode) Deprecated.useKeyboardDevice.keyUp(Keyboard.Keys)
instead.void
KeyboardDevice.keyUp
(Keyboard.Keys key) Releases the specified key based on its keyboard virtual key.static Aut
Launches an AUT using the file name.static Aut
Launches an AUT using the file name and a list of arguments.static Aut
Launches an AUT using the file name, a list of arguments, and a working directory.Launches an AUT using the file name.Launches an AUT using the file name and a list of arguments.Launches an AUT using the file name, a list of arguments, and a working directory.static Browser
SrfLab.launchBrowser
(BrowserDescription description) Launches a new browser tab returning an instance ofBrowser
for the launched browser.static Browser
SrfLab.launchBrowser
(BrowserType browserType) Launches a new browser tab returning an instance ofBrowser
for the launched browser.static Device
SrfLab.lockDevice
(DeviceDescription description) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
SrfLab.lockDevice
(DeviceDescription description, ApplicationDescription[] appsToInstall) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
SrfLab.lockDevice
(DeviceDescription description, ApplicationDescription[] appsToInstall, DeviceSource deviceSource) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
SrfLab.lockDevice
(DeviceDescription description, DeviceSessionOptions sessionOptions) Obtains a device from the OpenText Functional Testing Lab and locks it, so that only the current test can perform actions on it.static Device
SrfLab.lockDeviceById
(String deviceId) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.void
Moves the mouse pointer to the specified position inside this object.static void
Moves the mouse to the specified point on the screen.void
Moves the mouse to the specified point on the screen.static void
Keyboard.pressKey
(byte keyScanCode) Deprecated.useKeyboard.pressKey(Keys)
instead.static void
Keyboard.pressKey
(Keyboard.Keys key) Presses the specified key using a keyboard virtual key.void
KeyboardDevice.pressKey
(byte keyScanCode) Deprecated.useKeyboardDevice.pressKey(Keyboard.Keys)
instead.void
KeyboardDevice.pressKey
(Keyboard.Keys key) Presses the specified key using a keyboard virtual key.void
DesktopEnvironment.release()
Releases the environment, if it was locked as a grid node.static void
SrfLab.releaseEnvironment
(Device device) Release the allocated device environment.static void
SrfLab.releaseEnvironment
(Browser browser) Releases the allocated browser environment.void
Scrollable.scroll
(ScrollOrientation orientation, ScrollType type) Scrolls an object that has embedded scroll bars by one line or page.void
Scrollable.scroll
(ScrollOrientation orientation, ScrollType type, int value) Scrolls an object that has embedded scroll bars.void
Invokes the specified Oracle softkey.void
Types the specified string into the object in the application, including special keys.void
SupportSendKeys.sendKeys
(String input, EnumSet<KeyModifier> modifiers) Types the specified string into the object in the application, including special keys or key modifiers.static void
Keyboard.sendString
(String stringToSend) Types the specified string.void
KeyboardDevice.sendString
(String stringToSend) Types the specified string.void
Sets anEnvironmentDescription
capability to the specified value.protected void
AppModelNodeBase.setConcrete
(Description description) Sets the concrete test object.void
Sets the date of this calendar.void
CalendarBase.setDateRange
(DateRange dateRange) Sets the specified date range using a DateRange value.void
CalendarBase.setDateRange
(Date startDate, Date endDate) Sets the specified date range with separate start and end Date values.void
AppModelNodeBase.setDescription
(Description description) Sets the description of the generated Application Model node.void
TestObject.setDescription
(Description description) Replaces this test object's description with the supplied description.void
DateRange.setEndDate
(Date endDate) Sets the end date of the range.void
Calls the indexes (for multidimensional indexers) setter with the specified index value.void
Calls the index setter with the specified index value.void
NativeObject.setProperty
(String propertyName, Object value) Calls the setter of the specified property.
You can retrieve the list of available native operations for an object using the getMembers method.
For implementation details and important considerations, see the NativeObject property topic in the Help Center.void
DateRange.setStartDate
(Date startDate) Sets the start date of the range.void
Sets the time of this calendar.TestObject.verifyImageExists
(RenderedImage imageToFind) Checks whether a snapshot of this object contains an exact match of the supplied image.TestObject.verifyImageExists
(RenderedImage imageToFind, byte similarity) Checks whether a snapshot of this object contains the supplied image.
When this method returns a false value, the step fails, but the failure does not throw an exception or cause the test to stop running.boolean
TestObject.verifyImageMatch
(RenderedImage expectedImage) Checks whether a snapshot of this object is identical to the supplied image.boolean
TestObject.verifyImageMatch
(RenderedImage expectedImage, byte pixelTolerance) Checks whether a snapshot of this object and the supplied image are a match, given the specified pixel tolerance value.boolean
TestObject.verifyImageMatch
(RenderedImage expectedImage, byte pixelTolerance, byte rgbTolerance) Checks whether a snapshot of this object and the supplied image are a match, given the specified pixel and RGB tolerance values.boolean
TestObject.verifyImageMatch
(RenderedImage expectedImage, ImageMaskArea maskArea) Checks whether the defined mask areas within the object snapshot and the supplied image are identical.boolean
TestObject.verifyImageMatch
(RenderedImage expectedImage, ImageMaskArea maskArea, byte pixelTolerance) Checks whether the defined mask areas within the object snapshot and the supplied image match, given the specified pixel tolerance values.boolean
TestObject.verifyImageMatch
(RenderedImage expectedImage, ImageMaskArea maskArea, byte pixelTolerance, byte rgbTolerance) Checks whether the defined mask areas within the object snapshot and the supplied image match, given the specified pixel and RGB tolerance values.static <T extends TestObject>
booleanWaitUntilTestObjectState.waitUntil
(T testObject, WaitUntilTestObjectState.WaitUntilEvaluator<T> evaluator) Waits until the object in the AUT achieves the desired state (or until the object synchronization timeout (20 seconds) elapses.static <T extends TestObject>
booleanWaitUntilTestObjectState.waitUntil
(T testObject, WaitUntilTestObjectState.WaitUntilEvaluator<T> evaluator, long totalTimeOutInMilliseconds) Waits until the object in the AUT achieves the desired state or until the specified timeout elapses.boolean
WaitUntilEnabledProvider.waitUntilEnabled()
Waits until this test object becomes enabled or until 20 seconds elapses.boolean
WaitUntilEnabledProvider.waitUntilEnabled
(int totalTimeOutInMilliseconds) Waits until this test object becomes enabled or until the specified timeout elapses.boolean
TestObject.waitUntilExists()
Waits until this test object exists or the object synchronization timeout elapses.boolean
TestObject.waitUntilExists
(int totalTimeOutInSeconds) Waits until this test object exists or until the specified timeout elapses.boolean
WaitUntilVisibleProvider.waitUntilVisible()
Waits until this test object becomes visible or until 20 seconds elapses.boolean
WaitUntilVisibleProvider.waitUntilVisible
(int totalTimeOutInMilliseconds) Waits until this test object becomes visible or until the specified timeout elapses.Constructors in com.hp.lft.sdk that throw GeneralLeanFtExceptionModifierConstructorDescriptionprotected
AppModelNodeBase
(AppModelBase applicationModel) Initializes an instance of AppModelNodeBase.protected
AppModelNodeBase
(TestObject parent, AppModelBase applicationModel) Initializes an instance of AppModelNodeBase with a parent TestObject.Initializes a new instance of the DateRange class.protected
TopLevelObjectNodeBase
(AppModelBase applicationModel) protected
TopLevelObjectNodeBase
(TestObject parent, AppModelBase applicationModel) -
Uses of GeneralLeanFtException in com.hp.lft.sdk.ai
Subclasses of GeneralLeanFtException in com.hp.lft.sdk.aiMethods in com.hp.lft.sdk.ai that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
AiObject.click()
Clicks in the middle of the AI object.void
AiObject.doubleClick()
Double-clicks in the middle of the AI object.static OCRType
AiRunSettings.getOCREngineProvider()
Retrieves the OCR provider used at runtimeAiObject.getValue()
Returns the AI object's value.void
AiObject.hover()
Holds the cursor over an AI object.void
AiObject.hover
(int duration) Holds the cursor over an AI object for a given duration.static boolean
AiRunSettings.isVerifyIdentificationEnabled()
Retrieves a value that indicates if the verify identification feature is enabled or disabled.void
AiObject.longClick()
Long-clicks in the middle of the AI object.static void
AiUtil.registerCustomClass
(String className, Path imagePath) Registers an image as AI custom class.void
AiObject.rightClick()
Right-clicks in the middle of the AI object.void
Types the specified text into the search box and clicks the search icon.void
Selects an item from a combo box.void
AiObject.select
(String element, AiComboBoxSettings settings) Selects an item from a combo box, using the specified settings.void
Types the specified string into the AI object.void
AiObject.sendSecureKeys
(String encodedText) Types the specified encoded string into the AI object.void
AiObject.setState
(ToggleState state) Sets the state of a toggleable AI control.void
This method is relevant for AIObjects that represent text boxes, input controls, and combo boxes.static void
AiRunSettings.setVerifyIdentificationEnabled
(boolean enabled) Enables or disables verify identification feature.static void
AiUtil.unregisterAllCustomClasses()
Unregisters all custom classes.static void
AiUtil.unregisterCustomClass
(String className) Unregisters an AI custom class.static void
AiRunSettings.updateAutoScrollSettings
(AiAutoScrollSettings settings) Updates the AI auto scroll settings.static void
AiRunSettings.updateComboBoxSettings
(AiComboBoxSettings settings) Updates the AI-based combo box select settings.static void
AiRunSettings.updateOCRSettings
(AiOCRSettings settings) Updates the AI OCR settings. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.apitesting.uft
Methods in com.hp.lft.sdk.apitesting.uft that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionstatic APITestResult
Runs the specified API Test and returns the test run results.
Your API test must have been run in OpenText Functional Testing once or compiled before running it with OpenText OpenText Functional Testing for Developers.static APITestResult
Runs the specified API Test with the specified test profile.
Your API test must have been run in OpenText Functional Testing once or compiled before running it with OpenText OpenText Functional Testing for Developers.static APITestResult
Runs the specified API test with the specified input parameters.
Your API test must have been run in OpenText Functional Testing once or compiled before running it with OpenText OpenText Functional Testing for Developers.static APITestResult
Runs the specified API test with the specified input parameters and test profile.
Your API test must have been run in OpenText Functional Testing once or compiled before running it with OpenText OpenText Functional Testing for Developers. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.insight
Methods in com.hp.lft.sdk.insight that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
InsightObject.clickSpecial()
Clicks the object, without first bringing its parent into focus.void
InsightObject.clickSpecial
(ClickArgs args) Clicks the object, without first bringing its parent into focus.void
InsightObject.clickSpecial
(MouseButton button) Clicks the object, without first bringing its parent into focus.InsightDescription.getImage()
Returns the image that will be used as the source image for the Insight test object.InsightObject.getVisibleText()
Returns the visible text from the entire Test Object area.InsightObject.getVisibleText
(Rectangle textArea) Returns the visible text from the text area within the test object area.void
Places the pointer on the object.void
InsightObject.longClick()
Presses and holds the left mouse button for a default number of seconds.void
InsightObject.longClick
(double duration) Presses and holds the left mouse button for a default number of seconds.void
Presses and holds the left mouse button for a default number of seconds.void
Presses and holds the left mouse button for a default number of seconds.void
InsightDescription.setImage
(RenderedImage image) Sets the image, that will be used as the source image for the Insight test object.
Important: Only images of type: BMP, PNG, and JPG are supported.void
Sets the encoded value of this editable field object.Constructors in com.hp.lft.sdk.insight that throw GeneralLeanFtExceptionModifierConstructorDescriptionInsightDescription
(RenderedImage image) Creates a new InsightDescription instance with the given image as the image source to be used.
Important: Only images of type: BMP, PNG, and JPG are supported.InsightDescription
(RenderedImage image, int similarity) Creates a new InsightDescription instance with the given image as the image source to be used, and a similarity value. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.java
Methods in com.hp.lft.sdk.java that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
Editor.activate()
Activates the edit box.void
Activates a node or row in the tree view table.void
Window.activate()
Activates the window.void
TableBase.activateCell
(int row, int column) Double-clicks a cell by row and column indexes.void
TableBase.activateCell
(int row, String columnHeader) Double-clicks a cell by row index and column header.void
TableBase.activateColumn
(int column) Double-clicks a column by column index.void
TableBase.activateColumn
(String columnHeader) Double-clicks a column by column header.void
List.activateItem
(int itemIndex) Activates an item in the list.void
List.activateItem
(ListItem item) Activates an item in the list.void
List.activateItem
(String item) Activates an item in the list.void
TreeView.activateNode
(TreeViewNode node) Activates a node in the tree.void
TreeView.activateNode
(String nodePath) Activates a node in the tree by node path.void
Table.activateRow
(int row) Double-clicks a row.void
RadioButton.clear()
Clears (deselects) the radio button.void
TableCell.click()
Clicks the cell.void
TableCell.click
(MouseButton button) Clicks the cell using the specifiedMouseButton
.void
TableCell.click
(MouseButton button, TableKeyModifier modifiers) Clicks the cell using the specifiedMouseButton
andTableKeyModifier
.void
Clicks the specified link in the edit box.void
Clicks the specified link.void
TreeViewNode.clickState()
Clicks the state icon of a node in a tree.void
TabControl.close
(int index) Closes the specified tab panel.void
Closes the specified tab panel.void
Window.close()
Closes the window.void
ExpandBarItem.collapse()
Collapses the item in the ExpandBar.void
TreeViewNode.collapse()
Collapses an expandable node in a tree.void
TreeViewTable.collapse
(int index) Collapses the expandable node in the tree.void
Collapses the expandable node in the tree.UiObjectBase.createObject
(String className) Creates a NativeObject wrapping an instance of a Java object within your application.UiObjectBase.createObject
(String className, Object... arguments) Creates a NativeObject wrapping an instance of a Java object within your application.void
Editor.delete
(int fromLine, int fromCharPos, int toLine, int toCharPos) Deletes the specified text.void
List.deselect
(int... itemIndices) Deselects items from the list.void
Deselects items from the list.void
Deselects items from the list.void
TreeView.deselect
(TreeViewNode... nodes) Clears the selection of nodes in the tree.void
Clears the selection of nodes in the tree by nodes paths.void
TreeViewTable.deselect
(TreeViewTableRow... nodes) Clears the selection of nodes in the tree.void
TreeViewTable.deselectColumn
(int column) Unselects the specified column by column index.void
TreeViewTable.deselectColumn
(String columnsHeader) Unselects the specified column by column header.void
Table.deselectColumns
(int... columns) Unselects the specified columns by column indexes.void
Table.deselectColumns
(String... columnsHeaders) Unselects the specified columns by column headers.void
Table.deselectColumnsRange
(int fromColumn, int toColumn) Unselects the specified range of columns by column indexes.void
Table.deselectColumnsRange
(String fromColumnHeader, String toColumnHeader) Unselects the specified range of columns by column headers.void
List.deselectRange
(int indexFrom, int indexTo) Deselects list items between (and including) the two specified items.void
TreeViewBase.deselectRange
(String fromNodePath, String toNodePath) Clears the selection of the specified range of nodes in the tree.void
Table.deselectRows
(int... rows) Unselects rows by row indexes.void
Table.deselectRows
(TableRow... rows) Unselects rows byTableRow
.void
Table.deselectRowsRange
(TableRow fromRow, TableRow toRow) Unselects rows byTableRow
.void
TableBase.deselectRowsRange
(int fromRow, int toRow) Unselects rows by rows indexes.void
TreeViewTable.deselectRowsRange
(TreeViewTableRow fromRow, TreeViewTableRow toRow) Unselects rows byTreeViewTableRow
.void
TableCell.doubleClick()
Double clicks the cell.void
TableCell.doubleClick
(MouseButton button) Double clicks the cell using the specifiedMouseButton
.void
TableCell.doubleClick
(MouseButton button, TableKeyModifier modifiers) Double clicks the cell using the specifiedMouseButton
andTableKeyModifier
.void
TreeViewNode.doubleClickState()
Double-clicks state icon of a node in a tree.void
SpinBox.down()
Sets this spin box to the next lower value.void
TableCell.dragAndDropOn
(TableCell targetCell) void
TableCell.dragAndDropOn
(TableCell targetCell, MouseButton button) void
TableCell.dragAndDropOn
(TableCell targetCell, MouseButton button, TableKeyModifier modifiers) Drags and drops thisTableCell
to the specified targetTableCell
using the specifiedMouseButton
andTableKeyModifier
.void
ExpandBarItem.expand()
Expands the item in the ExpandBar.void
TreeViewNode.expand()
Expands an expandable node in a tree.void
TreeViewTable.expand
(int index) Expands the expandable node in the tree.void
Expands the expandable node in the tree.void
List.extendSelect
(int... itemIndices) Selects additional items from the multi-selection list, by index.void
List.extendSelect
(ListItem... items) Selects additional items from the multi-selection list, by ListItem items.void
List.extendSelect
(String... items) Selects additional items from the multi-selection list, by name.void
TreeView.extendSelect
(TreeViewNode... nodes) Selects additional nodes in the tree.void
TreeViewBase.extendSelect
(String... nodesPaths) Selects additional nodes in the tree.void
TreeViewTable.extendSelect
(TreeViewTableRow... nodes) Selects additional nodes in the tree.void
Table.extendSelectColumns
(int... columns) Selects additional columns in the table.void
Table.extendSelectColumns
(String... columnHeaders) Selects additional columns in the table.void
Table.extendSelectColumnsRange
(int fromColumn, int toColumn) Selects the specified range of additional columns in the table.void
Table.extendSelectColumnsRange
(String fromColumnHeader, String toColumnHeader) Selects the specified range of additional columns in the table.void
Table.extendSelectRows
(int... rows) Selects additional rows in the table.void
Table.extendSelectRows
(TableRow... rows) Selects additional rows in the table.void
Table.extendSelectRowsRange
(int fromRow, int toRow) Selects the specified range of additional rows in the table.void
Table.extendSelectRowsRange
(TableRow fromRow, TableRow toRow) Selects the specified range of additional rows in the table.void
Triggers an event on the test object.String[]
TableRow.getAllCellValues()
Returns the content of all cells contained in the row.UiObjectBase.getAttachedText()
Returns the static text attached to this object.UiObjectBase.getBackgroundColor()
Returns the object's background color.Returns theToolBarButton
with the specified text.ToolBar.getButtons()
Returns the toolbar buttons in this toolbar.Returns a cell specified by row index and column header.TableRowBase.getCells()
Returns a list ofTableCell
objects in the row.TableCell.getColumnHeader()
Returns the column header name of the cell.TreeView.getColumnHeader
(int columnIndex) Returns the header of the specified column in the tree.TableBase.getColumnHeaders()
Returns the column headers.int
TreeViewBase.getColumnsCount()
Returns the number of columns in the tree.TreeViewNode.getColumnValue
(int columnIndex) Returns the text of the column with the specified index.TreeViewNode.getColumnValue
(String columnName) Returns the text of the column with the specified name.Slider.getContainerAttachedText()
Returns the text of the slider object's container.Calendar.getDate()
Returns the date set in the calendar.ExpandBar.getExpandedItems()
Returns a list of the expandedExpandBarItem
objects in the ExpandBar.UiObjectBase.getForegroundColor()
Returns the object's foreground color.int
ListItem.getIndex()
Returns the 0-based index of the list item.int
ToolBarButton.getIndex()
The zero-based index of the toolbar button.Returns theExpandBarItem
object with the specified text.Returns the item with the specified text.ExpandBar.getItems()
Returns a list of theExpandBarItem
objects in the ExpandBar.List.getItems()
Returns the list of items in the list object.ExpandBarItem.getLabel()
Returns the ExpandBar item label.UiObjectBase.getLabel()
Returns the object's label.SpinBox.getMaximum()
Returns the maximum value of the spin box.int
Slider.getMaxPosition()
Returns the maximum position of the slider.SpinBox.getMinimum()
Returns the minimum value of the spin box.int
Slider.getMinPosition()
Returns the minimum position of the slider.ToolBarButton.getName()
Returns the name of the toolbar button.UiObjectBase.getNativeClass()
Returns the object's Java class name.Returns the specified node.TreeViewTable.getNode
(int index) Returns the value of the specified node.UiObjectBase.getObjectName()
Returns test object's ObjectName.<TValue> TValue
UiObjectBase.getObjectProperty
(String propname, Class<TValue> returnType) Returns the value of a test object property.Slider.getOrientation()
Returns the orientation of the slider.TabControl.getOrigLogicalLocation()
Returns the original logical location of the tab object relative to the parent object.UiObjectBase.getPath()
Returns the object's hierarchy (object ancestors).int
Slider.getPosition()
Returns the position of the slider.Table.getRows()
Returns theTableRow
objects in the table.ToolBar.getSelectedButtons()
Returns the selected toolbar buttons in this toolbar.List.getSelectedItems()
Returns the list of items that are selected in the list object.TreeView.getSelectedNodes()
Returns the selected nodes in the tree.TreeViewTable.getSelectedNodes()
Returns the selected nodes in the tree.TabControl.getSelectedTab()
Returns the selected tabbed panel.CheckBox.getState()
Returns the check box state.UiObjectBase.getStatics
(String className) Get a native object wrapping a Java class capable of accessing static members (methods and fields) of the specified Java class.Calendar.getStyle()
Returns the style of a calendar.Menu.getSubMenu
(String subMenuPath) Returns a sub-menu of this menu.Menu.getSubMenus()
Returns a list of the sub-menus that are direct children of this menu.String[][]
Table.getTableCellValues
(TableRow startRow, TableRow endRow) Returns the content of all cells contained in a range of rows.String[][]
Table.getTableCellValues
(TableRow startRow, TableRow endRow, int startColumnIndex, int endColumnIndex) Returns the content of all cells contained in an area of the table.String[][]
Table.getTableCellValues
(TableRow startRow, TableRow endRow, String startColumnName, String endColumnName) Returns the content of all cells contained in an area of the table.int
TabControl.getTabsCount()
Returns the number of tabbed panels contained in the tab object.UiObjectBase.getTagName()
Returns the object's Java name.Editor.getText()
Returns the object's text.Label.getText()
Returns the object's text.Link.getText()
Returns the link text.ListItem.getText()
Returns the text value of the list item.Menu.getText()
Returns the menu's text.UiObject.getText()
Returns the object's text.Calendar.getTime()
Returns the time set in the calendar.Window.getTitle()
Returns the window title.Calendar.getValue()
Returns the value set in the calendar.SpinBox.getValue()
Returns the spin box value.TableCell.getValue()
Returns the content of the cell.int
TreeView.getVisibleNodesCount()
Returns the number of visible nodes in the tree.Window.getWindowState()
Returns the window state.void
Inserts text into the specified location in the edit box.boolean
RadioButton.isChecked()
Indicates whether the radio button is selected.boolean
ToolBarButton.isEnabled()
Indicates whether the toolbar button accepts user input.boolean
UiObjectBase.isFocused()
Indicates whether this object has the focus.boolean
Window.isJavaWindow()
Indicates whether the object is a Java window.boolean
Window.isMaximizable()
Indicates whether the window can be maximized.boolean
Window.isMinimizable()
Indicates whether the window can be minimized.boolean
Editor.isReadOnly()
Indicates whether the object is read only.boolean
Window.isResizable()
Indicates whether the window is resizable.boolean
Slider.isScrollBar()
Indicates whether slider is a scrollBar.boolean
ToolBarButton.isSelected()
Indicates whether the toolbar button is either pressed or checked.void
Window.maximize()
Maximizes the window to fill the screen.void
Window.minimize()
Minimizes the window to an icon.void
Window.move
(int x, int y) Moves the window to the specified location on the screen.void
Moves the window to the specified location relative to the screen.void
Slider.nextLine()
Moves the slider downward, or to the right, by one line.void
Slider.nextLine
(int numberOfLines) Moves the slider downward, or to the right, the specified number of lines.void
TreeViewNode.openContextMenu()
Opens the context menu of a node in a tree.void
ToolBarButton.press()
Presses this toolbar button.void
Slider.previousLine()
Moves the slider upward, or to the left, by one line.void
Slider.previousLine
(int numberOfLines) Moves the slider upward, or to the left, the specified number of lines.void
Replaces text.void
Window.resize
(int width, int height) Resizes the window to the specified dimensions.void
Resizes the window to the specified dimensions.void
Window.restore()
Restores the window to its previous size.void
Editor.select
(int fromLine, int fromCharPos, int toLine, int toCharPos) Selects text in the edit box.void
List.select
(int... itemIndices) Selects multiple items by indices.void
Selects multiple items by string values.void
Selects multiple items by string values.void
Menu.select()
Selects this Java menu.void
TabControl.select
(int index) Selects the specified tab panel.void
Selects the specified tab panel.void
TreeView.select
(TreeViewNode... nodes) Selects the specified nodes.void
Selects the specified nodes by nodes paths.void
TreeViewTable.select
(TreeViewTableRow... nodes) Selects the specified nodes.void
TableBase.selectCell
(int row, int column) Clicks a cell by row and column indexes.void
TableBase.selectCell
(int row, String columnHeader) Clicks a cell by row index and column header.void
TableBase.selectCellsRange
(int fromRow, int fromColumn, int toRow, int toColumn) Selects a range of cells by row and column indexes.void
TableBase.selectCellsRange
(int fromRow, String fromColumnHeader, int toRow, String toColumnHeader) Selects a range of cells by row indexes and column headers.void
TreeViewTable.selectColumn
(int column) Selects column by column index.void
TreeViewTable.selectColumn
(String columnHeader) Selects column by column header.void
Table.selectColumnHeader
(int column) Clicks on a column header of the table by column index.void
Table.selectColumnHeader
(int column, MouseButton button) Clicks on a column header using the specifiedMouseButton
by column index.void
Table.selectColumnHeader
(String columnHeader) Clicks on a column header by header text.void
Table.selectColumnHeader
(String columnHeader, MouseButton button) Clicks on a column header using the specifiedMouseButton
by column header.void
Table.selectColumns
(int... columns) Selects columns by column indexes.void
Table.selectColumns
(String... columnHeaders) Selects columns by column headers.void
TableBase.selectColumnsRange
(int fromColumn, int toColumn) Selects a range of columns by column indexes.void
TableBase.selectColumnsRange
(String fromColumnHeader, String toColumnHeader) Selects a range of columns by column headers.void
List.selectRange
(int indexFrom, int indexTo) Selects list items between (and including) the two specified items.void
List.selectRange
(ListItem itemFrom, ListItem itemTo) Selects list items between (and including) the two specified items.void
List.selectRange
(String itemNameFirst, String itemNameLast) Selects list items between (and including) the two specified items.void
TreeView.selectRange
(TreeViewNode fromNode, TreeViewNode toNode) Selects the specified range of nodes.void
TreeViewBase.selectRange
(String fromNodePath, String toNodePath) Selects the specified range of nodes.void
TreeViewTable.selectRange
(TreeViewTableRow fromNode, TreeViewTableRow toNode) Selects the specified range of nodes.void
Table.selectRows
(int... rows) Selects rows by indexes.void
Table.selectRows
(TableRow... rows) Selects rows byTableRow
.void
Table.selectRowsRange
(TableRow fromRow, TableRow toRow) Selects a range of rows by row objects.void
TableBase.selectRowsRange
(int fromRow, int toRow) Selects a range of rows by indexes.void
TreeViewTable.selectRowsRange
(TreeViewTableRow fromRow, TreeViewTableRow toRow) Selects a range of rows by row objects.void
Menu.selectSubMenu
(String subMenuPath) Selects the specified sub-menu.void
Types the specified string into the object in the application.void
UiObjectBase.sendKeys
(String input, EnumSet<KeyModifier> modifiers) Types the specified string into the test object, including special keys or key modifiers.void
RadioButton.set()
Selects the radio button.void
TreeViewNode.setChecked
(boolean state) Sets the state of the node in the tree.void
Editor.setCursorPosition
(int line, int charPos) Places the cursor at the specified location in the edit box.void
Sets the date in the calendar.void
Editor.setFocus()
Sets the focus on the edit box.void
TreeViewNode.setNodeState
(int index) Sets the state of the node in the tree.void
Slider.setPosition
(int position) Sets the position of the slider.void
Sets the encoded value of this edit box.void
CheckBox.setState
(CheckedState state) Sets the state of the check box.void
Sets the text of the edit box.void
Sets the time in the calendar.void
Sets the spin box value.void
Sets the cell to a new value.void
ToolBarButton.showDropdown()
Opens the drop down menu associated with this toolbar button by clicking the arrow part of the button.void
SpinBox.up()
Sets this spin box to the next higher value. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.mobile
Subclasses of GeneralLeanFtException in com.hp.lft.sdk.mobileModifier and TypeClassDescriptionclass
Represents errors that occur while running tests on mobile applications.Methods in com.hp.lft.sdk.mobile that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
Device.back()
Presses the device's Back button (Android Only).void
SimulateAuthResult.cancel
(SimulateAuthCancelOrigin origin) Authentication simulation canceled.void
Authentication simulation canceled.void
Device.closeViewer()
Closes the RDP window for the device (if open).void
Table.delete
(int item) Deletes the specified item from the table.void
Table.delete
(int section, int item) Deletes the specified item or section (iOS only).void
Stepper.down()
Decreases the value in the stepper.void
SimulateAuthResult.fail
(SimulateAuthFailReason reason) Authentication simulation failed.void
Authentication simulation failed.static DeviceDescription
This method creates a new instance ofDeviceDescription
and initializes it with the given props map.Returns the current value of aDeviceDescription
capability.UiObjectBase.getAccessibilityId()
Returns the accessibility ID of the mobile object.UiObjectBase.getClassName()
Returns the test object class name used by OpenText Functional Testing Lab.UiObjectBase.getContainer()
Returns information about the table container, if the object is in a table.static DeviceInfo[]
MobileLab.getDeviceList()
Returns a list of DeviceInfo for all devices in OpenText Functional Testing Lab.Device.getFleetType()
Returns fleetType of the device as defined in OpenText Functional Testing Lab.DeviceInfo.getFleetType()
Returns the fleetType of the public device as defined in OpenText Functional Testing Lab.UiObjectBase.getHint()
Returns the hint property of the mobile control.Device.getId()
Returns the ID of the device in OpenText Functional Testing Lab.DeviceInfo.getId()
Returns the ID of the device OpenText Functional Testing Lab.Application.getIdentifier()
Returns the application identifier string.Device.getLocation()
Returns location of the device as defined in OpenText Functional Testing Lab.DeviceInfo.getLocation()
Returns the location of the public device as defined in OpenText Functional Testing Lab.UiObjectBase.getLocation()
Returns the location of the mobile object.Device.getLogs()
Returns the device logs collected from the moment the device was locked.Device.getManufacturer()
Returns the manufacturer of the device.DeviceInfo.getManufacturer()
Returns the manufacturer of the device.static URL
MobileLab.getMobileCenterAddress()
Returns the URL of the OpenText Functional Testing Lab as defined in the LFTRuntime configuration, or null if it is not defined.int
UiObjectBase.getMobileCenterIndex()
Returns the ordinal number assigned to the object by OpenText Functional Testing Lab to indicate the order in which the object appears on the device relative to other objects with an otherwise identical description.static String
MobileLab.getMobileCenterUserName()
Returns the user name of the OpenText Functional Testing Lab as defined in the LFTRuntime configuration, or null if it is not defined.Device.getModel()
Returns the model name of the device.DeviceInfo.getModel()
Returns the model name of the device.Application.getName()
Returns the name of the mobile application.Device.getName()
Returns name of the device as defined in OpenText Functional Testing Lab.DeviceInfo.getName()
Returns name of the device as defined in OpenText Functional Testing Lab.UiObjectBase.getNativeClass()
Returns the native class of the mobile object.Device.getOSType()
Returns the operating system currently running on the device.DeviceInfo.getOSType()
Returns the operating system currently running on the device.Device.getOSVersion()
Returns the operating system version currently running on the device.DeviceInfo.getOSVersion()
Returns the operating system version currently running on the device.UiObjectBase.getResourceId()
Returns the resource ID of the control (Android only).UiObjectBase.getSize()
Returns size of the mobile object.Device.getSource()
The source to take the device fromDeviceInfo.getSource()
Returns the source of the public device as defined in OpenText Functional Testing Lab.Device.getSvInfo()
Returns Service Virtualization Server infoUiObjectBase.getText()
Returns the text of the mobile object.int
Application.getUpload()
Returns the application upload number.Application.getVersion()
Returns the application's version.Device.getVitals()
Returns an accumulation of the device vitals from the time the device was locked, in one second intervals.void
Device.home()
Presses the device's Home button (Android Only).void
Table.insert
(int item) Inserts an item or section at the specified location in the table.void
Table.insert
(int section, int item) Inserts an item or section at the specified location in the table (iOS only).void
Application.install()
Installs (or re-installs) the application and then launches it.boolean
UiObjectBase.isCheckable()
Indicates whether the mobile object can be checked.boolean
UiObjectBase.isChecked()
Indicates whether the mobile object is checked (relevant for controls that can have a check mark).boolean
UiObjectBase.isClickable()
Indicates whether the control can be tapped.boolean
UiObjectBase.isFocusable()
Indicates whether the control can receive focus.boolean
UiObjectBase.isFocused()
Indicates whether the mobile control is in focus.boolean
Application.isPackaged()
Indicates whether the application is packaged (instrumented) or not.boolean
EditField.isPassword()
Indicates whether this mobile edit object is a password box.boolean
View.isScrollable()
Indicates whether the view can be scrolled.boolean
Device.isViewerOpen()
Checks if the RDP window for the device is open.void
Application.kill()
Stops the application.void
Application.launch()
Launches the application if it is not started.static Device
MobileLab.lockDevice
(DeviceDescription description) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
MobileLab.lockDevice
(DeviceDescription description, ApplicationDescription[] appsToInstall) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
MobileLab.lockDevice
(DeviceDescription description, ApplicationDescription[] appsToInstall, DeviceSource deviceSource) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
MobileLab.lockDevice
(DeviceDescription description, DeviceSessionOptions sessionOptions) Obtains a device from the OpenText Functional Testing Lab and locks it, so that only the current test can perform actions on it.static Device
MobileLab.lockDeviceById
(String deviceId) Obtains a device from the OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
MobileLab.lockDeviceByInfo
(DeviceInfo deviceInfo) Obtains a device from OpenText Functional Testing Lab and locks it so that only the current test can perform actions on it.static Device
MobileLab.lockDeviceByName
(String deviceName) Obtains a device from the OpenText Functional Testing Lab by device name and locks it so that only the current test can perform actions on it.void
UiObjectBase.longPress()
Presses and holds the object for a moment.void
UiObjectBase.longPress
(LongPressArgs args) Presses and holds the object for a moment.void
Device.menu()
Presses the device's Menu button (Android Only).void
Table.moveItem
(int srcItem, int destItem) Moves an item or section in the list (iOS only).void
Table.moveItem
(int srcSection, int srcItem, int destSection, int destItem) Moves an item or section in the list (iOS only).void
Device.networkVirtualizationStart
(String profile) Starts the Network Virtualization service using the specified network profile.void
Device.networkVirtualizationStop()
Stops the Network Virtualization servicevoid
Device.openViewer()
Opens an RDP window for the device.void
Performs a Pan gesture on the device.void
Performs a Pan gesture on the device.void
Perform a Pan gesture on the object.void
Perform a Pan gesture on the object.void
Perform a Pan gesture on the object.void
UiObjectBase.pinch
(double scale) Perform a Pinch gesture on the object.void
Perform a Pinch gesture on the object.void
Device.recentApps()
Opens the list of recent applications (Android Only).void
Application.restart()
Launches the application if it is closed, or restarts the application if it is already running.void
RecyclerView.scroll
(int item) Scrolls to the specified item in the recycler view.void
Table.scroll
(int index) Scrolls to the specified item in the table.void
Table.scroll
(int section, int item) Scrolls to the specified item in the specified section of the table.void
Scrollable.scrollOnePage
(ScrollPageDirection direction) Scrolls the object one page in the specified direction.void
Scrollable.scrollToOffset
(int x, int y) Scrolls the object to the specified x,y coordinates.void
DropDown.select
(int... indices) Selects the specified item or items by index. Multiple indexes are supported only for iOS.void
Selects the specified items by name from the corresponding picker wheel's list of values (iOS only).void
RadioGroup.select
(int index) Selects the specified radio button in the group by index.void
Selects the specified radio button in the group by name.void
RecyclerView.select
(int item) Selects an item in the recycler view.void
Table.select
(int index) Selects a row in the table.void
Table.select
(int section, int item) Selects an item in a section in the table.void
TabStrip.select
(int index) Selects the specified tab by index.void
Selects the specified tab by name.void
DropDown.selectInWheel
(int pickerWheel, int index) Selects the specified item in the specified picker wheel by index (iOS only).void
DropDown.selectInWheel
(int pickerWheel, String item) Selects the specified item by name in the picker (iOS only).void
Simulates pressing a special key in the device keyboard.void
Simulates pressing a special key in the device keyboard, with the option to define the time to keep the key pressed.void
Simulates pressing a custom device key.void
Simulate pressing a custom device key, with the option to define the time to keep the key pressed.void
Device.sendString
(String text) Simulates entering text (a string) using the device keyboard.void
Device.sendString
(String text, int interval) Simulates entering text (a string) using the device keyboard, with the option to send each of the string characters in intervals of n milliseconds.void
CheckBox.set
(boolean state) Sets the state of the check box.void
Sets aDeviceDescription
capability to the given value.void
Paginator.set
(int pageIndex) Brings the specified page into view.void
Toggle.set
(boolean state) Sets the state of the object.void
Sets the state of the object by name.void
EditField.setFocus()
Brings the edit box into focus.void
UiObject.setFocus()
Brings the object into focus.void
Device.setOrientation
(DeviceOrientation orientation) Sets the device orientation.void
Slider.setPosition
(double position) Sets the slider position.void
Generate the encoded value using the Password Encoder utility, available from the OpenText Functional Testing for Developers > Tools menu in your IDE or from the Windows Start menu.void
Sets the specified text in the edit box.void
Sets the specified time/date in the calendar.void
Device.shake()
Performs a Shake gesture on the device (iOS Only).void
Application.simulateBarcodeScan
(String imageID) Simulate barcode or QR code scan using an image file.void
Device.simulateGPSRelocate
(double latitude, double longitude) Simulates a change in the device's GPS location (Android Only).void
Device.simulateIncomingCall
(String from) Simulates an incoming call.void
Device.simulateIncomingCall
(String from, EventResponseArgs eventResponseArgs) Simulates an incoming call with an optional simulated user response.void
Device.simulateIncomingSMS
(String from, String text) Simulates an incoming SMS.void
Device.simulateIncomingSMS
(String from, String text, EventResponseArgs eventResponseArgs) Simulates an incoming SMS with an optional simulated user response.void
Application.startCameraSimulationMode
(String mediaID) Start camera simulation mode.void
Application.stopCameraSimulationMode()
Stop camera simulation mode.void
SimulateAuthResult.succeed()
Authentication simulation succeeded.void
Device.svStartScenario
(String svScenarioId) Starts a specific service virtualization scenario.void
Device.svStopScenario
(String svScenarioId) Stops a specific service virtualization scenario.Device.svUploadScenario
(String svServiceId, String scenarioFilesFolder) Uploads scenario definition files to the device and makes them available in the current session.Device.svUploadService
(String serviceFileContents) Uploads a service definition file to the device and makes it available in the current session.void
Device.swipe
(SwipeDirection direction) Swipes the device in the specified direction starting from the leading edge of the element or device.void
Device.swipe
(SwipeDirection direction, Location startLocation) Swipes the device in the specified direction starting from the specified location.void
UiObjectBase.swipe
(SwipeDirection direction) Swipes the object in the specified direction.void
UiObjectBase.swipe
(SwipeDirection direction, SwipeArgs args) Swipes the object in the specified direction.void
UiObjectBase.tap()
Taps the object.void
Taps the object.void
Device.touch
(int x, int y) Touches the device at the specified coordinates (Android Only).void
Touches the device at the specified point (Android Only).static Device
MobileLab.tryLockDeviceByInfo
(DeviceInfo deviceInfo) Checks whether a device is available in the OpenText Functional Testing Lab and if so, locks it, so that only the current test can perform actions on it.
If this method fails, the test continues without an exception.void
Application.uninstall()
Uninstalls the application.void
Device.unlock()
Unlocks the device in OpenText Functional Testing Lab if it is not locked by another device object.void
Stepper.up()
Increases the value in the stepper.void
Device.uploadMedia
(VideoData videoData, String mediaID) Upload a video to the device for video simulation.void
Device.uploadMedia
(VideoData videoData, String mediaID, MediaUploadOptions options) Upload a video to the device for video simulation, with the option to save the file.void
Device.uploadMedia
(RenderedImage image, ImageFormat imageFormat, String mediaID) Upload an image to the device for camera simulation.void
Device.uploadMedia
(RenderedImage image, ImageFormat imageFormat, String mediaID, MediaUploadOptions options) Upload an image to the device for camera simulation, with the option to save the file.void
Device.uploadMedia
(String mediaUrl, String mediaID) Upload a media file to the device for camera or video simulation.void
Device.uploadMedia
(String mediaUrl, String mediaID, MediaUploadOptions options) Upload a media file to the device for camera or video simulation, with the option to save the file.void
Device.uploadMedia
(URL mediaUrl, String mediaID) Upload a media file to the device for camera or video simulation.void
Device.uploadMedia
(URL mediaUrl, String mediaID, MediaUploadOptions options) Upload a media file to the device for camera or video simulation, with the option to save the file.void
Zoom to the specified scale. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.oracle
Methods in com.hp.lft.sdk.oracle that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
List.activate
(int item) Activates the specified item in the list.void
Activates the specified item in the list.void
Activates the specified item in the list.void
TreeView.activate
(int item) Activates the specified item in the tree.void
TreeView.activate
(TreeViewNode item) Activates the specified item in the tree.void
Activates the specified item in the tree.void
UiFormBase.activate()
Activates the form.void
Table.activateRow
(int row) Activates a specified record.void
FlexFieldWindow.approve()
Accepts changes and closes the flexfield window by clicking the OK button.void
Notification.approve()
Clicks the Yes or OK button.<T extends UiObjectBase>
TTableCell.asTestObject
(Class<T> type) Returns the test object representing a specified record field.void
Calendar.cancel()
Presses the Cancel button in an Oracle calendar.void
FlexFieldWindow.cancel()
Cancels changes and closes the flexfield window by clicking the Cancel button.void
ListOfValues.cancel()
Closes the List of Values window.void
Notification.cancel()
Clicks the Cancel button.void
CheckBox.clear()
Clears (unchecks) the check box.void
FlexFieldWindow.clear()
Clears data in the flexfield window fields by clicking the Clear button.void
Notification.clickButton
(String name) Clicks the specified button.void
UiFormBase.closeForm()
Closes the form using the Exit softkeyvoid
UiFormBase.closeWindow()
Closes the form using the X button in the form window title bar.void
TreeViewNode.collapse()
Collapses the specified item in the tree.boolean
Indicates whether the specified item is contained in the list.void
Notification.decline()
Clicks the No button.void
ApplicationSession.exit()
Exits the Oracle Applications session window.void
TreeViewNode.expand()
Expands the specified item in the tree.void
Finds the item in the list that matches the specified value.<TForm extends UiFormBase>
TFormApplicationSession.getActiveWindow
(Class<TForm> type) Returns the test object representing the currently active window.CheckBox.getCaption()
Returns the caption of the object.EditField.getCaption()
Returns the caption of the object.List.getCaption()
Returns the caption of the object.RadioGroup.getCaption()
Returns the caption of the object.TreeView.getCaption()
Returns the caption of the object.Returns a cell specified by row index and column header.TableRow.getCells()
Returns a list ofTableCell
objects in the row.ApplicationSession.getClassPath()
The Oracle class hierarchy of the object's Oracle class.Button.getClassPath()
The Oracle class hierarchy of the object's Oracle class.Calendar.getClassPath()
The Oracle class hierarchy of the object's Oracle class.CheckBox.getClassPath()
The Oracle class hierarchy of the object's Oracle class.EditField.getClassPath()
The Oracle class hierarchy of the object's Oracle class.FlexFieldWindow.getClassPath()
The Oracle class hierarchy of the object's Oracle class.FormWindow.getClassPath()
The Oracle class hierarchy of the object's Oracle class.List.getClassPath()
The Oracle class hierarchy of the object's Oracle class.ListOfValues.getClassPath()
The Oracle class hierarchy of the object's Oracle class.Notification.getClassPath()
The Oracle class hierarchy of the object's Oracle class.RadioGroup.getClassPath()
The Oracle class hierarchy of the object's Oracle class.StatusBar.getClassPath()
The Oracle class hierarchy of the object's Oracle class.Tab.getClassPath()
The Oracle class hierarchy of the object's Oracle class.TreeView.getClassPath()
The Oracle class hierarchy of the object's Oracle class.Table.getColumnHeaders()
Returns the column headers.StatusBar.getErrorCode()
Returns the error code of the displayed message.List.getItem
(int item) Returns the item with the specified text.Returns the item with the specified text.RadioGroup.getItem
(int item) Returns the item with the specified index.Returns the item with the specified text.Returns the item at the specified path.ListOfValues.getItems()
Returns the content of the object window.Button.getLabel()
Returns the text displayed on the object.CheckBox.getLabel()
Returns the text displayed on the object.Tab.getLabel()
Returns the text displayed on the object.MenuItem.getMenuSubItems()
Returns a list of all submenus for the specified menu item.Notification.getMessage()
Returns the text of the displayed message.StatusBar.getMessage()
Returns the text of the displayed message.TreeView.getNode
(int node) Returns the the specified node.Returns the the specified node.Button.getObjectDescription()
Indicates accessibility description of the object as specified by the server.CheckBox.getObjectDescription()
Indicates accessibility description of the object as specified by the server.EditField.getObjectDescription()
Indicates accessibility description of the object as specified by the server.List.getObjectDescription()
Indicates accessibility description of the object as specified by the server.RadioGroup.getObjectDescription()
Indicates accessibility description of the object as specified by the server.TreeView.getObjectDescription()
Indicates accessibility description of the object as specified by the server.Button.getObjectName()
Indicates internal name of the object supplied by the application server.CheckBox.getObjectName()
Indicates internal name of the object supplied by the application server.EditField.getObjectName()
Indicates internal name of the object supplied by the application server.List.getObjectName()
Indicates internal name of the object supplied by the application server.RadioGroup.getObjectName()
Indicates internal name of the object supplied by the application server.Table.getObjectName()
Returns the name of the object supplied by the server.TreeView.getObjectName()
Indicates internal name of the object supplied by the application server.UiObjectBase.getObjectType()
Returns the general object type.MenuItem.getPath()
Returns the path of the menu item.Table.getRows()
Returns theTableRow
objects in the table.int
List.getSelectedIndex()
Returns the index of the selected item (0-based).int
RadioGroup.getSelectedIndex()
Returns the index of the selected item (0-based).List.getSelectedItem()
Returns the value of the selected item.RadioGroup.getSelectedItem()
Returns the value of the selected item.TreeView.getSelectedItem()
Returns the value of the selected item.FormWindow.getShortTitle()
Returns the window short title.EditField.getText()
Returns the value of the object.Calendar.getTitle()
Returns the window title.FlexFieldWindow.getTitle()
Returns the window title.ListOfValues.getTitle()
Returns the window title.Notification.getTitle()
Returns the window title.UiFormBase.getTitle()
Returns the window title.Button.getTooltipText()
Indicates the text displayed in the object's tooltip.CheckBox.getTooltipText()
Indicates the text displayed in the object's tooltip.EditField.getTooltipText()
Indicates the text displayed in the object's tooltip.List.getTooltipText()
Indicates the text displayed in the object's tooltip.RadioGroup.getTooltipText()
Indicates the text displayed in the object's tooltip.TreeView.getTooltipText()
Indicates the text displayed in the object's tooltip.Notification.getType()
Returns the type of notification.TableCell.getValue()
Returns the content of the cell.void
FlexFieldWindow.help()
Accesses the online help by clicking the Help button.boolean
MenuItem.isChecked()
Indicates whether this menu item is currently checked.boolean
MenuItem.isDisabled()
Indicates whether this menu item is currently disabled.boolean
EditField.isEditable()
Indicates whether the text field is editable.boolean
TableCell.isEditable()
Indicates whether the field is editable.boolean
MenuItem.isEnabled()
Indicates whether this menu item is currently enabled.boolean
CheckBox.isSelected()
Indicates the state of the object -whether it is selected or cleared.boolean
ListItem.isSelected()
Indicates whether the specified item is selected.boolean
RadioGroupItem.isSelected()
Indicates whether the specified radio button is selected in the option group.boolean
MenuItem.isShowing()
Indicates whether this menu item is currently showing.boolean
MenuItem.isVisible()
Indicates whether this menu item is currently visible.void
EditField.openDialog()
Opens the field's associated dialog box.void
TableCell.openDialog()
Opens a specified record field's associated dialog box.void
UiFormBase.pressToolbarButton
(String buttonName) Presses a toolbar button.void
UiFormBase.save()
Performs a Save operation using the Commit softkey.void
CheckBox.select()
Selects (checks) the check box.void
List.select
(int item) Selects the specified item from the list.void
Selects the specified item from the list.void
Selects the specified item from the list.void
ListOfValues.select
(int item) Selects the specified item from the list.void
Selects the specified item from the list.void
RadioGroup.select
(int item) Selects the radio button with the specified value.void
RadioGroup.select
(RadioGroupItem item) Selects the radio button with the specified value.void
Selects the radio button with the specified value.void
Tab.select()
Selects the tabbed region.void
TreeView.select
(int item) Selects the specified item in the tree.void
TreeView.select
(TreeViewNode item) Selects the specified item in the tree.void
Selects the specified item in the tree.void
Notification.selectDefaultButton()
Clicks the default button in the window.void
UiObjectBase.selectFromPopupMenu
(String path) Opens the context menu and selects the specified menu option.void
UiObjectBase.selectFromPopupMenu
(String... menuPathParts) Opens the context menu and selects the specified menu option.void
UiFormBase.selectMenuItem
(MenuItem item) Selects a menu option.void
UiFormBase.selectMenuItem
(String itemPath) Selects a menu option.void
Invokes the specified Oracle softkey.void
Enters a date in an Oracle calendar.void
Enters a date in an Oracle calendar.void
CheckBox.setFocus()
Transfers focus to the check box.void
EditField.setFocus()
Transfers the focus to the field.void
RadioGroup.setFocus()
Transfers the focus to the option group.void
TableCell.setFocus()
Transfers focus to a specified record field.void
Enters the specified text into the field.void
EditField.setTextAndValidate
(String text) Enters the specified text into the field with validation.void
Enters a value in a specific record field.void
TableCell.setValueAndValidate
(Object value) Enters a value in a specific record field with validation.void
FlexFieldWindow.showCombinations()
Uses the Show Combinations button to display a Reduction Criteria window that assists in completing the flexfield value.void
ApplicationSession.sync()
Instructs OpenText Functional Testing for Developers to wait the specified number of seconds to synchronize with Oracle Applications before continuing the run session.void
ApplicationSession.sync
(long seconds) Instructs OpenText Functional Testing for Developers to wait the specified number of seconds to synchronize with Oracle Applications before continuing the run session.void
EditField.validate()
Transfers the focus out of the field. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.powerbuilder
Methods in com.hp.lft.sdk.powerbuilder that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
Window.activate()
Activates the window.void
Window.activate
(MouseButton button) Activates the window using the specified mouse button.void
Table.activateCell
(int row, int column) Double-clicks a cell by row and column indexes.void
Table.activateCell
(int row, String columnHeader) Double-clicks a cell by row index and column header.void
ListBase.activateItem
(int itemIndex) Activates (double-clicks) the specified item in the list by item index.void
ListBase.activateItem
(int itemIndex, MouseButton button) Activates (double-clicks) the specified item in the list by item index.void
ListBase.activateItem
(String item) Activates (double-clicks) the specified item in the list by item text.void
ListBase.activateItem
(String item, MouseButton button) Activates (double-clicks) the specified item in the list by item text.void
ListBase.activateItem
(T item) Activates (double-clicks) the specified generic item in the list.void
ListBase.activateItem
(T item, MouseButton button) Activates (double-clicks) the specified generic item in the list.void
TreeView.activateNode
(int nodeIndex) Activates (double-clicks) a node in the tree-view object by node index.void
TreeView.activateNode
(int nodeIndex, MouseButton button) Activates (double-clicks) a node in the tree-view object by node index.void
TreeView.activateNode
(TreeViewNode node) Activates (double-clicks) a node in the tree-view object with a tree-view node.void
TreeView.activateNode
(TreeViewNode node, MouseButton button) Activates (double-clicks) a node in the tree-view object with a tree view node.void
TreeView.activateNode
(String nodePath) Activates (double-clicks) a node in the tree-view object by node path.void
TreeView.activateNode
(String nodePath, MouseButton button) Activates (double-clicks) a node in the tree-view object by node path.void
ListViewItem.clickState()
Clicks the state image icon.void
TreeViewNode.clickState()
Clicks the state icon.void
Window.close()
Closes the window.void
TreeViewNode.collapse()
Hides sub-nodes of this node in the expanded tree-view control.void
ListBase.deselect
(int... itemIndices) Deselect a list of items by items indices.void
Deselect a list of items by items text.void
Deselects a list of items according to a generic list.void
ListViewItem.doubleClickState()
Double-clicks state image icon.void
TreeViewNode.doubleClickState()
Double-clicks state icon.void
ListViewItem.enableLabelEditing()
Activates the edit mode for the lists item label to enable renaming.void
TreeViewNode.enableLabelEditing()
Activates the edit mode for the node in the tree-view control to enable renaming.Table.evaluateExpression
(String expression, int row) evaluateExpression uses the PowerBuilder Describe method to evaluate one expression involving values of a particular row and column.void
TreeViewNode.expand()
Displays hidden sub-nodes of this node in the tree-view control.void
TreeViewNode.expandAll()
Expands this node and all nodes below it, in the tree-view control.void
ListBase.extendSelect
(int... itemIndices) Selects additional items from the multi-selection list.void
ListBase.extendSelect
(String... itemNames) Selects additional items from the multi-selection list.void
ListBase.extendSelect
(T... items) Selects additional items from the multi-selection list.UiObjectBase.getAttachedText()
Returns the static text attached to the object.Returns an button with the given text.ToolBar.getButtons()
Returns all toolbar buttons in this toolbar.Returns a cell specified by row index and column header.TableRow.getCells()
Returns a list ofTableCell
objects in the row.ListView.getCheckedItems()
Returns all items marked as checked to a unmodified list object.TreeView.getCheckedVisibleNodes()
Retrieves the checked visible nodes in the tree-view object.int
Table.getColumnCount()
ListView.getColumnHeader
(int columnIndex) Returns the text header of the specified (report-style) list-view column.TreeViewNode.getFirstChildPath()
Returns the full path of the node's first child node as a semi-colon delimited String.int
ListItem.getHeight()
Returns the list item's height (in pixels).int
TreeViewNode.getImageIndex()
Returns the image index of the node.int
ToolBarButton.getIndex()
The 0-based index number of the toolbar button.Returns an item with the given text.ComboBox.getItems()
Returns a list of strings containing the names of all items in the combo box.ListBase.getItems()
Returns a collection of all items in the list.int
ScrollBar.getMaxPosition()
Returns the maximum scrolling position.int
ScrollBar.getMinPosition()
Returns the minimum scrolling position.ToolBarButton.getName()
Returns the name of the toolbar button.TreeViewNode.getNextSiblingPath()
Returns the full path of the node's next sibling node as a semi-colon delimited String.UiObjectBase.getObjectName()
Returns the object's name as set by the developer.int
TreeViewNode.getOverlayImageIndex()
Returns the index number of the current overlay image.TreeViewNode.getParentPath()
Returns the full path of the node's parent node as a semi-colon delimited String.TreeViewNode.getPath()
Returns the full path of the node as a semi-colon delimited String.int
ScrollBar.getPosition()
Returns the scroll bar position.int
Table.getRowCount()
Table.getRows()
Returns theTableRow
objects in the table.ToolBar.getSelectedButtons()
Returns all selected buttons in this toolbar.ComboBox.getSelectedItem()
Returns the selected item in the combo box.ListBase.getSelectedItems()
Returns all of the selected items in the list.TreeView.getSelectedNodes()
Returns all the selected nodes in the tree-view object.TabControl.getSelectedTab()
Returns the selected tab in the tab control.CheckBox.getState()
Returns the check box status.int
ListViewItem.getState()
Returns the list item's state image index.RadioButton.getState()
Returns the radio button's status.int
TreeViewNode.getState()
Returns the state image index of the node.ListViewItem.getSubItemText()
Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.ListViewItem.getSubItemText
(int columnIndex) Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.ListViewItem.getSubItemText
(String columnName) Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.Returns the tab with the specified name.Table.getTableProperty
(String property) The getTableProperty method uses the PowerBuilder Describe method to return the value of one property of a DataWindow object and controls within the DataWindow object.TabControl.getTabs()
Returns all tabs in the tab control.ListItem.getText()
Returns the text value of the list item, or "" when empty.ListViewItem.getText()
Returns the text value of the list item, or "" when empty.Tab.getText()
Returns the text of the tab item.TreeViewNode.getText()
Returns the text of the node, or "" when empty.UiObjectBase.getText()
Returns the text associated with the object.TableCell.getValue()
Returns the content of the cell.int
ListView.getVisibleColumnsCount()
Returns the number of visible columns in the list-view object.TreeView.getVisibleNodes()
Returns all visible nodes in the tree-view object.UiObjectBase.getWindowClassRegExp()
Returns the permanent part of the MFC window class.long
UiObjectBase.getWindowExtendedStyle()
Returns the extended window style of the object as long.int
UiObjectBase.getWindowId()
Returns the object's window identifier.Window.getWindowState()
The current window state.long
UiObjectBase.getWindowStyle()
Returns the window style of the object as long.boolean
Window.hasBorder()
Indicates whether the window has a thin-line border.boolean
Window.hasCaption()
Indicates whether the window has a title bar.boolean
TreeViewNode.hasChildren()
Indicates whether the node has children.boolean
ToolBarButton.hasEllipses()
Indicates whether the toolbar button's text is truncated and an ellipsis (...) is displayed.
Note: This property is not supported for QMenuBar objects.boolean
Window.hasSizebox()
Indicates whether the window has a sizing border.boolean
Window.hasSystemMenu()
Indicates whether the window has a window menu on its title bar.boolean
Window.isActive()
Indicates whether the window is the foreground object (currently active).boolean
ToolBarButton.isChecked()
Indicates whether the toolbar button is a dual-state (toggle) push button and is currently selected (pushed).boolean
Window.isChildWindow()
Indicates whether the window is a child window.boolean
ToolBarButton.isEnabled()
Indicates whether the toolbar button is enabled.boolean
TreeViewNode.isExpanded()
Indicates whether the node is expanded.boolean
ListItem.isFocused()
Indicates whether the list item has focus in a multiple selection list box.boolean
ListViewItem.isFocused()
Indicates whether the list item is in focus in a multiple selection list box.boolean
ToolBarButton.isHighlighted()
Indicates whether the toolbar button is highlighted (surrounded by a dotted line).boolean
ToolBarButton.isHot()
Indicates whether the toolbar button is "hot".boolean
ToolBarButton.isIndeterminate()
Indicates whether the toolbar button is disabled.boolean
ToolBarButton.isMarked()
Indicates whether the toolbar button is marked.boolean
Window.isMaximizable()
Indicates whether the window can be maximized.boolean
Window.isMdiChildWindow()
Indicates whether the window is a multiple-document interface (MDI) child window.boolean
Window.isMinimizable()
Indicates whether the window can be minimized.boolean
Window.isOwnedWindow()
Indicates whether the window has an owner window.boolean
Window.isPopupWindow()
Indicates whether the window is a pop-up window.boolean
ToolBarButton.isPressed()
Indicates whether the toolbar button was clicked.boolean
UiObjectWithLayoutInfo.isRightAligned()
Indicates whether this object has generic "right-aligned" properties.boolean
UiObjectWithLayoutInfo.isRightToLeftLayout()
Indicates whether this object's horizontal origin is on the right edge.boolean
UiObjectWithLayoutInfo.isRightToLeftReading()
Indicates whether this object's text is displayed using right-to-left reading-order properties.boolean
ListItem.isSelected()
Indicates whether the list item is selected.boolean
ListViewItem.isSelected()
Indicates whether the list item is selected.boolean
Tab.isSelected()
Indicates whether the tab item is selected.boolean
ToolBarButton.isSelected()
Indicates whether the toolbar button is currently either pressed (currently being clicked) or checked (a dual-state push button that is currently selected).boolean
TreeViewNode.isSelected()
Indicates whether the node is selected.boolean
Window.isToolWindow()
Indicates whether the window is a tool window (a floating toolbar).boolean
Window.isTopmost()
Indicates whether the window is placed above all non-topmost windows and remains in place, even when the window is deactivated.boolean
ToolBarButton.isWrap()
Indicates whether the toolbar button is enabled and followed by a line break.void
Window.maximize()
Maximizes the window.void
Window.minimize()
Minimizes the window to an icon.void
Window.move
(int x, int y) Moves the window to the specified absolute location on the screen with X,Y coordinates.void
Moves the window to the specified absolute location on the screen with a Point object.void
ScrollBar.nextLine()
Moves the scroll bar downward, or to the right, by one line.void
ScrollBar.nextLine
(int numberOfLines) Moves the scroll bar downward, or to the right, the specified number of lines.void
ScrollBar.nextPage()
Moves the scroll bar downward, or to the right, by one page.void
ScrollBar.nextPage
(int numberOfPages) Moves the scroll bar downward, or to the right, the specified number of pages.void
ToolBarButton.press()
Presses the specified toolbar button.void
ToolBarButton.press
(MouseButton button) Presses the specified toolbar button.void
ScrollBar.previousLine()
Moves the scroll bar upward, or to the left, by one line.void
ScrollBar.previousLine
(int numberOfLines) Moves the scroll bar upward, or to the left, the specified number of lines.void
ScrollBar.previousPage()
Moves the scroll bar upward, or to the left, by one page.void
ScrollBar.previousPage
(int numberOfPages) Moves the scroll bar upward, or to the left, the specified number of pages.void
Window.resize
(int width, int height) Resizes the window to the specified dimensions by width and height values.void
Resizes the window to the specified dimensions.void
Window.restore()
Restores the window to its previous size.void
ComboBox.select
(int index) Selects an item from the combo box based on a numerical index.void
Selects an item from the combo box based on a string.void
EditField.select
(int fromCharPos, int toCharPos) Selects the specified text in the edit box.
Note: All positions are 0-based.void
ListBase.select
(int... itemIndices) Selects a list of items by items indices.void
Selects a list of items by items text.void
Selects a list of items according to a generic list.void
TabControl.select
(int tabIndex) Selects the specified tab by tab index.void
TabControl.select
(int tabIndex, MouseButton button) Selects the specified tab by tab index.void
Selects the specified tab.void
TabControl.select
(Tab tab, MouseButton button) Selects the specified tab in the tab control.void
Selects the specified tab by tab name.void
TabControl.select
(String tab, MouseButton button) Selects the specified tab by tab name.void
TreeView.select
(int nodeIndex) Selects a node in the tree-view object by node index.void
TreeView.select
(int nodeIndex, MouseButton button) Selects a node in the tree-view object by node index.void
TreeView.select
(TreeViewNode node) Selects a node in the tree-view object.void
TreeView.select
(TreeViewNode node, MouseButton button) Selects a node in the tree-view control.void
Selects a node in the tree-view object by node path.void
TreeView.select
(String nodePath, MouseButton button) Selects a node in the tree-view control by node path.void
Table.selectCell
(int row, int column) Clicks a cell by row and column indexes.void
Table.selectCell
(int row, String columnHeader) Clicks a cell by row index and column header.void
ListBase.selectRange
(int indexTo) Selects all list items between an already selected item and the specified item with index passed as the argument.void
ListBase.selectRange
(int indexFrom, int indexTo) Selects all list items between (and including) the two specified items.void
ListBase.selectRange
(String itemTo) Selects all list items between an already selected item and the specified item with text passed as the argument.void
Table.selectRow
(int row) Selects row by index.void
Selects row byTableRow
.void
RadioButton.set()
Selects the radio button.void
ListViewItem.setItemState
(int index) Sets the state of the check box icon of the specified item in the list.void
TreeViewNode.setNodeState
(int index) Sets the state of the check box icon of the specified node in the tree-view control.void
ScrollBar.setPosition
(int position) Sets the scroll bar position.void
Sets the encoded value of this edit box.void
CheckBox.setState
(CheckedState state) Sets the state of the check box.void
Sets the text string in the edit field.void
Sets the cell to a new value.void
ToolBarButton.showDropdown()
Opens the drop down menu associated with this toolbar button by clicking the arrow part of the button. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.sap.gui
Methods in com.hp.lft.sdk.sap.gui that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
Window.activate()
Activates the SAP window.void
TableBase.activateCell
(int row, int columnIndex) Double-clicks the specified cell.void
TableBase.activateCell
(int row, String column) Double-clicks the specified cell.void
Grid.activateColumn
(int columnIndex) Double-clicks the specified column in the grid.void
Grid.activateColumn
(String column) Double-clicks the specified column in the grid.void
TreeViewNode.activateItem
(int itemIndex) Activates an item in a column tree or list tree.void
TreeViewNode.activateItem
(String item) Activates an item in a column tree or list tree.void
TreeView.activateNode
(TreeViewNode node) Activates a node in a tree.void
TreeView.activateNode
(String path) Activates a node in a tree.void
Grid.activateRow
(int rowIndex) Double-clicks the specified row in a grid.static GuiSession
GuiSessionFactory.attach
(GuiSessionDescription description) Returns a newGuiSession
instance. The instance is attached to a session that was not opened by OpenText Functional Testing for Developers, for example, a session that was opened manually or by the AUT.Menubar.buildMenuPath
(Object... menuPathParts) Returns the path of the specified menu item.ToolBar.buildMenuPath
(Object... menuPathParts) Returns the path of the specified menu item.TreeView.buildNodePath
(Object... nodePathParts) Returns the path of the specified tree node.void
APOGrid.clearSelection()
Clears the selected rows or columns.void
Grid.clearSelection()
Clears any selected rows or columns in the grid.void
Button.click()
Clicks the button.void
GridCell.click()
Emulates a click on the cell.void
TableCell.click()
Emulates a click on the cell.void
TreeViewNode.clickButton
(int itemIndex) Clicks a button item in a column tree or list tree.void
TreeViewNode.clickButton
(String item) Clicks a button item in a column tree or list tree.void
TreeView.clickColumn
(int columnIndex) Clicks the specified column in a column tree or list tree.void
TreeView.clickColumn
(String column) Clicks the specified column in a column tree or list tree.void
TreeViewNode.clickLink
(int itemIndex) Clicks a link item in a column tree or list tree.void
Clicks a link item in a column tree or list tree.void
GuiSession.close()
Closes the SAP GUI for Windows session without displaying a warning message.void
Window.close()
Closes the window or dialog box in a SAP GUI for Windows application.void
TreeViewNode.collapse()
Hides sub-nodes of this node in the expanded tree control.void
APOGrid.deselectCell
(int rowIndex, int columnIndex) Unselects the specified cell.void
APOGrid.deselectCell
(int rowIndex, String column) Unselects the specified cell.void
TableBase.deselectColumn
(int... columnIndices) Unselects the specified columns.void
TableBase.deselectColumn
(String... columns) Unselects the specified columns.void
TableBase.deselectRow
(int... rowIndices) Unselects the specified rows.void
TableBase.deselectRowRange
(int indexFrom, int indexTo) Unselects the specified rows.void
Editor.doubleClick()
Double-clicks inside the text area at the cursor position.void
TreeViewNode.expand()
Displays hidden sub-nodes of this node in the tree control.TableBase.findAllRowsWithCellTextInColumn
(String text, int columnIndex) Finds all rows with this text in the specified column.TableBase.findAllRowsWithCellTextInColumn
(String text, String column) Finds all rows with the specified text in the specified column.TableBase.findRowWithCellTextInColumn
(String text, int columnIndex) Finds the first row with this text.TableBase.findRowWithCellTextInColumn
(String text, int columnIndex, int startFromRow) Finds the first row with this text.TableBase.findRowWithCellTextInColumn
(String text, String column) Finds the first row with this text.TableBase.findRowWithCellTextInColumn
(String text, String column, int startFromRow) Finds the first row with this text.GuiSession.getActiveWindow()
Returns the name of the window in focus.static GuiSession[]
GuiSessionFactory.getAllOpenSessions
(GuiSessionDescription description) Returns the open sessions that match the description.GuiSession.getApplicationServer()
Returns the name of the application server.Calendar.getAttachedText()
Returns the static text attached to the calendar.CheckBox.getAttachedText()
Returns the text associated with the checkbox.ComboBox.getAttachedText()
Returns the static text attached to the combo box.EditField.getAttachedText()
Returns the static text attached to the edit field.RadioButton.getAttachedText()
Returns the static text attached to the radio button.TableRow.getCells()
Returns a list of the cells in this row.GuiSession.getClient()
Returns the client selected on the login screen.long
GuiSession.getCodePage()
Returns the code page number in use in this session.Table.getColumnSelectionMode()
Returns which selections can be made on columns.Button.getContainerName()
Returns the name of the parent object.Calendar.getDate()
Returns the date selected in this calendar.Calendar.getDateRange()
Returns the range of dates selected in this calendar.Grid.getFirstVisibleRow()
Returns the first row visible in a scrolled area.long
GuiSession.getFlushes()
Returns the number of flushes or passes of data during server communication to the client.APOGridCell.getFormat()
Returns the type of the cell.GuiSession.getGroup()
Returns the login group information.EditField.getIconName()
Returns the name of the edit field's icon.Label.getIconName()
Returns the name of the icon used in the label.Element.getId()
Returns the element's unique identifier in text format.GuiSession.getId()
Returns the object's unique identifier in text format.long
GuiSession.getInterpretationTime()
Returns the time it takes for the client to interpret the information received from the server, in milliseconds.Returns the item specified by the item text.ComboBox.getItems()
Returns the list of the items in the combo box.Menubar.getItems()
Returns the list of the items in the menu bar.StatusBar.getItems()
Returns the list of non-empty items in the status bar.ComboBoxItem.getKey()
Returns the key of the item.GuiSession.getLanguage()
Returns the language the user is working in.int
TableCell.getLength()
Returns the maximum length of the cellint
EditField.getMaxLength()
Returns the maximum number of characters in the edit field.int
Label.getMaxLength()
Returns the maximum number of characters that can be displayed in the label.StatusBar.getMessageId()
Returns the ID of the message in text format.StatusBar.getMessageNumber()
Returns the internal number of the message on the status bar.GuiSession.getMessageServer()
Returns the name of the message server.StatusBar.getMessageType()
Returns the type of message.Element.getName()
Returns the name of the element.GuiSession.getName()
Returns the name of the object.Returns the node with the specified path.TreeViewNode.getPath()
Returns the full path of the node as a semi-colon delimited String.GuiSession.getProgram()
Returns the name of the SAP source program that is executing.Window.getProgram()
Returns the name of the SAP source program that is executing.Label.getRelativeId()
Returns the object's unique identifier relative to the parent window ID.long
GuiSession.getResponseTime()
The server response time in milliseconds.long
GuiSession.getRoundTrips()
Returns the number of communications between client and server while the client is locked and waiting for data from the server.TableBase.getRows()
Returns the list of rows in the test object.Table.getRowSelectionMode()
Returns which selections can be made on rows.long
GuiSession.getScreenNumber()
Returns the number of the screen that is displayed.long
Window.getScreenNumber()
Returns the number of the displayed screen.ComboBox.getSelectedItem()
Returns the selected item.TreeView.getSelectedItem()
Returns the value of the selected item in the tree.TreeView.getSelectedNodePath()
Returns the path of the selected node in the tree.TabControl.getSelectedTab()
Returns the name of the selected tab.Grid.getSelectionMode()
Returns the possible selections in the grid.TreeView.getSelectionMode()
Returns which selections can be made in the tree.GuiSession.getSystemName()
Returns the name of the SAP system.long
GuiSession.getSystemNumber()
Returns the system number.TabControl.getTabs()
Returns the list of tabs in the tab strip.Button.getText()
Returns the text associated with the button.ComboBoxItem.getText()
Returns the text value of the item.EditField.getText()
Returns the string value of the object.Editor.getText()
Returns the text value of the editor.Label.getText()
Returns either the text of the label or the icon name.StatusBar.getText()
Returns the text associated with the status bar.TabControl.getText()
Returns the text associated with tab strip.Window.getText()
Returns the text associated with the object.TableBase.getTitle()
Returns the title of the object.Button.getTooltip()
Returns the button's tooltip text.TabControl.getTooltip()
Returns tab strip's tooltip.GuiSession.getTransaction()
Returns the transaction the user is executing.Window.getTransaction()
Returns the transaction the user is executing.TreeView.getTreeType()
Returns the type of tree.Element.getType()
Returns the GUI component type of this element.GuiSession.getType()
Returns the identification of the GUI component type.GuiSession.getUser()
Returns the user name for the current session.OKCode.getValue()
Returns the command code entered in the field.TableCellBase.getValue()
Returns the content of this cell.Window.getWorkingPaneSize()
Returns the size of the working pane in character metric.boolean
CheckBox.isChecked()
Indicates whether this check box is selected.boolean
RadioButton.isChecked()
Indicates whether the radio button is selected.boolean
TableCellBase.isEditable()
Indicates whether the cell is editable.boolean
EditField.isHighlighted()
Indicates whether the edit field is highlighted.boolean
Label.isHighlighted()
Indicates whether the label is highlighted.boolean
StatusBar.isMessageAsPopup()
Indicates whether the message is a pop-up.boolean
Window.isMinimized()
Indicates whether the object is minimized.boolean
EditField.isNumerical()
Indicates whether the edit field is a numerical field.boolean
Label.isNumerical()
Indicates whether the label is a numerical field.boolean
EditField.isRequired()
Indicates whether the edit field is required.boolean
Table.isValidRow
(int rowIndex) Indicates whether there is a row in the table with the specified index.static GuiSession
GuiSessionFactory.launch
(SessionLaunchInfo launchInfo) Launches the SAP GUI session and logs on to the server using the user credentials and details specified in the launchInfo parameter.static GuiSession
GuiSessionFactory.launch
(SessionLaunchInfo launchInfo, DesktopEnvironment env) Launches the SAP GUI session and logs on to the server using the user credentials and details specified in the launchInfo parameter.static GuiSession
Launches the SAP GUI session on the specified server.static GuiSession
Launches the SAP GUI session and logs on to the specified server with the specified user credentials and the default EN language.static GuiSession
GuiSessionFactory.launch
(String serverDescription, String client, String username, String password, String language) Launches the SAP GUI session and logs on to the specified server with the specified user credentials.static GuiSession
GuiSessionFactory.launch
(InetAddress serverIP) Opens a connection to the specified SAP server according to its IP address.static GuiSession
GuiSessionFactory.launch
(InetAddress serverIP, int instanceNumber) Opens a connection to the specified SAP server according to its IP address.static GuiSession
GuiSessionFactory.launch
(InetAddress serverIP, String client, String username, String password) Launches the SAP GUI session and logs on to the specified server with the specified user credentials and the default EN language.static GuiSession
GuiSessionFactory.launch
(InetAddress serverIP, String client, String username, String password, int instanceNumber) Launches the SAP GUI session and logs on to the specified server with the specified user credentials and the default EN language.static GuiSession
GuiSessionFactory.launch
(InetAddress serverIP, String client, String username, String password, int instanceNumber, String language) Launches the SAP GUI session and logs on to the specified server with the specified user credentials.void
Window.maximize()
Maximizes the window or dialog box.void
TreeView.openContextMenu()
Opens a tree's default context menu.void
TreeViewNode.openContextMenu()
Opens the context menu for a node in a simple tree.void
TreeView.openHeaderContextMenu
(int columnIndex) Opens a context menu for a header in a column tree or list tree.void
TreeView.openHeaderContextMenu
(String column) Opens a context menu for a header in a column tree or list tree.void
TreeViewNode.openItemContextMenu
(String item) Opens the context menu for an item in a column tree or list tree.void
EditField.openPossibleEntries()
Opens the list of possible entries for the edit field.void
GridCell.openPossibleEntries()
Opens the list of possible entries.void
TableCell.openPossibleEntries()
Opens the list of possible entries.void
ToolBar.pressButton
(String buttonId) Presses the specified toolbar button.void
ToolBar.pressContextButton
(String buttonId) Presses the specified toolbar button to open the button's context menu.void
Grid.pressEnter()
Presses the ENTER key when the grid is in focus.void
TreeView.pressEnter()
Presses the ENTER key.void
Table.pressSettingsButton()
Presses the table setting button.void
GuiSession.reset()
Navigates to the session initial screen.void
Navigates to the specified transaction.void
Window.resize
(int width, int height) Resizes the window to the specified dimensions.void
Resizes the window so that the available working area has the specified width and height in character metric.void
Window.restore()
Restores a maximized window or dialog box to its original size.void
Window.scroll
(ScrollOrientation orientation, int toPos) Sets the position of the scroll bars.void
ComboBox.select
(int itemIndex) Selects the specified item by index.void
ComboBox.select
(ComboBoxItem item) Selects the item from the combo box list.void
Selects the specified item by text.void
Editor.select
(int startPos, int endPos) Selects the specified section of text and positions the cursor at the end of the selection.void
Selects an item from the menu bar.void
TabControl.select
(int tabIndex) Selects the specified tab by index.void
Selects the specified tab from the tab strip.void
TreeViewNode.select
(int itemIndex) Selects an item in a column tree or list tree.void
Selects an item in a column tree or list tree.void
Table.selectAllColumns()
Selects all columns in the table.void
TableBase.selectCell
(int row, int columnIndex) Selects the specified cell.void
TableBase.selectCell
(int row, String column) Selects the specified cell.void
TableBase.selectColumn
(int... columnIndices) Selects the specified columns.void
TableBase.selectColumn
(String... columns) Selects the specified columns.void
APOGrid.selectColumnMenuItem
(int columnIndex, String menuItem) Right-clicks the specified column and selects the specified menu item, by column index.void
APOGrid.selectColumnMenuItem
(String column, String menuItem) Right-clicks the specified column and selects the specified menu item, by column name.void
Selects the SAP shortcut key representing an item in the combo box list.void
APOGridCell.selectMenuItem
(String menuItem) Right-clicks the cell and selects the specified menu item.void
ToolBar.selectMenuItem
(int index) Selects the specified menu item from the toolbar button context menu.void
ToolBar.selectMenuItem
(String path) Selects the specified menu item from the toolbar button context menu.void
Grid.selectMenuItemById
(String menuItemId) Selects the specified menu item from a context menu.void
ToolBar.selectMenuItemById
(String id) Selects the specified menu item from the toolbar button context menu by SAP ID.void
TreeView.selectMenuItemById
(String menuItemId) Selects a menu item from a context menu by ID.void
Window.selectMenuItemById
(String menuItemId) Selects an item from a context menu.void
TreeView.selectNode
(TreeViewNode node) Selects a node in an SAP tree.void
TreeView.selectNode
(String path) Selects a node in an SAP tree.void
TableBase.selectRow
(int... rowIndices) Selects the specified rows.void
TableBase.selectRowRange
(int indexFrom, int indexTo) Selects the specified row range.void
Window.sendKey
(SapFunctionKey key) Presses a non-printing key or key combination.void
CheckBox.set
(boolean state) Selects or unselects the check box.void
RadioButton.set()
Selects this radio button.void
GridCell.setCheckBox
(boolean state) Selects or unselects the checkbox in the grid cell.void
TreeViewNode.setCheckBoxState
(int itemIndex, boolean state) Selects or unselects a check box item for the specified node in a column tree or list tree.void
TreeViewNode.setCheckBoxState
(String item, boolean state) Selects or unselects a check box item for the specified node in a column tree or list tree.void
EditField.setCursorPosition
(int pos) Sets the position of the cursor within the edit field.void
Editor.setCursorPosition
(int pos) Sets the cursor to the specified character position.void
Label.setCursorPosition
(int pos) Sets the position of the cursor within the static text label.void
Sets the date of the calendar.void
Calendar.setDateRange
(DateRange dateRange) Selects the provided date range in the calendar.void
Calendar.setDateRange
(Date firstDate, Date lastDate) Selects a date range in the calendar.void
Button.setFocus()
Sets focus on the button.void
CheckBox.setFocus()
Sets focus on the checkbox.void
ComboBox.setFocus()
Sets focus on the combo box.void
EditField.setFocus()
Sets focus on the edit field.void
Label.setFocus()
Sets the focus on the static text label.void
RadioButton.setFocus()
Sets focus on this radio button.void
TabControl.setFocus()
Sets the focus to the tab strip.void
Sets the encoded value of this edit field.void
Sets the text value of the edit field.void
Sets the specified text in the text area.void
Editor.setUnprotectedTextPart
(String text, int sectionNumber) Sets the specified text in the predefined unprotected sections of the text area.void
Sets the OKCode command.void
Sets the cell contents.void
GuiSession.sync()
Suspends execution until the SAP GUI for Windows session is available.void
GuiSession.sync
(long timeOut) Suspends execution until the SAP GUI for Windows session is available or until timed out. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.sap.ui5
Methods in com.hp.lft.sdk.sap.ui5 that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
RadioButton.activate()
Activates the radio button.void
Activates a node in the tree.void
EditField.clear()
Clears the text in the object.void
DesktopTableBehavior.clickColumnHeader
(int columnNumber) Clicks the header of the specified column according to its index.void
DesktopTableBehavior.clickColumnHeader
(String columnName) Clicks the header of the specified column according to its name.void
Dialog.close()
Closes the dialog box.void
Accordion.collapse
(int itemIndex) Collapses the specified panel in the accordion.void
Collapses the specified panel in the accordion.void
RoadMapItem.collapse()
Collapses the item.void
Collapses a node in the tree.void
MobileListBehavior.delete
(int itemIndex) Deletes the specified item (by index) from the list.void
Deletes the specified item from the list.void
Deletes the specified item (by name) from the list.void
Table.deleteRow
(int... rowIndices) Deletes the specified rows in the table (by index).void
Deletes the specified rows in the table.void
Deselects the date.void
ListBox.deselect
(int... itemIndices) Deselects items (by index) from the list.void
Deselects a list of items in the list box.void
Deselects items (by text) from the list.void
TabStrip.deselect
(int tabIndex) Deselects the specified tab (by index) from the tabstrip object.void
Deselects the specified tab (by name) from the tabstrip object.void
Table.deselectAllRows()
Deselects all rows in the table.void
Table.deselectRow
(int... rowIndices) Deselects the specified rows in the table (by index).void
Table.deselectRow
(TableRow... rows) Deselects the specified rows in the table.void
MobileListItem.details()
Selects the specified item in the list and expands the item's details.void
NotificationBar.enlarge()
Enlarges the notification bar.void
Accordion.expand
(int itemIndex) Expands the specified panel in the accordion.void
Expands the specified panel in the accordion.void
RoadMapItem.expand()
Expands the item.void
Expands a node in the tree.void
ListBox.extendSelect
(int... itemIndices) Selects a list of items in the list box.void
ListBox.extendSelect
(ListItem... items) Selects a list of items in the list box.void
ListBox.extendSelect
(String... items) Selects a list of items in the list box.void
DesktopFacetFilterBehavior.filterBy
(int filterListIndex, int... keysIndices) Invokes the specified filter (by index) according to the specified key indices.void
Invokes the specified filter (by index) according to the specified keys.void
Invokes the specified filter (by name) according to the specified key indices.void
Invokes the specified filter (by name) according to the specified keys.void
Clicks the specified filter button.void
ListBox.filterByDate
(Date date) Invokes the filter according to the specified date.int
RowRepeater.findRowWithCellTextInColumn
(String text, int columnNumber) Returns the index of the first row containing the specified text in the specified column.int
RowRepeater.findRowWithCellTextInColumn
(String text, int columnNumber, int startFromRow) Starts the search at the specified row and returns the number of the first row containing the specified text in the specified column.void
DesktopTableBehavior.firstPage()
Scrolls the table to the first page.void
Paginator.firstPage()
Scrolls to the first page.void
RowRepeater.firstPage()
Scrolls to the first page.Returns a cell specified by row index and column identifier.RowRepeater.getCellData
(int rowIndex, int columnIndex) Gets the contents of the specified cell.Table.getControlType()
Returns theControlType
of the test object.int
DesktopTableBehavior.getCurrentPage()
Returns the current page number in this table.int
Paginator.getCurrentPage()
Returns the index of the currently selected page.int
RowRepeater.getCurrentPage()
Returns the index of the currently selected page.Calendar.getDate()
Returns the date currently set in this calendar object.DateTimeInput.getDateType()
Returns the type of date displayed in this object.ListBox.getDefaultValue()
Returns the initial text value, which is set when the object is reset.RowRepeater.getDesign()
Returns the visual design of the row repeater.ToolBar.getDesign()
Returns the visual design of the toolbar.Table.getDesktop()
Returns the functionality provided byDesktopTableBehavior
.DateTimeInput.getDisplayFormat()
Returns the display format of this object.DatePicker.getDisplayMode()
Returns the date picker display mode.FacetFilter.getFilters()
Returns the collection of all filter lists.RowRepeater.getFilters()
Returns a semicolon-delimited list of the filter buttons that you can use to filter the rows.Returns an item from the menu bar.Returns an item with the specified text.Returns a specified item from the navigation bar.Returns the path to the item as a semicolon-delimited string.Accordion.getItems()
Returns the list of the titles of all the panels contained in the accordion (separated by ;).ListBox.getItems()
Returns all of the items in the list.Menubar.getItems()
Returns all of the items in the menu bar.MobileListBehavior.getItems()
Returns all items in the listNavigationBar.getItems()
Returns all items in the navigation bar.RadioGroup.getItems()
Gets the list of all items contained in this object.RoadMap.getItems()
Returns a list of the names of allRoadMapItem
steps and sub-steps, separated by semicolons (;).int
Carousel.getItemsCount()
Returns the number of items contained in the carousel.int
ToolBar.getLeftItemsCount()
Returns the number of the items in the left part of the toolbar. This number includes separators, but does not include the overflow button.Message.getLevel()
Returns the severity level of the message.Calendar.getLocale()
Returns the locale of the application running this calendar object.int
RatingIndicator.getMaxRating()
Returns the highest rating level that can be set.NotificationBar.getMessageNotifier()
Returns the message notifier, or null if it does not have a message notifier.MessageNotifier.getMessages()
Returns all of the messages in the message notifier.Notifier.getMessages()
Returns all notification messages in the notifier.int
ToolBar.getMiddleItemsCount()
Returns the number of the items in the middle part of the toolbar. This number includes separators, but does not include the overflow button.Table.getMobile()
Returns the functionality provided byMobileTableBehavior
.FacetFilter.getMode()
Returns the visual design of the facet filter.DatePicker.getMonths()
Returns the list of months contained in this date picker.NotificationBar.getNotifiers()
Returns all notifiers in the notification bar.Carousel.getOrientation()
Returns the orientation of the carousel items.RatingIndicator.getOrientation()
Returns the visual orientation of rating indicator items.int
RowRepeater.getPagesCount()
Returns the total number of pages.RoadMapItem.getPath()
Returns the full path of the item as a semicolon-delimited string.DateTimeInput.getPlaceholder()
Returns the placeholder of this object.double
RatingIndicator.getRating()
Returns the rating level set for this object.Notification.getReceivedTime()
Returns the time when the notification is received.int
ToolBar.getRightItemsCount()
Returns the number of the items in the right part of the toolbar, including separators.Table.getRow
(int rowIndex) Returns the index of the specifiedTableRow
row.int
RowRepeater.getRowsCount()
Returns the number of visible rows.DatePicker.getSelectedDates()
Returns the date values selected in this date picker.Accordion.getSelectedItem()
Gets the title of the selected panel.NavigationBar.getSelectedItem()
Returns the selected item in the navigation bar.RadioGroup.getSelectedItem()
Returns the title of the currently selected item.RoadMap.getSelectedItem()
Returns the currently selected step or sub-step in the road map.ListBox.getSelectedItems()
Returns the list of all selected items.MobileListBehavior.getSelectedItems()
Returns a collection of all selected items in the list.int
FacetFilter.getSelectedKeysCountFor
(String filterListTitle) Returns the number of selected keys in the specified filter list.FacetFilter.getSelectedKeysFor
(String filterListTitle) Returns the selected filter keys in the specified filter list.TreeView.getSelectedNode()
Returns the title of the selected node.Table.getSelectedRows()
Returns a list of all selectedTableRow
rows in the table.TabStrip.getSelectedTab()
Returns the selected tab in the tabstrip object.ListBox.getSelectType()
Returns the selection type of the list object.RowRepeater.getSorters()
Returns a semicolon-delimited list of the sort buttons that you can use to sort the rows.NotificationBar.getState()
Returns the display state of the notification bar.RoadMapItem.getStepNumber()
Returns the ordinal location of the item in the roadmap.RoadMap.getSteps()
Returns a list of all of the top-level steps in the road map (including hidden steps).TabStrip.getTabs()
Returns the list of all tabs contained in this tabstrip object.Header.getText()
Returns the text of this header.Label.getText()
Returns the text of this label.ListItem.getText()
Returns the text value of the list box item.MenubarItem.getText()
Returns the text of the menu bar item.NavigationBarItem.getText()
Returns the text of the navigation bar item.Notification.getText()
Returns the text of the notification.int
Paginator.getTotalPagesCount()
Returns the total number of pages.ListBox.getType()
Returns the attribute "type" of the HTML element.DateTimeInput.getValue()
Returns the current value of this object.ListBox.getValue()
Returns this object's text value.int
ListBox.getVisibleItemsCount()
Returns the number of items that are displayed in the list box.TreeView.getVisibleNodes()
Returns a semicolon-delimited list of visible nodes in the tree.int
Paginator.getVisiblePagesCount()
Returns the number of pages currently visible in the paginator.Table.getVisibleRows()
Returns a list of the visibleTableRow
rows in the current page.boolean
RowRepeater.hasMoreSteps()
Returns whether the More button is visible.void
NotificationBar.hide()
Hides the notification bar.boolean
RadioButton.isChecked()
Indicates whether the radio button is selected.boolean
ListBox.isMultiple()
Returns whether multiple items can be selected.boolean
CheckBox.isReadOnly()
Returns whether the object is read-only.boolean
RadioButton.isReadOnly()
Indicates whether the radio button is read-only.boolean
NotificationBar.isResizable()
Returns whether the notification bar is resizable.boolean
ToolBar.isStandalone()
Returns whether the toolbar is independent or nested in another control.void
DesktopTableBehavior.lastPage()
Scrolls the table to the last page.void
Paginator.lastPage()
Scrolls to the last page.void
RowRepeater.lastPage()
Scrolls to the last page.void
NotificationBar.minimize()
Minimizes the notification bar.void
MobileListBehavior.more()
Clicks the More button to expand the list and show additional list items.void
RowRepeater.more()
Displays additional rows.void
Table.more()
Clicks the More button in the expandable table.void
DesktopTableBehavior.moveColumn
(int columnNumber, int toColumnNumber) Moves the specified column (by index) to the specified column position (by index).void
DesktopTableBehavior.moveColumn
(int toColumnNumber, String column) Moves the specified column (by name) to the specified column position (by index).void
DesktopTableBehavior.moveColumn
(String toColumn, int columnNumber) Moves the specified column (by index) to the specified new position (by name).void
DesktopTableBehavior.moveColumn
(String column, String toColumn) Moves the specified column (by name) to the specified position (by name).void
Paginator.navigateTo
(int pageNum) Navigates to the specified page.void
RowRepeater.navigateTo
(int pageNum) Scrolls to the specified page.void
DesktopTableBehavior.navigateToPage
(int pageNumber) Scrolls the table to the specified page.void
MobileTableBehavior.navigateToRow
(int row) Navigate to the specified row according to its index.void
MobileTableBehavior.navigateToRow
(TableRow row) Navigate to the specified row.void
Carousel.next()
Slides this carousel to the next item.void
DatePicker.next()
Scrolls to the next page of dates.void
MobileFacetFilterBehavior.next()
Scrolls to the next page.void
RoadMap.next()
Scrolls to the next step in the road map object.void
DesktopTableBehavior.nextPage()
Scrolls the table to the next page.void
Paginator.nextPage()
Scrolls to the next page.void
RowRepeater.nextPage()
Scrolls to the next page.void
MobileFacetFilterBehavior.open
(int filterListIndex) Opens the specified filter list (by index) from the facet filter.void
Opens the specified filter list (by title) from the facet filter.void
MobileFacetFilterBehavior.openDialog()
Opens the facet filter dialog box.void
Button.openMenu()
Clicks the button to open the pop-up menu associated with the button.void
DesktopTableBehavior.openMenu
(int columnNumber) Clicks the column header (according to its index) to open the associated menu.void
Clicks the column header (by name) to open the associated menu.void
NavigationBar.openMenu()
Opens the popup menu to show hidden navigation items.void
ToolBar.openOverflow()
Opens the overflow menu that displays additional toolbar items.void
EditField.openPossibleEntries()
Opens the list displaying possible values.void
Carousel.previous()
Slides this carousel to the previous item.void
DatePicker.previous()
Scrolls to the previous page of dates.void
MobileFacetFilterBehavior.previous()
Scrolls to the previous page.void
RoadMap.previous()
Scrolls to the previous step in the road map object.void
DesktopTableBehavior.previousPage()
Scrolls the table to the previous page.void
Paginator.previousPage()
Scrolls to the previous page.void
RowRepeater.previousPage()
Scrolls to the previous page.void
EditField.refresh()
Clicks the Refresh button associated with the object.void
MobileFacetFilterBehavior.remove
(int filterListIndex) Removes the specified filter list (by index) from the facet filter.void
Removes the specified filter list (by title) from the facet filter.void
TabStrip.remove
(int tabIndex) Removes the specified tab (by index) from the tabstrip object.void
Removes the specified tab from the tabstrip object.void
MobileFacetFilterBehavior.reset()
Resets the facet filter list.void
DesktopTableBehavior.resizeColumn
(int width, int columnNmber) Resizes the specified column (by index) to the specified width.void
DesktopTableBehavior.resizeColumn
(String column, int width) Resizes the specified column (according to its name) to the specified width.void
Enters the specified text in the Search edit box and clicks the Search button.void
Selects the date.void
ListBox.select
(int... itemIndices) Selects a list of items according to their indices.void
Selects a list of items in the list box.void
Selects a list of items according to their string values.void
Selects menu items according to the path.void
Menubar.select
(int itemIndex) Selects the specified menu bar item by index.void
Menubar.select
(MenubarItem item) Selects the specified menu bar item fromMenubarItem
.void
Selects the specified menu bar item by name.void
MessageNotifier.select
(int messageIndex) Selects the specified notification in the notifier.void
NavigationBar.select
(NavigationBarItem item) Selects the specified item in the navigation bar.void
Selects the specified item (by name) in the navigation bar.void
Notifier.select
(int notificationIndex) Selects the specific notification message in the notifier.void
RadioGroup.select
(int itemIndex) Selects the specified radio button (by index) in the radio group.void
Selects the specified radio button (by name) in the radio group.void
RoadMap.select
(RoadMapItem item) Selects the step or sub-step in the road map object.void
Selects the step or sub-step (by path) in the road map object.void
TabStrip.select
(int tabIndex) Selects the specified tab (by index) in the tabstrip object.void
Selects the specified tab in the tabstrip object.void
Selects a node in the tree.void
Table.selectAllRows()
Selects all rows in the table.void
Table.selectCell
(int row, int col) Selects the specified cell in the table (by row and column).void
Table.selectCell
(int row, String colName) Selects the specified cell in the table (by row and column name).void
TableCell.selectItem
(String text) Selects the specified item in the cell according to its text.void
Table.selectRow
(int... rowIndices) Selects the specified rows in the table (by index).void
Selects the specified rows in the table.void
Enters the specified text in the list box.void
RadioButton.set()
Sets the radio button as the selected radio button.void
Enters the specified text in the list item.void
Sets the date.void
DateTimeInput.setDateTime
(Date datetime) Sets the date and time.void
Menu.setItemValue
(String itemPath, String value) Sets the value in the menu item's text field.void
RatingIndicator.setRating
(int rating) Sets the rating level.void
Sets the contents of the table cell to the specified text value.void
NotificationBar.show()
Shows the notification bar.void
ListBox.singleSelect
(int itemIndex) Selects one item in the list box.void
ListBox.singleSelect
(ListItem item) Selects one item in the list box.void
ListBox.singleSelect
(String item) Selects one item in the list box.void
MobileListBehavior.singleSelect
(int itemIndex) Selects the specified radio button (by index) adjacent to the list item.void
MobileListBehavior.singleSelect
(ListItem item) Selects the specifiedListItem
item in the list item.void
MobileListBehavior.singleSelect
(String item) Selects the specified radio button (by name) adjacent to the list item.void
Clicks the specified sort button. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.stdwin
Methods in com.hp.lft.sdk.stdwin that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
Window.activate()
Activates the window.void
Window.activate
(MouseButton button) Activates the window using the specified mouse button.void
ListBase.activateItem
(int itemIndex) Activates (double-clicks) the specified item in the list by item index.void
ListBase.activateItem
(int itemIndex, MouseButton button) Activates (double-clicks) the specified item in the list by item index.void
ListBase.activateItem
(String item) Activates (double-clicks) the specified item in the list by item text.void
ListBase.activateItem
(String item, MouseButton button) Activates (double-clicks) the specified item in the list by item text.void
ListBase.activateItem
(T item) Activates (double-clicks) the specified generic item in the list.void
ListBase.activateItem
(T item, MouseButton button) Activates (double-clicks) the specified generic item in the list.void
TreeView.activateNode
(int nodeIndex) Activates (double-clicks) a node in the tree-view object by node index.void
TreeView.activateNode
(int nodeIndex, MouseButton button) Activates (double-clicks) a node in the tree-view object by node index.void
TreeView.activateNode
(TreeViewNode node) Activates (double-clicks) a node in the tree-view object with a tree-view node.void
TreeView.activateNode
(TreeViewNode node, MouseButton button) Activates (double-clicks) a node in the tree-view object with a tree view node.void
TreeView.activateNode
(String nodePath) Activates (double-clicks) a node in the tree-view object by node path.void
TreeView.activateNode
(String nodePath, MouseButton button) Activates (double-clicks) a node in the tree-view object by node path.void
ListViewItem.clickState()
Clicks the state image icon.void
TreeViewNode.clickState()
Clicks the state icon.void
Window.close()
Closes the window.void
TreeViewNode.collapse()
Hides sub-nodes of this node in the expanded tree-view control.void
ListBase.deselect
(int... itemIndices) Deselect a list of items by items indices.void
Deselect a list of items by items text.void
Deselects a list of items according to a generic list.void
ListViewItem.doubleClickState()
Double-clicks state image icon.void
TreeViewNode.doubleClickState()
Double-clicks state icon.void
SpinBox.down()
Sets the spin object to its previous value.void
ListViewItem.enableLabelEditing()
Activates the edit mode for the lists item label to enable renaming.void
TreeViewNode.enableLabelEditing()
Activates the edit mode for the node in the tree-view control to enable renaming.void
TreeViewNode.expand()
Displays hidden sub-nodes of this node in the tree-view control.void
TreeViewNode.expandAll()
Expands this node and all nodes below it, in the tree-view control.void
ListBase.extendSelect
(int... itemIndices) Selects additional items from the multi-selection list.void
ListBase.extendSelect
(String... itemNames) Selects additional items from the multi-selection list.void
ListBase.extendSelect
(T... items) Selects additional items from the multi-selection list.UiObjectBase.getAccessibleName()
Returns the object's name.UiObjectBase.getAttachedText()
Returns the static text attached to the object.Returns an button with the given text.ToolBar.getButtons()
Returns all toolbar buttons in this toolbar.ListView.getCheckedItems()
Returns all items marked as checked to a unmodified list object.TreeView.getCheckedVisibleNodes()
Retrieves the checked visible nodes in the tree-view object.ListView.getColumnHeader
(int columnIndex) Returns the text header of the specified (report-style) list-view column.int
Editor.getCursorColumn()
Returns the character position where the cursor is located.int
Editor.getCursorLine()
Returns the line where the cursor is located.CalendarDescription.getDate()
Returns the date of the CalendarDescription.TreeViewNode.getFirstChildPath()
Returns the full path of the node's first child node as a semi-colon delimited String.int
ListItem.getHeight()
Returns the list item's height (in pixels).int
StatusBarItem.getHeight()
Returns the status bar item's height (in pixels).ScrollInfoProvider.getHorizontalScroll()
Returns the scroll properties of the horizontal scroll bar.int
TreeViewNode.getImageIndex()
Returns the image index of the node.int
ToolBarButton.getIndex()
The 0-based index number of the toolbar button.Returns an item with the given text.Returns the menu item with the specified path.ComboBox.getItems()
Returns a list of strings containing the names of all items in the combo box.ListBase.getItems()
Returns a collection of all items in the list.StatusBar.getItems()
Returns all items (parts) in the status bar.int
ScrollBar.getMaxPosition()
Returns the maximum scrolling position.int
ScrollBar.getMinPosition()
Returns the minimum scrolling position.ToolBarButton.getName()
Returns the name of the toolbar button.TreeViewNode.getNextSiblingPath()
Returns the full path of the node's next sibling node as a semi-colon delimited String.int
TreeViewNode.getOverlayImageIndex()
Returns the index number of the current overlay image.TreeViewNode.getParentPath()
Returns the full path of the node's parent node as a semi-colon delimited String.TreeViewNode.getPath()
Returns the full path of the node as a semi-colon delimited String.int
ScrollBar.getPosition()
Returns the scroll bar position.ToolBar.getSelectedButtons()
Returns all selected buttons in this toolbar.ComboBox.getSelectedItem()
Returns the selected item in the combo box.ListBase.getSelectedItems()
Returns all of the selected items in the list.TreeView.getSelectedNodes()
Returns all the selected nodes in the tree-view object.TabControl.getSelectedTab()
Returns the selected tab in the tab control.Calendar.getState()
Returns the calendar check box status.CheckBox.getState()
Returns the check box status.int
ListViewItem.getState()
Returns the list item's state image index.RadioButton.getState()
Returns the radio button's status.int
TreeViewNode.getState()
Returns the state image index of the node.ListViewItem.getSubItemText()
Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.ListViewItem.getSubItemText
(int columnIndex) Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.ListViewItem.getSubItemText
(String columnName) Returns the text value of the specified report-style (LVS_REPORT) list-view subitem.Returns the tab with the specified name.TabControl.getTabs()
Returns all tabs in the tab control.ListItem.getText()
Returns the text value of the list item, or "" when empty.ListViewItem.getText()
Returns the text value of the list item, or "" when empty.StatusBarItem.getText()
Returns the text of the status bar item, or "" when empty.Tab.getText()
Returns the text of the tab item.TreeViewNode.getText()
Returns the text of the node, or "" when empty.UiObjectBase.getText()
Returns the text associated with the object.Menu.getType()
Returns the type of the menu.int
SpinBox.getValue()
Returns the spin object value.ScrollInfoProvider.getVerticalScroll()
Returns the scroll properties of the vertical scroll bar.ScrollInfoProvider.getVerticalScrollPosition()
Returns the position of the vertical scroll bar of the object.int
ListView.getVisibleColumnsCount()
Returns the number of visible columns in the list-view object.TreeView.getVisibleNodes()
Returns all visible nodes in the tree-view object.int
StatusBarItem.getWidth()
Returns the status bar item's width (in pixels).UiObjectBase.getWindowClassRegExp()
Returns the permanent part of the MFC window class.UiObjectBase.getWindowExtendedStyle()
Returns the extended window style of the object.long
UiObjectBase.getWindowExtendedStyleAsLong()
Returns the extended window style of the object as long.int
UiObjectBase.getWindowId()
Returns the object's window identifier.Window.getWindowState()
The current window state.UiObjectBase.getWindowStyle()
Returns the window style of the object.long
UiObjectBase.getWindowStyleAsLong()
Returns the window style of the object as long.int
StatusBarItem.getX()
Returns the status bar's x-coordinate (left) relative to the parent window (in pixels).int
StatusBarItem.getY()
Returns the status bar's y-coordinate (top) relative to the parent window (in pixels).boolean
Window.hasBorder()
Indicates whether the window has a thin-line border.boolean
Window.hasCaption()
Indicates whether the window has a title bar.boolean
TreeViewNode.hasChildren()
Indicates whether the node has children.boolean
ToolBarButton.hasEllipses()
Indicates whether the toolbar button's text is truncated and an ellipsis (...) is displayed.
Note: This property is not supported for QMenuBar objects.boolean
Window.hasSizebox()
Indicates whether the window has a sizing border.boolean
Window.hasSystemMenu()
Indicates whether the window has a window menu on its title bar.boolean
Window.isActive()
Indicates whether the window is the foreground object (currently active).boolean
ToolBarButton.isChecked()
Indicates whether the toolbar button is a dual-state (toggle) push button and is currently selected (pushed).boolean
Window.isChildWindow()
Indicates whether the window is a child window.boolean
ToolBarButton.isEnabled()
Indicates whether the toolbar button is enabled.boolean
TreeViewNode.isExpanded()
Indicates whether the node is expanded.boolean
ListItem.isFocused()
Indicates whether the list item has focus in a multiple selection list box.boolean
ListViewItem.isFocused()
Indicates whether the list item is in focus in a multiple selection list box.boolean
ToolBarButton.isHighlighted()
Indicates whether the toolbar button is highlighted (surrounded by a dotted line).boolean
ToolBarButton.isHot()
Indicates whether the toolbar button is "hot".boolean
ToolBarButton.isIndeterminate()
Indicates whether the toolbar button is disabled.boolean
ToolBarButton.isMarked()
Indicates whether the toolbar button is marked.boolean
Window.isMaximizable()
Indicates whether the window can be maximized.boolean
Window.isMdiChildWindow()
Indicates whether the window is a multiple-document interface (MDI) child window.boolean
Window.isMinimizable()
Indicates whether the window can be minimized.boolean
Window.isOwnedWindow()
Indicates whether the window has an owner window.boolean
Window.isPopupWindow()
Indicates whether the window is a pop-up window.boolean
ToolBarButton.isPressed()
Indicates whether the toolbar button was clicked.boolean
UiObjectWithLayoutInfo.isRightAligned()
Indicates whether this object has generic "right-aligned" properties.boolean
UiObjectWithLayoutInfo.isRightToLeftLayout()
Indicates whether this object's horizontal origin is on the right edge.boolean
UiObjectWithLayoutInfo.isRightToLeftReading()
Indicates whether this object's text is displayed using right-to-left reading-order properties.boolean
ListItem.isSelected()
Indicates whether the list item is selected.boolean
ListViewItem.isSelected()
Indicates whether the list item is selected.boolean
Tab.isSelected()
Indicates whether the tab item is selected.boolean
ToolBarButton.isSelected()
Indicates whether the toolbar button is currently either pressed (currently being clicked) or checked (a dual-state push button that is currently selected).boolean
TreeViewNode.isSelected()
Indicates whether the node is selected.boolean
Window.isToolWindow()
Indicates whether the window is a tool window (a floating toolbar).boolean
Window.isTopmost()
Indicates whether the window is placed above all non-topmost windows and remains in place, even when the window is deactivated.boolean
ToolBarButton.isWrap()
Indicates whether the toolbar button is enabled and followed by a line break.void
Window.maximize()
Maximizes the window.void
Window.minimize()
Minimizes the window to an icon.void
Window.move
(int x, int y) Moves the window to the specified absolute location on the screen with X,Y coordinates.void
Moves the window to the specified absolute location on the screen with a Point object.void
ScrollBar.nextLine()
Moves the scroll bar downward, or to the right, by one line.void
ScrollBar.nextLine
(int numberOfLines) Moves the scroll bar downward, or to the right, the specified number of lines.void
ScrollBar.nextPage()
Moves the scroll bar downward, or to the right, by one page.void
ScrollBar.nextPage
(int numberOfPages) Moves the scroll bar downward, or to the right, the specified number of pages.void
ComboBox.open()
Opens the combo box.void
ToolBarButton.press()
Presses the specified toolbar button.void
ToolBarButton.press
(MouseButton button) Presses the specified toolbar button.void
ScrollBar.previousLine()
Moves the scroll bar upward, or to the left, by one line.void
ScrollBar.previousLine
(int numberOfLines) Moves the scroll bar upward, or to the left, the specified number of lines.void
ScrollBar.previousPage()
Moves the scroll bar upward, or to the left, by one page.void
ScrollBar.previousPage
(int numberOfPages) Moves the scroll bar upward, or to the left, the specified number of pages.void
Window.resize
(int width, int height) Resizes the window to the specified dimensions by width and height values.void
Resizes the window to the specified dimensions.void
Window.restore()
Restores the window to its previous size.void
ComboBox.select
(int index) Selects an item from the combo box based on a numerical index.void
Selects an item from the combo box based on a string.void
EditField.select
(int fromCharPos, int toCharPos) Selects the specified text in the edit box.
Note: All positions are 0-based.void
Editor.select
(int fromLine, int fromCharPos, int toLine, int toCharPos) Selects the specified content in the editor.void
ListBase.select
(int... itemIndices) Selects a list of items by items indices.void
Selects a list of items by items text.void
Selects a list of items according to a generic list.void
Selects the specified item in the menu byMenuItem
.void
Selects the specified item in the menu by path.void
TabControl.select
(int tabIndex) Selects the specified tab by tab index.void
TabControl.select
(int tabIndex, MouseButton button) Selects the specified tab by tab index.void
Selects the specified tab.void
TabControl.select
(Tab tab, MouseButton button) Selects the specified tab in the tab control.void
Selects the specified tab by tab name.void
TabControl.select
(String tab, MouseButton button) Selects the specified tab by tab name.void
TreeView.select
(int nodeIndex) Selects a node in the tree-view object by node index.void
TreeView.select
(int nodeIndex, MouseButton button) Selects a node in the tree-view object by node index.void
TreeView.select
(TreeViewNode node) Selects a node in the tree-view object.void
TreeView.select
(TreeViewNode node, MouseButton button) Selects a node in the tree-view control.void
Selects a node in the tree-view object by node path.void
TreeView.select
(String nodePath, MouseButton button) Selects a node in the tree-view control by node path.void
ListBase.selectRange
(int indexTo) Selects all list items between the currently selected item and the item whose index is specified.void
ListBase.selectRange
(int indexFrom, int indexTo) Selects all list items between (and including) the two specified items.void
ListBase.selectRange
(String itemTo) Selects all list items between the currently selected item and the item whose text is specified.void
ListBase.selectRange
(String itemFrom, String itemTo) Selects all list items between (and including) the two specified items.void
ListBase.selectRange
(T itemTo) Selects all list items between the currently selected item and the item passed as the argument.void
ListBase.selectRange
(T itemFrom, T itemTo) Selects all list items between (and including) the two specified items.void
RadioButton.set()
Selects the radio button.void
Editor.setCursorPosition
(int line, int charPos) Places the cursor at the specified point in the multi-line editor.void
ListViewItem.setItemState
(int index) Sets the state of the check box icon of the specified item in the list.void
TreeViewNode.setNodeState
(int index) Sets the state of the check box icon of the specified node in the tree-view control.void
ScrollBar.setPosition
(int position) Sets the scroll bar position.void
Sets the encoded value of this edit box.void
CheckBox.setState
(CheckedState state) Sets the state of the check box.void
Sets the text string in the edit field.void
SpinBox.setValue
(int value) Sets the spin object value.void
ToolBarButton.showDropdown()
Opens the drop down menu associated with this toolbar button by clicking the arrow part of the button.void
SpinBox.up()
Sets the spin object to its next value. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.te
Subclasses of GeneralLeanFtException in com.hp.lft.sdk.teModifier and TypeClassDescriptionclass
Represents the Error Field Protected error that occurs when running a TE testing project.class
Represents the HLLAPI Not Found error that occurs when running a TE testing project.class
Represents the HLLAPI Operation not Supported error that occurs when running a TE testing project.class
Represents the Illegal Operation error that occurs when running a TE testing project.class
Represents not found item error that occur during when running a TE testing project.class
Represents no connection error that occur during when running a TE testing project.class
Represents position not valid error that occur during when running a TE testing project.class
Represents rule not found error that occur during when running a TE testing project.class
Represents a text too long error that occur during when running a TE testing project.class
Represents undefined key combination error that occur during when running a TE testing project.Methods in com.hp.lft.sdk.te that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
Window.activate()
Activates the Terminal Emulator window.void
Window.activate
(MouseButton button) Activates the Terminal Emulator window.void
Clicks the specified row and column position on the emulator screen.Field.getAttachedText()
Returns the Terminal Emulator Field attached text.Field.getBackgroundColor()
Returns the background color of the terminal emulator field.Field.getColor()
Returns the color of the text in the terminal emulator field.Screen.getCursorPosition()
Returns the Terminal Emulator screen current row and current column.Window.getEmulatorStatus()
Returns the Terminal Emulator status.int
Window.getHandle()
Returns the Terminal Emulator window handle.int
Field.getId()
Returns the Terminal Emulator Field ID.int
Screen.getId()
Returns the Terminal Emulator Screen ID.int
Screen.getInputFieldCount()
Returns the Terminal Emulator screen input field count.Screen.getLabel()
Returns the Terminal Emulator screen label.int
Field.getLength()
Returns the Terminal Emulator Field length.int
Screen.getProtectedFieldCount()
Returns the Terminal Emulator screen protected field count.Window.getProtocol()
Returns the Terminal Emulator protocol.Window.getShortName()
Returns the Terminal Emulator short name.ScreenBase.getSize()
Returns the Terminal Emulator screen column count and row count.Field.getStartPosition()
Returns the Terminal Emulator Field start column and row column property.Field.getText()
Returns the Terminal Emulator Field text.ScreenBase.getText()
Returns the Text from the specified screen rectangle.Returns the Text from the specified screen rectangle.boolean
Field.isNumeric()
Returns the Terminal Emulator Field numeric property.boolean
Field.isProtected()
Returns the Terminal Emulator Field protected property.boolean
Field.isVisible()
Returns the Visible attribute for TeField.void
Types the specified string at the current location of the cursor.void
Screen.sendTEKeys
(String keys) Sends a keystroke or string of keystrokes to the current cursor position in the emulator screen.void
Field.setCursor()
Places the cursor in the specified position within the field.void
Field.setCursor
(long offset) Places the cursor in the specified position within the field.void
Screen.setCursorPosition
(int row, int column) Changes the position of the cursor within the emulator screen.void
Screen.setCursorPosition
(Position position) Changes the position of the cursor within the emulator screen.void
Inserts text into a hidden (invisible) field.void
Inserts text into an unprotected field.void
Inserts text into an unprotected field.void
Copies a string to a specific location in the emulator screen.void
Copies a string to a specific location in the emulator screen.void
Copies a string to a specific location in the emulator screen.void
ScreenBase.sync()
Waits until a response is received from the host and the emulator.void
ScreenBase.sync
(long milliseconds) Waits until a response is received from the host and the emulator.ScreenBase.waitForText
(StringProperty text) Waits for a specified text to appear on the emulator screen before continuing the run session.
Example 1:
The following example uses the waitForText method to wait 10 seconds for a string defined as regular expression, for example: CH70001 LAST ACCESS AT 14:27:07 ON THURSDAY:
waitForText(new RegExpProperty(@".*LAST ACCESS AT \d\d:\d\d:\d\d ON .*DAY.*"), new Area(3, 1, 3, 80), 10000)
Example 2:
The following example uses the waitForText method to wait 5 seconds for a string, for example: "User":
waitForText("User", new Area(3, 1, 3, 80), 5000)ScreenBase.waitForText
(StringProperty text, long milliseconds) Waits for a specified text to appear on the emulator screen before continuing the run session.
Example 1:
The following example uses the waitForText method to wait 10 seconds for a string defined as regular expression, for example: CH70001 LAST ACCESS AT 14:27:07 ON THURSDAY:
waitForText(new RegExpProperty(@".*LAST ACCESS AT \d\d:\d\d:\d\d ON .*DAY.*"), new Area(3, 1, 3, 80), 10000)
Example 2:
The following example uses the waitForText method to wait 5 seconds for a string, for example: "User":
waitForText("User", new Area(3, 1, 3, 80), 5000)ScreenBase.waitForText
(StringProperty text, Area area) Waits for a specified text to appear on the emulator screen before continuing the run session.
Example 1:
The following example uses the waitForText method to wait 10 seconds for a string defined as regular expression, for example: CH70001 LAST ACCESS AT 14:27:07 ON THURSDAY:
waitForText(new RegExpProperty(@".*LAST ACCESS AT \d\d:\d\d:\d\d ON .*DAY.*"), new Area(3, 1, 3, 80), 10000)
Example 2:
The following example uses the waitForText method to wait 5 seconds for a string, for example: "User":
waitForText("User", new Area(3, 1, 3, 80), 5000)ScreenBase.waitForText
(StringProperty text, Area area, long milliseconds) Waits for a specified text to appear on the emulator screen before continuing the run session.ScreenBase.waitForText
(String text) Waits for a specified text to appear on the emulator screen before continuing the run session.
Example: The following example uses the waitForText method to wait 5 seconds for a string, for example: "User":
waitForText("User", new Area(3, 1, 3, 80), 5000)ScreenBase.waitForText
(String text, long milliseconds) Waits for a specified text to appear on the emulator screen before continuing the run session.ScreenBase.waitForText
(String text, Area area) Waits for a specified text to appear on the emulator screen before continuing the run session.
Example: The following example uses the waitForText method to wait 5 seconds for a string, for example: "User":
waitForText("User", new Area(3, 1, 3, 80), 5000)ScreenBase.waitForText
(String text, Area area, long milliseconds) Waits for a specified text to appear on the emulator screen before continuing the run session.
Example: The following example uses the waitForText method to wait 5 seconds for a string, for example: "User":
waitForText("User", new Area(3, 1, 3, 80), 5000) -
Uses of GeneralLeanFtException in com.hp.lft.sdk.uiapro
Methods in com.hp.lft.sdk.uiapro that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
GridPattern.activateCell
(int row, int column) Activates (double-clicks) the specified cell in the grid.void
GridPattern.addCellToSelection
(int row, int column) Selects a cell in addition to previously selected cells.void
GridPattern.addRowToSelection
(int row) Selects a row in addition to previously selected rows.void
SelectionItemPattern.addToSelection()
Adds the current element to the collection of selected items.boolean
WindowPattern.canMaximize()
boolean
WindowPattern.canMinimize()
boolean
ScrollPattern.canScrollHorizontally()
boolean
ScrollPattern.canScrollVertically()
boolean
SelectionPattern.canSelectMultipleItems()
void
TextPattern.clearSelection()
Deselect all / any selected text from the objectvoid
GridPattern.clickCell
(int row, int column) Clicks the specified cell in the grid.void
GridPattern.clickCell
(int row, int column, MouseButton button) Clicks the specified cell in the grid.void
WindowPattern.close()
Attempts to close the current window.void
ExpandCollapsePattern.collapse()
Hides all child nodes, controls, or content of the element.void
DoubleClickable.doubleClick()
Double-clicks on this object using the left mouse button.void
DoubleClickable.doubleClick
(Location location) Double-clicks on this object using the specified Location.void
ExpandCollapsePattern.expand()
Displays all child nodes, controls, or content of the element.UiObjectBase.getAbsX()
UiObjectBase.getAbsY()
UiObjectBase.getAcceleratorKey()
UiObjectBase.getAccessKey()
UiObjectBase.getAutomationId()
GridPattern.getCell
(int row, int column) GridPattern.getCellName
(int row, int column) GridPattern.getCellText
(int row, int column) GridPattern.getCellValue
(int row, int column) int
LegacyIAccessiblePattern.getChildId()
int
GridPattern.getColumnCount()
TableItemPattern.getColumnHeaderItems()
TablePattern.getColumnHeaders()
int
GridItemPattern.getColumnIndex()
GridItemPattern.getContainingGrid()
UiObjectBase.getControlType()
LegacyIAccessiblePattern.getDefaultOperation()
LegacyIAccessiblePattern.getDescription()
UiObjectBase.getExpandCollapsePattern()
ExpandCollapsePattern.getExpandCollapseState()
UiObjectBase.getFrameworkId()
UiObjectBase.getGridItemPattern()
UiObjectBase.getGridPattern()
int
UiObjectBase.getHandle()
UiObjectBase.getHeight()
LegacyIAccessiblePattern.getHelp()
double
ScrollPattern.getHorizontalScrollPercent()
double
ScrollPattern.getHorizontalViewSize()
UiObjectBase.getInvokePattern()
LegacyIAccessiblePattern.getKeyboardShortcut()
double
RangeValuePattern.getLargeChange()
UiObjectBase.getLegacyIAccessiblePattern()
double
RangeValuePattern.getMaximum()
double
RangeValuePattern.getMinimum()
LegacyIAccessiblePattern.getName()
UiObjectBase.getName()
UiObjectBase.getNativeClass()
UiObjectBase.getPath()
TablePattern.getPrimaryTraversalDirection()
UiObjectBase.getProcessId()
UiObjectBase.getProcessName()
UiObjectBase.getRangeValuePattern()
LegacyIAccessiblePattern.getRole()
int
GridPattern.getRowCount()
TableItemPattern.getRowHeaderItems()
TablePattern.getRowHeaders()
int
GridItemPattern.getRowIndex()
UiObjectBase.getScrollItemPattern()
UiObjectBase.getScrollPattern()
LegacyIAccessiblePattern.getSelectedChildren()
SelectionPattern.getSelectedChildren()
TextPattern.getSelection()
UiObjectBase.getSelectionItemPattern()
UiObjectBase.getSelectionPattern()
double
RangeValuePattern.getSmallChange()
int
GridItemPattern.getSpannedColumns()
int
GridItemPattern.getSpannedRows()
LegacyIAccessiblePattern.getState()
UiObjectBase.getStatus()
UiObjectBase.getSupportedPatterns()
TextPattern.getSupportedTextSelection()
UiObjectBase.getTableItemPattern()
UiObjectBase.getTablePattern()
TextPattern.getText()
UiObjectBase.getTextPattern()
UiObjectBase.getTogglePattern()
TogglePattern.getToggleState()
LegacyIAccessiblePattern.getValue()
double
RangeValuePattern.getValue()
ValuePattern.getValue()
UiObjectBase.getValuePattern()
double
ScrollPattern.getVerticalScrollPercent()
double
ScrollPattern.getVerticalViewSize()
TextPattern.getVisibleText()
UiObjectBase.getWidth()
WindowPattern.getWindowInteractionState()
UiObjectBase.getWindowPattern()
WindowPattern.getWindowVisualState()
UiObjectBase.getX()
UiObjectBase.getY()
UiObjectBase.hasKeyboardFocus()
void
InvokePattern.invoke()
Represents a control that provides fundamental window-based functionality within a traditional graphical user interface (GUI)UiObjectBase.isEnabled()
UiObjectBase.isKeyboardFocusable()
boolean
WindowPattern.isMaximized()
boolean
WindowPattern.isMinimized()
boolean
WindowPattern.isModal()
UiObjectBase.isOffScreen()
UiObjectBase.isPassword()
boolean
RangeValuePattern.isReadOnly()
ValuePattern.isReadOnly()
boolean
SelectionItemPattern.isSelected()
boolean
SelectionPattern.isSelectionRequired()
boolean
WindowPattern.isTopmost()
void
WindowPattern.maximize()
Sets the window visual state to WindowVisualState.Maximizedvoid
WindowPattern.minimize()
Sets the window visual state to WindowVisualState.Minimizedvoid
LegacyIAccessiblePattern.performDefaultOperation()
Performs the default operation on the control.void
SelectionItemPattern.removeFromSelection()
Removes the current element from the collection of selected items.void
WindowPattern.restore()
Sets the window visual state to WindowVisualState.Normalvoid
ScrollPattern.scroll
(ScrollAmount horizontalAmount, ScrollAmount verticalAmount) Scrolls the visible region of the content area horizontally and vertically.void
ScrollPattern.scrollHorizontal
(ScrollAmount horizontalAmount) Scrolls the visible region of the content area horizontally.void
ScrollItemPattern.scrollIntoView()
Scrolls the content area in order to display the control within the visible region of the container.void
TextPattern.scrollIntoView
(int numberOfUnits) Scrolls into view.void
TextPattern.scrollIntoView
(int numberOfUnits, TextUnit unitType) Scrolls into view.void
TextPattern.scrollIntoView
(int numberOfUnits, TextUnit unitType, Direction direction) Scrolls into view.void
TextPattern.scrollIntoView
(int numberOfUnits, TextUnit unitType, Direction direction, Alignment alignment) Scrolls into view.void
ScrollPattern.scrollVertical
(ScrollAmount verticalAmount) Scrolls the visible region of the content area vertically.void
LegacyIAccessiblePattern.select
(SelectOptions selectionOptions) Selects the element.void
SelectionItemPattern.select()
Deselects any selected items and then selects the current element.void
TextPattern.select
(int start) Selects the specified text in the object.void
TextPattern.select
(int start, int length) Selects the specified text in the object.void
TextPattern.selectAll()
Selects all the object's text.void
GridPattern.selectCell
(int row, int column) Selects a cell in the grid.void
GridPattern.selectRow
(int row) Selects a row in the grid.void
GridPattern.setCellValue
(int row, int column, String cellValue) Sets the specified cell's value using the IValuePattern pattern.void
ScrollPattern.setHorizontalScrollPercent
(double value) Set the current horizontal scroll position.void
ScrollPattern.setScrollPercent
(double horizontalPercent, double verticalPercent) Sets the horizontal and/or vertical scroll position as a percentage of the total content area within the automation element.void
The Microsoft Active Accessibility encrypted value for the current object.void
Sets the encrypted value of the UIA Pro element.void
Set The Microsoft Active Accessibility value for the current object.void
RangeValuePattern.setValue
(double value) Set the current value of the UIAPro object.void
The value of the UIA Pro element.void
ScrollPattern.setVerticalScrollPercent
(double value) Set the current vertical scroll position.void
TogglePattern.toggle()
Cycles through the toggle states of the control.void
WindowPattern.waitForInputIdle
(int milliseconds) Causes the calling code to block for the specified time or until the associated process enters an idle state, whichever completes first. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.utils
Methods in com.hp.lft.sdk.utils that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionstatic boolean
ImageUtils.compareImages
(RenderedImage firstImage, RenderedImage secondImage) Checks whether two images are identical.static boolean
ImageUtils.compareImages
(RenderedImage firstImage, RenderedImage secondImage, byte pixelTolerance) Checks whether two images are a match, given the specified pixel tolerance value.static boolean
ImageUtils.compareImages
(RenderedImage firstImage, RenderedImage secondImage, byte pixelTolerance, byte rgbTolerance) Checks whether two images are a match, given the specified pixel and RGB tolerance values.static boolean
ImageUtils.compareImages
(RenderedImage firstImage, RenderedImage secondImage, ImageMaskArea maskArea) Checks whether the defined mask areas within two images are identical.static boolean
ImageUtils.compareImages
(RenderedImage firstImage, RenderedImage secondImage, ImageMaskArea maskArea, byte pixelTolerance) Checks whether the defined mask areas within two images match, given the specified pixel tolerance value.static boolean
ImageUtils.compareImages
(RenderedImage firstImage, RenderedImage secondImage, ImageMaskArea maskArea, byte pixelTolerance, byte rgbTolerance) Checks whether the defined mask areas within two images match, given the specified pixel and RGB tolerance values.static AlmRunInfo
AlmUtils.getAlmRunInfo()
static Point[]
ImageUtils.getImageLocations
(RenderedImage sourceImage, RenderedImage imageToFind) Returns the first 100 locations of an image inside the source image, with a default similarity of 100%.static Point[]
ImageUtils.getImageLocations
(RenderedImage sourceImage, RenderedImage imageToFind, byte similarity) Returns the first 100 locations of an image inside the source image that meet the provided similarity threshold.static String
ImageUtils.getText
(RenderedImage image) Returns all text within the supplied image.static String
ImageUtils.getText
(RenderedImage image, Rectangle textArea) Returns all text within the supplied rectangle inside the supplied image.static Point
ImageUtils.locateImage
(RenderedImage sourceImage, RenderedImage imageToFind) Locates an image inside the provided source image, with a default similarity of 100%.static Point
ImageUtils.locateImage
(RenderedImage sourceImage, RenderedImage imageToFind, byte similarity) Locates an image inside the provided source image.static Rectangle[]
ImageUtils.locateText
(RenderedImage image, String textToFind) Returns all rectangular areas within the supplied image that contain the specified text.static Rectangle[]
ImageUtils.locateText
(RenderedImage image, String textToFind, Rectangle textArea) Returns all rectangular areas within the supplied rectangle that contain the specified text. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.web
Methods in com.hp.lft.sdk.web that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
Browser.activate()
Activates the tab of the browser in the window group and clicks on it by default (windows only)void
Browser.activate
(boolean setFocus) Activates the tab of the browser in the window group and if the 'setFocus' parameter is true it clicks on it (windows only).TableCell.asWebElement()
Returns a web element that corresponds to the current table cell, so that it can be used like any other web element.static Browser
BrowserFactory.attach
(BrowserDescription description) Attaches a newBrowser
instance to a previously opened browser tab.void
Browser.back()
Navigates to the previous page in the browser history list.void
Browser.clearCache()
Clears the browser cache.
Note: This method does not clear the browser's cookies.void
Browser.close()
Closes the browser window (or tab) that this test object represents.void
Browser.closeAllTabs()
Closes all tabs (if any) and closes the browser window.void
TreeViewNode.collapse()
Collapses this tree node.
There may be a slight delay when using this method due to the animation of the collapse operation.void
Browser.deleteCookies()
Deletes all cookies from the browser.void
Browser.deleteCookies
(String fromSource) Deletes only cookies that originated from the browser source.<TChild extends WebElement>
TChildWebTestObjectDescriber.describe
(Class<TChild> type, CSSDescription css) Describes a child test object using the provided CSS selector.<TChild extends WebElement>
TChildWebTestObjectDescriber.describe
(Class<TChild> type, XPathDescription xpath) Describes a child test object using the provided XPath.void
ListBox.deselect
(int... itemIndices) Deselects items in the list based on the item indices.void
Deselects a list of items in the list box.void
Deselects items in the list based on the item names.void
WebElement.doubleClick()
Clicks on the object twice.
If you are testing a web or hybrid application on a mobile device, this method is equivalent to performing a DoubleTap gesture.void
WebElement.doubleClick
(WebDoubleClickArgs args) Clicks on an object twice according to the specified behavior.void
Browser.embedScript
(String script) Runs this JavaScript each time a page or frame loads or refreshes in the browser.
- The script remains embedded until you close the browser, or until the run session ends.
- Using this method to perform alert operations may result in unexpected behavior.
- To run this method, the security settings in your Web browser must be set to allow active scripting.void
TreeViewNode.expand()
Expands this tree node.
There may be a slight delay when using this method due to the animation of the expand operation.void
ListBox.extendSelect
(int... itemIndices) Selects additional items from the multi-selection list, by index.void
ListBox.extendSelect
(ListItem... items) Selects additional items from the multi-selection list, by ListItem item.void
ListBox.extendSelect
(String... items) Selects additional items from the multi-selection list, by name.<TChild extends TestObject>
TChildTableCell.findChildren
(Class<TChild> type) Returns a specified child according to its type.<TChild extends TestObject>
TChildTableCell.findChildren
(Class<TChild> type, int index) Returns a child test object from this cell according to its type and index.TableBase.findRowWithCellText
(String text) Finds the first row with this text.TableBase.findRowWithCellText
(String text, int startFromRow) Finds the first row with the specified text.UiGrid.findRowWithCellText
(String text) Finds the first row with this text.UiGrid.findRowWithCellText
(String text, int startFromRow) Finds the first row with the specified text.GridBase.findRowWithCellTextInColumn
(TextMatch textMatch, ColumnToSearch columnToSearch) Finds the row with the specified text in the specified column, in cases where the text or columnHeader may appear more than once.GridBase.findRowWithCellTextInColumn
(String text, int columnNumber) Finds the first row with the specified text in the specified column.GridBase.findRowWithCellTextInColumn
(String text, int columnNumber, int startFromRow) Finds the first row with the specified text in the specified column, starting from the specified row.GridBase.findRowWithCellTextInColumn
(String text, String columnHeader) Finds the first row with the specified text in the specified column.GridBase.findRowWithCellTextInColumn
(String text, String columnHeader, int startFromRow) Finds the first row with the specified text in the specified column, starting from the specified row.TableBase.findRowWithCellTextInColumn
(String text, int columnNumber) Finds the first row with the specified text in the specified column.TableBase.findRowWithCellTextInColumn
(String text, int columnNumber, int startFromRow) Finds the first row with the specified text in the specified column, starting from the specified row.void
Triggers an event on the test object.void
Browser.forward()
Navigates to the next page in the browser history list.static BrowserDescription
This method creates a new instance ofBrowserDescription
and initializes it with the given props map.void
Browser.fullScreen()
Toggles the browser between full-screen mode and normal mode.void
Browser.fullScreen
(FullScreenMode mode) Controls the browser's full screen mode.Returns the current value of aBrowserDescription
capability.Page.getAbsoluteLocation()
Returns this object's absolute coordinates relative to the screen (in pixels).WebElement.getAccessibilityName()
Returns the element's AccessibilityName.static Browser[]
BrowserFactory.getAllOpenBrowsers
(BrowserDescription description) Returns an array of all open browsers that match the givenBrowserDescription
.Area.getAlt()
Returns this object's tooltip text.Image.getAlt()
Returns this image's tooltip text.WebTestObject.getAttribute
(String attributeName) Returns the value of a single attribute.WebTestObject.getAttributes()
Returns a copy of the collection of attributes that is attached to the element, for example, "id","class",etc.Link.getBackgroundColor()
Returns this link's background color.int
TableBase.getBorder()
Returns the number of pixels that are used as border on the table.Button.getButtonType()
Returns the button type.TableRowBase.getCells()
Returns a list of table cell objects in the row.WebTestObject.getClassName()
Returns the element's CSS class.Link.getColor()
Returns this link's color.GridBase.getColumnHeaders()
Returns the headers of the columns, usually this is the text of the first row.TableBase.getColumnHeaders()
Returns the headers of the columns, usually this is the text of the first row.WebTestObject.getComputedStyle
(String styleProperty) Returns the value of a single style.WebTestObject.getComputedStyles()
Returns the element's computed styles as a dictionary with the name of the style as the key.int[]
Area.getCoords()
Returns the coordinates of an area in an image-map.WebElement.getCSSSelector()
Returns the element's CSS Selector.MediaControl.getCurrentSource()
Returns the URL of the media file currently selected in the browser window.double
NumericField.getDefaultNumericValue()
Returns the initial value in this field, which is set when this field is reset.double
Slider.getDefaultNumericValue()
Returns the default value for this slider.EditFieldCommon.getDefaultValue()
Returns the default value in the edit field.ListBox.getDefaultValue()
Returns the initial text value, which is set when the object is reset.Browser.getDialogText()
Returns the text displayed in a browser message box, such as an alert, confirmation, or prompt.int
MediaControl.getDuration()
Returns the length of the currently selected media file (in milliseconds).Link.getFontName()
Returns this link's font.Area.getHref()
Returns the location to which the browser navigates when the object is clicked.Image.getHref()
Returns the location to which the browser navigates when the image is clicked.Link.getHref()
Returns the location to which the browser navigates when the image is clicked.WebTestObject.getId()
Returns the element's HTML identifier.WebTestObject.getInnerHTML()
Returns the element's HTML not including the current element.WebTestObject.getInnerText()
Returns the text contained between the object's start and end tags.ListBox.getItems()
Returns all of the items in the list.RadioGroup.getItems()
Returns the list of all items contained in the object.Area.getMapName()
Returns the name of the map element the image uses to define the area inside the image.double
NumericField.getMax()
Returns the maximum value that can be entered in the field.double
Slider.getMax()
Returns the maximum value that can be entered in the field.int
EditFieldBase.getMaxCharsInLine()
Returns the maximum number of characters allowed per line in this edit field.int
EditFieldCommon.getMaxLength()
Returns the max number of characters that can be entered in the input field.double
NumericField.getMin()
Returns the minimum value that can be entered in the field.double
Slider.getMin()
Returns the minimum value that can be entered in the field.WebTestObject.getName()
Returns the object's name.Returns the specified node in the tree using the path created with the parts of the path.Returns the specified node in the tree using the full path to the tree item.<TChild extends TestObject>
intTableCell.getNumberOfChildrenWithType
(Class<TChild> type) Returns the number of child test objects that have the specified type.int
Browser.getNumberOfTabs()
Returns the number of currently open tabs in the browser.double
NumericField.getNumericValue()
Returns the current value in the number field.double
Slider.getNumericValue()
Returns the current value in the number field.Browser.getOpenTitle()
Returns the browser's initial title when first opened.Browser.getOpenURL()
Returns the URL from which the browser is opened.WebTestObject.getOuterHTML()
Returns the element's HTML, including the current element.WebTestObject.getOuterText()
Returns the object's text.Browser.getPage()
Returns a test object representing the top level document in the tab.TreeViewNode.getPath()
Returns the full path of this node as a semi-colon delimited string.EditFieldCommon.getPattern()
Returns the input pattern, for example, a phone number.EditFieldBase.getPlaceholder()
Returns the hint text that is displayed in the edit box until a value is entered into it.double
MediaControl.getPlaybackRate()
Returns the speed of the media playback.int
MediaControl.getPlaybackTime()
Returns the current playback position in the media file (in milliseconds).WebElement.getRole()
Returns the object's role property.GridBase.getRows()
Returns a collection of rows.TableBase.getRows()
Returns a collection of rows.int
EditFieldCommon.getRowsCount()
Returns the number of rows in a multi-line edit field.int
RadioGroup.getSelectedIndex()
Returns the index of the selected item in the radio group (or -1 if none is selected).RadioGroup.getSelectedItem()
Returns the currently selected item (or null if none is selected).ListBox.getSelectedItems()
Returns a collection of all selected items.TreeView.getSelectedNodePath()
Returns the path of the selected node in this tree.Browser[]
Browser.getSiblingTabs()
Returns a collection of tabs (Browser objects) that are siblings to the current tab (tabs located in the same window).Page.getSize()
Returns the object's size (in pixels).String[]
MediaControl.getSources()
Returns a collection of all media file source URLs.Area.getSrc()
Returns this image source in URL format.Image.getSrc()
Returns the image source in URL format.TabStrip.getTabs()
Returns the list of all tabs contained in this tab strip.WebTestObject.getTagName()
Returns the element's tag name.Area.getTarget()
Returns the target frame of the navigation.Image.getTarget()
Returns the target frame of the navigation.Link.getTarget()
Returns the target frame of the navigation.Button.getText()
Returns the text on the button.Frame.getText()
Returns the inner text of the body element.ListItem.getText()
Returns the text value of the list item.Page.getText()
Returns the inner text of the body element.TableCell.getText()
Returns the current text in the cell.Browser.getTitle()
Returns the browser title.Page.getTitle()
Returns the page's title.WebTestObject.getTitle()
Returns the element's title attribute.Menu.getTopLevelMenuItems()
Returns the list of all the top level menu items contained in this menu.Area.getType()
Returns the image type.CheckBox.getType()
Returns the type of object as defined in the HTML input tag.EditFieldCommon.getType()
Returns the type of object as defined in the HTML input tag.Image.getType()
Returns the image type.ListBox.getType()
Returns the attribute "type" of the HTML element.RadioGroup.getType()
Returns the type of object as defined in the HTML input tag.Browser.getURL()
Returns current browser URL.Frame.getURL()
Returns the URL of the frame.Page.getURL()
Returns the URL of the page.EditFieldBase.getValue()
Returns the current text in the field.ListBox.getValue()
Returns this object's text value.Browser.getVersion()
Returns data regarding the browser version and type.int
ListBox.getVisibleItemsCount()
Returns the number of items that are displayed in the list box.double
MediaControl.getVolume()
Returns the volume used when playing this media file.WebElement.getXPath()
Returns the element's XPath.void
Browser.handleDialog()
Clicks the OK button on the alert, confirmation, or prompt message box.void
Browser.handleDialog
(DialogButton button) Clicks a button on the alert, confirmation, or prompt message box.void
Browser.handleDialog
(String text) Enters text in the browser's prompt message box and clicks the OK button.boolean
MediaControl.hasAutoPlay()
Indicates whether this media file starts playing as soon as it loads.boolean
Browser.hasDialog()
Indicates whether the browser message box is currently open.boolean
MediaControl.hasPlaybackControls()
Indicates whether this media player should display playback controls.boolean
RadioGroup.hasSelectedItem()
Return whether an item in the group is selected.void
WebElement.hoverTap()
When hover is supported, places the pointer on the object.void
When hover is supported, places the pointer on the object.boolean
CheckBox.isChecked()
Indicates whether this check box is checked.boolean
ListBox.isMultiple()
Indicates whether the user can select multiple items.boolean
MediaControl.isMuted()
Indicates whether the media volume is muted.boolean
MediaControl.isPlaying()
Returns whether this media is currently playing.boolean
MediaControl.isPlayInLoop()
Indicates whether this media file should start playing again from the beginning as soon as it finishes playing.boolean
EditFieldBase.isReadOnly()
Indicates whether this field is read-only.boolean
EditFieldBase.isRequired()
Indicates whether this field is mandatory.boolean
WebTestObject.isVisible()
Indicates whether the current element is visible.static Browser
BrowserFactory.launch
(BrowserDescription browserDesc) Launches a new browser tab returning an instance ofBrowser
for the launched browser.static Browser
BrowserFactory.launch
(BrowserDescription browserDesc, Environment env) Launches a new browser tab on the specified environment and returns an instance ofBrowser
for the launched browser.static Browser
BrowserFactory.launch
(BrowserType browserType) Launches a new browser tab returning an instance ofBrowser
for the launched browser.static Browser
BrowserFactory.launch
(BrowserType browserType, Environment environment) Launches a new browser tab on the specified environment and returns an instance ofBrowser
for the launched browser.void
WebElement.longPress()
Presses and holds the object.void
WebElement.longPress
(WebLongPressArgs args) Presses and holds the object according to the specified behavior.void
ListItem.makeVisible
(String xPath) Makes an item in the list visible.void
ListItem.makeVisible
(String xPath, double timeOut) Makes an item in the list visible.void
Opens the specified URL in the browser.void
Browser.openNewTab()
Opens a new tab in the browser window.void
WebElement.pan
(long deltaX, long deltaY) Performs a pan gesture on the object.void
WebElement.pan
(WebPanArgs args) Performs a pan gesture on the object according to the specified behavior.void
MediaControl.pause()
Pauses the media playback.void
WebElement.pinch
(double scale) Performs a pinch gesture on the object.void
WebElement.pinch
(WebPinchArgs args) Perform a pinch gesture on the object according to the specified behavior.void
MediaControl.play()
Plays the media file.void
Browser.refresh()
Refreshes the current page.void
MediaControl.reload()
Reloads the media file.void
Browser.resizeTo
(int width, int height) Resizes the browser window to specific dimensions.void
Resizes the browser window to a specific size.Frame.runJavaScript
(String scriptToRun) Runs the given JavaScript code in the frame's context and returns the result.<TResult> TResult
Frame.runJavaScript
(String scriptToRun, Class<TResult> returnType) Runs the given JavaScript text in the frame's context and returns the result cast to returnType.Page.runJavaScript
(String scriptToRun) Runs the given JavaScript code in the page's context and returns the result.<TResult> TResult
Page.runJavaScript
(String scriptToRun, Class<TResult> returnType) Runs the given JavaScript code in the page's context and returns the result cast to returnType.void
UiGrid.scrollToRow
(int row) Scrolls to a specified row, as defined by the row's number.void
UiGrid.scrollToRow
(TableRow row) Scrolls to a specified row, as defined by the rowTableRow
.void
ListBox.select
(int... itemIndices) Selects items in the list based on the item indices.void
Selects a list of items in the list box.void
Selects items in the list based on the item names.void
Selects the specified item in the menu by path.void
Selects the specified item in the menu by path.void
RadioGroup.select
(int itemIndex) Selects the specified radio button from the radio group, replacing the previous selection.void
Selects the specified radio button from the radio group, replacing the previous selection.void
TabStrip.select
(int tabIndex) Selects the specified tab by index.void
Selects the specified tab by name.void
TreeView.select
(TreeViewNode node) Selects the supplied node in the tree.void
Selects the specified node in the tree based on the path to the node.
If the child items in this object are generated dynamically (for example, they are not visible or present in the application until the parent node is expanded), the items in the tree cannot be selected automatically using this method.void
GridBase.selectCell
(int row, int column) Selects the specified cell in the grid.void
GridBase.selectCell
(int row, String columnHeader) Selects the specified cell in the grid.void
Sets aBrowserDescription
capability to the given value.void
CheckBox.set
(boolean state) Sets the state of this check box.void
Sets the encoded value of this edit box.void
Enters the specified text in the field.void
NumericField.setValue
(double value) Sets the value in the field.void
Slider.setValue
(double value) Sets the value in the field.void
EditField.submit()
When working in a Web form, simulates pressing the Enter key while the focus is on the object specified in the statement.void
WebElement.swipe
(SwipeDirection direction) Swipes the object in the specified direction.void
WebElement.swipe
(WebSwipeArgs args) Swipes the object according to the specified behavior.void
Browser.sync()
Waits for the browser to complete the current navigation.void
Frame.sync()
Waits for the frame's state to be idle.void
Page.sync()
Waits for the page state to be idle. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.winforms
Methods in com.hp.lft.sdk.winforms that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
Window.activate()
Activates this window.void
Window.activate
(MouseButton button) Activates this window using the specified mouse button.void
ComponentOneGrid.activateCell
(int row, String columnHeader) Double-clicks the specified cell in this grid.void
DataGridView.activateCell
(int row, String columnHeader) Double-clicks the specified cell in this grid.void
Table.activateCell
(int row, int column) Double-clicks the specified cell in this grid.void
UltraWinGrid.activateCell
(int row, String columnHeader) Double-clicks the specified cell in this grid.void
UltraWinGrid.activateCell
(String rowPath, String columnHeader) Double-clicks the specified cell in this grid.void
XtraGrid.activateCell
(int row, String columnHeader) Double-clicks the specified cell in this grid.void
C1TrueDbGrid.activateColumn
(int column) Double-clicks the specified column header in a grid.void
C1TrueDbGrid.activateColumn
(String columnHeader) Double-clicks the specified column header in a grid.void
DataGrid.activateColumn
(int column) Double-clicks the specified column header in this grid.void
DataGridView.activateColumn
(int column) Double-clicks the specified column header in this grid.void
DataGridView.activateColumn
(String columnHeader) Double-clicks the specified column header in this grid.void
UltraWinGrid.activateColumn
(int bandLevel, String columnHeader) Double-clicks the specified column header in this grid.void
XtraGrid.activateColumn
(int colum) Double-clicks the specified column header in this grid.void
XtraGrid.activateColumn
(String columnHeader) Double-clicks the specified column header in this grid.void
ListBase.activateItem
(int itemIndex) Activates (double-clicks) the specified item in the list by item index.void
ListBase.activateItem
(int itemIndex, MouseButton button) Activates (double-clicks) the specified item in this list by item index.void
ListBase.activateItem
(String item) Activates (double-clicks) the specified item in this list.void
ListBase.activateItem
(String item, MouseButton button) Activates (double-clicks) the specified item in this list.void
ListBase.activateItem
(T item) Activates (double-clicks) the specified item in this list.void
ListBase.activateItem
(T item, MouseButton button) Activates (double-clicks) the specified item in this list.void
TreeView.activateNode
(int nodeIndex) Activates the node with the specified index in the tree-view control.void
TreeView.activateNode
(int nodeIndex, MouseButton button) Activates (double-clicks) a node by index in the tree-view control.void
TreeView.activateNode
(TreeViewNode node) Activates a node in the tree-view control.void
TreeView.activateNode
(TreeViewNode node, MouseButton button) Activates (double-clicks) a node in this tree-view control.void
TreeView.activateNode
(String nodePath) Activates the node at the given path in the tree-view control.void
TreeView.activateNode
(String nodePath, MouseButton button) Activates (double-clicks) the node at the given path in the tree-view control.void
Table.activateRow
(int row) Double-clicks the specified row header in this grid.void
UltraWinGrid.activateRow
(String rowPath) Double-clicks the specified row header in this grid.void
Adds a new row to the table band using the Add button for the corresponding band.void
Adds a new row to the table band using the Add button for the corresponding band.void
DataGrid.back()
Navigates back to the parent table.void
ListViewItem.clickState()
Clicks the state image icon.void
TreeViewNode.clickState()
Clicks the state icon.void
Window.close()
Closes this window.void
TreeViewNode.collapse()
Hides sub-nodes of this node in the expanded tree-view control.void
ComponentOneGrid.collapseRow
(int row) Collapses the specified row.void
DataGrid.collapseRow
(int row) Collapses the specified row.void
UltraWinGrid.collapseRow
(int row) Collapses the specified row.void
UltraWinGrid.collapseRow
(String rowPath) Collapses the specified row.void
ListBase.deselect
(int... itemIndices) Deselect a list of items by items indices.void
Deselect a list of items.void
Deselect a list of items.void
ListViewItem.doubleClickState()
Double-clicks state image icon.void
TreeViewNode.doubleClickState()
Double-clicks the state icon.void
SpinBox.down()
Sets this spin box object to the next lower value.void
ListViewItem.enableLabelEditing()
Activates the edit mode for the lists item label to enable renaming.void
TreeViewNode.enableLabelEditing()
Activates the edit mode for the node in the tree-view control to enable renaming.void
TreeViewNode.expand()
Displays direct sub-nodes of this node in the tree-view control.void
TreeViewNode.expandAll()
Displays all nodes of the sub-tree that has this node as the root.void
ComponentOneGrid.expandRow
(int row) Expands the specified row.void
DataGrid.expandRow
(int row) Expands the specified row.void
UltraWinGrid.expandRow
(int row) Expands the specified row.void
Expands the specified row.void
ListBase.extendSelect
(int... itemIndices) Selects additional items from the multi-selection list, by index.void
ListBase.extendSelect
(String... items) Selects additional items from the multi-selection list, by name.void
ListBase.extendSelect
(T... items) Selects additional items from the multi-selection list, by items.void
Simulates an event on a .NET object.PropertyGrid.getAttachedText()
Returns the static text attached to this control.StatusBar.getAttachedText()
Returns the static text that is attached to this control.TabControl.getAttachedText()
Returns the static text attached to this control.UiObject.getAttachedText()
Returns the static text attached to this control.Returns a cell in the grid.Returns a cell in the grid.UltraWinGrid.getCell
(int row, int column) Returns the specified cell.Returns the specified cell.Returns the specified cell.XtraGrid.getCell
(int row, int column) Returns a cell in the grid.Returns a cell in the grid.TableRow.getCells()
Returns the cells in this row.ListView.getCheckedItems()
Returns items marked as checked to a unmodified list object.TreeView.getCheckedVisibleNodes()
Returns the checked visible nodes in the tree-view control.int
UltraWinGrid.getColumnCount()
Returns the number of columns in the current band.int
XtraGrid.getColumnCount()
Returns the number of columns in the current view.ListView.getColumnHeader
(int columnIndex) Returns the header text of the specified (report-style) list-view column.TableCell.getColumnName()
Returns the column header name of this cell.int
Editor.getCursorColumn()
Returns the character the cursor is on in the line the cursor is on (0-based).int
Editor.getCursorLine()
The line the cursor is on in the object (0-based).Table.getCustomGrid()
The returned object enables access to supported custom grids.Button.getErrorText()
Returns the tooltip text of the error icon associated with this object.Calendar.getErrorText()
Returns the tooltip text of the error icon associated with this object.CheckBox.getErrorText()
Returns the tooltip text of the error icon associated with this object.ComboBox.getErrorText()
Returns the tooltip text of the error icon associated with this object.EditField.getErrorText()
Returns the tooltip text of the error icon associated with this object.Editor.getErrorText()
Returns the tooltip text of the error icon associated with this object.Label.getErrorText()
Returns the tooltip text of the error icon associated with this object.ListBase.getErrorText()
Returns the tooltip text of the error icon associated with this object.PropertyGrid.getErrorText()
Returns the tooltip text of the error icon associated with this object.RadioButton.getErrorText()
Returns the tooltip text of the error icon associated with this object.ScrollBar.getErrorText()
Returns the tooltip text of the error icon associated with this object.SpinBox.getErrorText()
Returns the tooltip text of the error icon associated with this object.StatusBar.getErrorText()
Returns the tooltip text of the error icon associated with this object.TabControl.getErrorText()
Returns the tooltip text of the error icon associated with this object.Table.getErrorText()
Returns the tooltip text of the error icon associated with this object.ToolBar.getErrorText()
Returns the tooltip text of the error icon associated with this object.TreeView.getErrorText()
Returns the tooltip text of the error icon associated with this object.UiObject.getErrorText()
Returns the tooltip text of the error icon associated with this object.TreeViewNode.getFirstChildPath()
Returns the full path of the node's first child node as a semi-colon delimited String.UiObjectBase.getFullNamePath()
Returns the full hierarchy of this object with all parent objects.UiObjectBase.getFullType()
Returns the full type name of this object.Table.getGridType()
Returns the grid type of the test object.int
ListItem.getHeight()
Returns the list item's height (in pixels).int
TableCell.getHeight()
Returns the height of this cell.int
TreeViewNode.getImageIndex()
Returns the image index of the node.int
ToolBarItem.getIndex()
Returns the 0-based index of this toolbar item.Returns the item with the given text.Returns the item with the specified text.ComboBox.getItems()
Returns the names of the items in this combo box.ListBase.getItems()
Returns the items in the list.StatusBar.getItems()
Returns the items (parts) in the status bar.ToolBar.getItems()
Returns the toolbar items in this toolbar.ToolBarItem.getName()
Returns the name of this toolbar item.TreeViewNode.getNextSiblingPath()
Returns the full path of the node's next sibling node as a semi-colon delimited String.UiObjectBase.getObjectName()
The instance's name.<TValue> TValue
UiObjectBase.getObjectProperty
(String propname, Class<TValue> returnType) Returns the value of a test object property.int
TreeViewNode.getOverlayImageIndex()
Returns the index of the current overlay image.TreeViewNode.getParentPath()
Returns the full path of the node's parent node as a semi-colon delimited string.TreeViewNode.getPath()
Returns the full path of the node as a semi-colon delimited string.int
ScrollBar.getPosition()
Returns the scroll bar position.<T> T
PropertyGrid.getPropertyValue
(String propertyPath, Class<T> type) Returns value of the specified property in this property grid control.
This method is supported only for String, Boolean and Numeric types.int
UltraWinGrid.getRowCount()
Returns the number of rows in the current band.int
XtraGrid.getRowCount()
Returns the number of rows in the current view.ComponentOneGrid.getRows()
Returns the rows.DataGrid.getRows()
Returns the collection of rows.DataGridView.getRows()
Returns the collection of rows.ComboBox.getSelectedItem()
Returns the selected item in this combo box.ListBase.getSelectedItems()
Returns the selected items in the list.ToolBar.getSelectedItems()
Returns the selected items in this toolbar.TreeView.getSelectedNodes()
Returns the selected nodes in the tree-view control.TabControl.getSelectedTab()
Returns the selected tab.Editor.getSelectedText()
Returns the selected text in this control.CheckBox.getState()
Returns the check box status.int
ListViewItem.getState()
Returns this list-view control item's state image index.int
TreeViewNode.getState()
Returns the state image index of the node.ListViewItem.getSubItemText()
Returns the text value of this report-style (LVS_REPORT) list-view subitem.ListViewItem.getSubItemText
(int columnIndex) Returns the text value of this report-style (LVS_REPORT) list-view subitem.ListViewItem.getSubItemText
(String columnName) Returns the text value of this report-style (LVS_REPORT) list-view subitem.CustomGrid.getTableTestObject()
Returns the Table test object this custom grid was accessed from.TabControl.getTabs()
Returns the tabs in this tab control.ListItem.getText()
Returns the text value of the list item, or "" if the list item does not contain any text.ListViewItem.getText()
The text of this list item.TreeViewNode.getText()
The text of this node.UiObjectBase.getText()
Returns the text associated with this object.ToolBar.getTopMenuItems()
For menu: returns the names of all top menu items; For toolbar: returns the names of all toolbar items.int
SpinBox.getValue()
Returns the spin box object value.TableCell.getValue()
Returns the content of this cell.int
ListView.getVisibleColumnsCount()
Returns the number of visible columns in the list-view object.TreeView.getVisibleNodes()
Returns the visible nodes in the tree-view control.int
TableCell.getWidth()
Returns the width of this cell.UiObjectBase.getWindowClassRegExp()
Returns the permanent part of the MFC window class.StatusBar.getWindowExtendedStyle()
Returns the extended window style of this status bar.long
StatusBar.getWindowExtendedStyleAsLong()
Returns the extended window style of the object as long.int
UiObjectBase.getWindowId()
Returns this object's window identifier.Window.getWindowState()
Returns the current window state.StatusBar.getWindowStyle()
Returns the window style of this status bar.long
StatusBar.getWindowStyleAsLong()
Returns the window style of the object as long.int
TableCell.getX()
Returns the X-coordinate in pixels of this cell relative to the table.int
TableCell.getY()
Returns the Y-coordinate in pixels of this cell relative to the table.void
XtraGrid.groupRows
(int column) Groups table rows according to the specified column.void
Groups table rows according to the specified column.boolean
Window.hasBorder()
Indicates whether the object has a thin-line border.boolean
Window.hasCaption()
Indicates whether the object has a title bar.boolean
TreeViewNode.hasChildren()
Indicates whether the node has children.boolean
ToolBarItem.hasEllipses()
Indicates whether the toolbar item's text is truncated and an ellipsis (...) is displayed.
This property is not supported for QMenuBar objects.boolean
Window.hasSizebox()
Indicates whether the object has a sizing border.boolean
Window.hasSystemMenu()
Indicates whether the object has a window menu on its title bar.void
DataGrid.hideParentRow()
Hides the parent row when the child grid is displayed.boolean
Window.isActive()
Indicates whether this object is the foreground object (currently active).boolean
ListItem.isAnchor()
Indicates whether this list item is an anchor item (the item from which a multiple selection span starts).boolean
CheckBox.isChecked()
Indicates whether this check box is checked.boolean
ListItem.isChecked()
Indicates whether the list item is checked.boolean
RadioButton.isChecked()
Indicates whether this radio button is checked.boolean
ToolBarItem.isChecked()
Indicates whether a toggle push button is currently set.
Only invoke on dual-state (toggle) push buttons.boolean
UiObjectBase.isChildWindow()
Indicates whether this object's window is a child window.boolean
ToolBarItem.isEnabled()
Indicates whether this toolbar item can accept user input.boolean
TreeViewNode.isExpanded()
Indicates whether this node is currently expanded.boolean
ListItem.isFocused()
Indicates whether this list item has the focus in a multiple selection list box.boolean
ListViewItem.isFocused()
Indicates whether this list item has the focus in a multiple-selection list box.boolean
ToolBarItem.isHidden()
Indicates whether this item is not visible and therefore cannot accept user input.
An item can be visible and disabled for other reasons.boolean
ToolBarItem.isHighlighted()
Indicates whether this toolbar item is surrounded by a dotted line.boolean
ToolBarItem.isHot()
Indicates whether this toolbar item appears highlighted, as when the mouse hovers over it.
This property is not supported for QMenuBar objects.boolean
ToolBarItem.isIndeterminate()
Indicates that this control is neither checked nor unchecked.boolean
ToolBar.isItemExists
(String itemPath) Indicates whether the specified toolbar button or menu button exists.boolean
ToolBarItem.isMarked()
Indicates whether this toolbar item is marked.boolean
Window.isMaximizable()
Indicates whether this window can be maximized.boolean
Window.isMdiChildWindow()
Indicates whether this object is a multiple-document interface (MDI) child window.boolean
Window.isMinimizable()
Indicates whether this object can be minimized.boolean
UiObjectBase.isOwnedWindow()
Indicates whether the object's window has an owner window.boolean
Window.isPopupWindow()
Indicates whether the object is a pop-up window.boolean
ToolBarItem.isPressed()
Indicates whether the toolbar item is currently being clicked.boolean
StatusBar.isRightAligned()
Indicates whether this status bar has generic "right-aligned" properties.boolean
StatusBar.isRightToLeftLayout()
Indicates whether this status bar's horizontal origin is on the right edge.boolean
StatusBar.isRightToLeftReading()
Indicates whether this status bar's text is displayed right-to-left.boolean
ListItem.isSelected()
Indicates whether the list item is selected.boolean
ListViewItem.isSelected()
Indicates whether this list item is selected.boolean
TreeViewNode.isSelected()
Indicates whether this node is selected.boolean
CheckBox.isThreeState()
Indicates whether this check box is able to display three check states.boolean
Window.isToolWindow()
Indicates whether the object is a floating toolbar.boolean
Window.isTopmost()
Indicates whether this object stays above all non-topmost windows even when the object is deactivated.boolean
ToolBarItem.isWrap()
Indicates whether this toolbar item is followed by a line break.
Only invoke if the item is enabled.void
ComponentOneGrid.makeCellVisible
(int row, String columnHeader) Scrolls the specified cell into view.void
DataGridView.makeCellVisible
(int row, String columnHeader) Scrolls the specified cell into view.void
Table.makeCellVisible
(int row, int column) Scrolls the specified cell into view.void
UltraWinGrid.makeCellVisible
(int row, String columnHeader) Scrolls the specified cell into view.void
UltraWinGrid.makeCellVisible
(String rowPath, String columnHeader) Scrolls the specified cell into view.void
XtraGrid.makeCellVisible
(int row, String columnHeader) Scrolls the specified cell into view.void
Window.maximize()
Maximizes this window to fill the entire screen.void
Window.minimize()
Minimizes this window to an icon.void
Window.move
(int x, int y) Moves the window to the specified absolute location on the screen.void
Moves the window to the specified absolute location on the screen.void
ScrollBar.nextLine()
Moves the scroll bar downward a single lineor emulates pressing the right arrow key once.void
ScrollBar.nextLine
(int numberOfLines) Moves this scroll bar down the specified number of lines or emulates pressing the right arrow key the specified number of times.void
ScrollBar.nextPage()
Moves the scroll bar down or to the right a single page.void
ScrollBar.nextPage
(int numberOfPages) Moves this scroll bar down or to the right the specified number of pages.void
ComponentOneGrid.openCellElement
(int row, int column) Selects the specified cell and opens a cell's pop-up cell element.void
ComponentOneGrid.openCellElement
(int row, String columnHeader) Selects the specified cell and opens a cell's pop-up cell element.void
DataGrid.openCellRelation
(int row, int column) Opens the child table referenced by the link in the specified cell.void
UltraWinGrid.openSummaryDialog
(int bandLevel, String columnHeader) Opens the summary dialog box for the specified column.void
ToolBarItem.press()
Presses this toolbar item.void
ScrollBar.previousLine()
Moves the scroll bar up or to the left a single line.void
ScrollBar.previousLine
(int numberOfLines) Moves this scroll bar up the specified number of lines or emulates pressing the left arrow key the specified number of times.void
ScrollBar.previousPage()
Moves the scroll bar up or to the left a single page.void
ScrollBar.previousPage
(int numberOfPages) Moves the scroll bar up or to the left the specified number of pages.void
Window.resize
(int width, int height) Resizes this window to the specified dimensions.void
Resizes this window.void
Window.restore()
Restores this window to its previous size.void
ComboBox.select
(int index) Selects an item from this combo box.void
Selects an item from this combo box.void
EditField.select
(int fromCharPos, int toCharPos) Selects the specified text in the edit field.void
Editor.select
(int fromLine, int fromCharPos, int toLine, int toCharPos) Selects text in this multi-line editor.void
ListBase.select
(int... itemIndices) Selects a list of items by items indices.void
Selects a list of items.void
Selects a list of items.void
TabControl.select
(int index) Selects the specified tab item.void
TabControl.select
(int index, MouseButton button) Selects the specified tab item.void
Selects the specified tab item.void
TabControl.select
(String tab, MouseButton button) Selects the specified tab item.void
Selects the specified item in this menu.void
TreeView.select
(int nodeIndex) Selects the node with the specified index in the tree-view control.void
TreeView.select
(int nodeIndex, MouseButton button) Selects the node with the specified index in the tree-view control.void
TreeView.select
(TreeViewNode node) Selects a node in the tree-view control.void
TreeView.select
(TreeViewNode node, MouseButton button) Selects a node in the tree-view control.void
Selects the node at the specified path in the tree-view control.void
TreeView.select
(String nodePath, MouseButton button) Selects the node at the specified path in the tree-view control.void
ComponentOneGrid.selectCell
(int row, String columnHeader) Selects (clicks) the specified cell in this grid.void
DataGridView.selectCell
(int row, String columnHeader) Selects (clicks) the specified cell in this grid.void
Table.selectCell
(int row, int column) Selects (clicks) the specified cell in this grid.void
UltraWinGrid.selectCell
(int row, String columnHeader) Selects (clicks) the specified cell in this grid.void
UltraWinGrid.selectCell
(String rowPath, String columnHeader) Clicks the specified row header in this grid.void
XtraGrid.selectCell
(int row, String columnHeader) Selects (clicks) the specified cell in this grid.void
ComponentOneGrid.selectColumn
(int column) Selects (clicks) the specified column header in the grid.void
ComponentOneGrid.selectColumn
(String columnHeader) Selects (clicks) the specified column header in the grid.void
DataGrid.selectColumn
(int column) Selects (clicks) the specified column header in this grid.void
DataGridView.selectColumn
(int column) Selects (clicks) the specified column header in this grid.void
DataGridView.selectColumn
(String columnHeader) Clicks the specified column header in this grid.void
UltraWinGrid.selectColumn
(int bandLevel, String columnHeader) Clicks the specified row header in this grid.void
XtraGrid.selectColumn
(int column) Clicks the specified column header in this grid.void
XtraGrid.selectColumn
(String columnHeader) Clicks the specified column header in this grid.void
PropertyGrid.selectProperty
(String propertyPath) Selects the specified property in the property grid control.void
ListBase.selectRange
(int itemIndexLast) Selects all list items between the currently selected item and the specified item.void
ListBase.selectRange
(int indexFrom, int indexTo) Selects all list items between (and including) the two specified items.void
ListBase.selectRange
(String itemNameLast) Selects all list items between the currently selected item and the specified item.void
ListBase.selectRange
(String itemFrom, String itemTo) Selects all list items between (and including) the two specified items.void
ListBase.selectRange
(T itemLast) Selects all list items between the currently selected item and the specified item.void
ListBase.selectRange
(T itemFrom, T itemTo) Selects all list items between (and including) the two specified items.void
Table.selectRow
(int row) Selects (clicks) the specified row header in this grid.void
Clicks the specified row header in this grid.void
Types the data into the cell one character at a time.void
RadioButton.set()
Selects this radio button.void
Editor.setCursorPosition
(int line, int charPos) Places the cursor at the specified point in the multi-line editor.void
Applies the specified filter string to the specified column.void
Applies the specified filter string to the specified column.void
Applies the filter to the specified column.void
Applies the specified filter string to the specified column.void
Applies the specified filter string to the specified column.void
ListViewItem.setItemState
(int index) Sets the state of the check box icon of the specified item in this list.void
TreeViewNode.setNodeState
(int index) Sets the state of the check box icon of the specified node in the tree-view control.void
ScrollBar.setPosition
(int position) Sets the scroll bar position.<T> void
PropertyGrid.setPropertyValue
(String propertyPath, T newPropertyValue) Sets the value of the specified property in the property grid control.
Applicable only to a simple value.void
Sets the encoded value of this edit box.void
CheckBox.setState
(CheckedState state) Sets the status of this check box.void
Sets the text string in this edit field.void
SpinBox.setValue
(int value) Sets the spin box object value.void
Sets the cell to a new value.void
Expands the parent rows of the specified view and makes it the current view.
A SetView statement without parameters must be used before the first operation on an XtraGrid table.void
ToolBar.showDropdown
(int index) Opens the dropdown menu associated with this toolbar button.void
ToolBar.showDropdown
(String itemPath) Opens the dropdown menu associated with this menu item or toolbar item.void
DataGrid.showParentRow()
Displays the parent row when the child grid is displayed.void
ComponentOneGrid.sort
(int column) Sorts this table by the specified column (ascending).void
Sorts this table by the specified column (ascending).void
Sorts the table by the specified column, ascending.void
XtraGrid.sort
(int column) Sorts this table by the specified column, ascending.void
Sorts this table by the specified column, ascending.void
ComponentOneGrid.sortDescending
(int column) Sorts this table by the specified column (descending).void
ComponentOneGrid.sortDescending
(String columnHeader) Sorts this table by the specified column (descending).void
UltraWinGrid.sortDescending
(int bandLevel, String columnHeader) Sorts the table by the specified column, descending.void
XtraGrid.sortDescending
(int column) Sorts this table by the specified column, descending.void
XtraGrid.sortDescending
(String columnHeader) Sorts this table by the specified column, descending.void
XtraGrid.ungroupRows
(int column) Ungroups table rows according to the specified columnvoid
XtraGrid.ungroupRows
(String columnHeader) Ungroups table rows according to the specified columnvoid
SpinBox.up()
Sets this spin box object to the next higher value. -
Uses of GeneralLeanFtException in com.hp.lft.sdk.wpf
Methods in com.hp.lft.sdk.wpf that throw GeneralLeanFtExceptionModifier and TypeMethodDescriptionvoid
Window.activate()
Activates the window.void
Window.activate
(MouseButton button) Activates the window using the specified mouse button.void
Table.activateCell
(int row, int column) Double-clicks the specified cell in this grid.void
Table.activateCell
(int row, String columnHeader) Double-clicks the specified cell in this grid.boolean
UiObjectBase.canFocus()
Indicates whether this object can receive focus.boolean
List.canSelectMultiple()
Indicates whether this list allows more than one child element to be selected at the same time.void
Window.close()
Closes this window.void
TreeViewNode.collapse()
Hides this node's sub-nodes in the expanded tree-view control.void
List.deselect
(int... itemIndices) Deselects items from the list.void
Deselects items from the list.void
TreeViewNode.expand()
Displays this node's hidden sub-nodes in the tree-view control.void
TreeViewNode.expandAll()
Expands this node and all of the nodes below it in the tree-view control.void
List.extendSelect
(int... itemIndices) Selects additional items from the multi-selection list.void
List.extendSelect
(String... items) Selects additional items from the multi-selection list.void
Table.extendSelect
(int row) Selects an additional item from the multi-selection grid.
The entire row you specify is selected (in addition to any currently selected rows and cells).void
Table.extendSelect
(int row, int column) Adds the specified cell to the collection of selected items in this multi-selection grid.void
Table.extendSelect
(int row, String columnHeader) Adds the specified cell to the collection of selected items in this multi-selection grid.UiObjectBase.getAttachedText()
Returns the static text that is attached to this object.Returns a cell specified by row index and column header.TableRow.getCells()
Returns the cells in this row.TableCell.getColumnName()
Returns the column header name of the cell.Calendar.getDate()
Returns the date associated with this calendar.Calendar.getDateFormatType()
Returns the date format type.Calendar.getDateRanges()
Returns the selected date ranges of this Month Calendar control in multi-selection mode.TreeViewNode.getFirstChildPath()
Returns the full path of this node's first child node as a semicolon delimited string.UiObjectBase.getFullNamePath()
Returns the full hierarchy of this object with all parent objects.UiObjectBase.getFullType()
Returns the full type name of this object.int
TableCell.getHeight()
Returns the height of the cell in pixels.Button.getHelpText()
Returns help text associated with this button.Calendar.getHelpText()
Returns the help text associated with this object.CheckBox.getHelpText()
Returns the help text associated with this object.ComboBox.getHelpText()
Returns the help text associated with this object.List.getHelpText()
Returns the help text associated with this object.int
ToolBarItem.getIndex()
Returns the 1-based index number of this toolbar item.Returns the item at the specified path in the menu.ComboBox.getItems()
Returns the names of the items in the combo box.List.getItems()
Returns the list of items in the list object.ToolBar.getItems()
Returns the toolbar items in this toolbar.int
ProgressBar.getMaximum()
Returns the maximum value of this progress bar.double
ScrollBar.getMaximum()
Returns the maximum position of this scroll bar.double
Slider.getMaximum()
Returns the maximum position of the slider.int
ProgressBar.getMinimum()
Returns the minimum value of this progress bar.double
ScrollBar.getMinimum()
Returns the minimum position of this scroll bar.double
Slider.getMinimum()
Returns the minimum position of the slider.Button.getName()
Returns the name of this object.ComboBox.getName()
Returns the name of the object.EditField.getName()
Returns the name of the object.Image.getName()
Returns the name of this object.Link.getName()
Returns the name of this object.List.getName()
Returns the name of this object.RadioButton.getName()
Returns the name of this object.Slider.getName()
Returns the name of this object.Table.getName()
Returns the name of this object.TabStrip.getName()
Returns the name of this object.ToolBar.getName()
Returns the name of this object.ToolBarItem.getName()
Returns the name of this toolbar item.TreeView.getName()
Returns the name of this object.UiObject.getName()
Returns the name of this object.TreeViewNode.getNextSiblingPath()
Returns the full path of this node's next sibling node as a semicolon delimited string.UiObjectBase.getObjectName()
Returns the name of this instance.
For example, formyFoo = new fooBar
, the ObjectName is myFoo.<TValue> TValue
UiObjectBase.getObjectProperty
(String propname, Class<TValue> returnType) Returns the value of a test object property.TreeViewNode.getParentPath()
Returns the full path of this node's parent node as a semicolon delimited string.Button.getParentText()
Returns text associated with the parent object of this object.Calendar.getParentText()
Returns the text associated with the parent object of this object.CheckBox.getParentText()
Returns the text associated with the parent object of this object.ComboBox.getParentText()
Returns the text associated with the parent object of this object.EditField.getParentText()
Returns the text associated with the parent object of this object.Image.getParentText()
Returns the text associated with the parent object of this object.Link.getParentText()
Returns the text associated with the parent object of this object.List.getParentText()
Returns the text associated with the parent object of this object.TreeView.getParentText()
Returns the text associated with the parent object of this object.UiObject.getParentText()
Returns the text associated with the parent object of this object.Window.getParentText()
Returns the text associated with the parent object of this object.TreeViewNode.getPath()
Returns the full path of this node as a semicolon delimited string.double
Slider.getPosition()
Returns the current position of the slider.Table.getRows()
Returns table rows.ComboBox.getSelectedItem()
Returns the item that is selected in the combo box.List.getSelectedItems()
Returns the list of items that are selected in the list object.TreeView.getSelectedNodes()
Returns the selected nodes in this tree-view object.TabStrip.getSelectedTab()
Returns the selected tab.CheckBox.getState()
Returns the check box status.ToggleButton.getState()
Returns the toggle button status.int
TreeViewNode.getState()
Returns the state image index of this node.TabStrip.getTabs()
Returns the tabs in this tab object.TreeViewNode.getText()
Returns the text of this node, or an empty string ("") if the node does not contain any text.UiObjectBase.getText()
Returns the text associated with this object.ToolBarItem.getType()
Returns the control type of the toolbar item.int
ProgressBar.getValue()
Returns the current value value of this progress bar.double
ScrollBar.getValue()
Returns the current position of this scroll bar.TableCell.getValue()
Returns the content of the cell.TreeView.getVisibleNodes()
Returns the visible nodes in this tree-view object.int
TableCell.getWidth()
Returns the width of the cell in pixels.Window.getWindowState()
Returns the window state: maximized, minimized or normal.int
TableCell.getX()
Returns the X-coordinate in pixels of the cell relative to the table.int
TableCell.getY()
Returns the Y-coordinate in pixels of the cell relative to the table.boolean
TreeViewNode.hasChildren()
Indicates whether this node has children.boolean
ToolBarItem.hasEllipses()
Indicates whether this toolbar item's text is truncated and an ellipsis (...) is displayed.boolean
CheckBox.isChecked()
Indicates whether this check box is checked.boolean
RadioButton.isChecked()
Indicates whether the radio button is checked.boolean
ToggleButton.isChecked()
Indicates whether the toggle button is checked.boolean
ToolBarItem.isChecked()
Indicates whether this toggle button is set.boolean
ToolBarItem.isEnabled()
Indicates whether this toolbar item can accept user input.boolean
TreeViewNode.isExpanded()
Indicates whether this node is expanded.boolean
ToolBarItem.isHot()
Indicates whether this toolbar item appears highlighted, as when the mouse hovers over it.boolean
ToolBar.isItemOverflow
(int itemIndex) Indicates whether the item resides in the overflow area of this toolbar.boolean
ToolBar.isItemOverflow
(String itemPath) Indicates whether the item resides in the overflow area of this toolbar.boolean
Window.isModal()
Indicates whether the window is modal.boolean
EditField.isReadOnly()
Indicates whether the text editing object is read-only to a user interacting with the object.boolean
TreeViewNode.isSelected()
Indicates whether this node is selected.boolean
CheckBox.isThreeState()
Indicates whether this CheckBox is able to display three check states.boolean
ToggleButton.isThreeState()
Indicates whether the toggle button is able to display three check states.void
UiObjectBase.makeVisible()
Scrolls this object into view in the parent window.void
Window.maximize()
Maximizes this window.void
Window.minimize()
Minimizes this window to an icon.void
Window.move
(int x, int y) Moves this window to the specified absolute location on the screen.void
Moves this window to the specified absolute location on the screen.void
Window.resize
(int width, int height) Resizes this window to the specified dimensions.void
Resizes this window to the specified dimensions.void
Window.restore()
Restores this window to its previous size.void
ComboBox.select
(int index) Selects an item from the combo box.void
Selects an item from the combo box.void
EditField.select
(int fromCharPos, int toCharPos) Selects the specified text in the edit field.void
EditField.select
(int fromLine, int fromCharPos, int toLine, int toCharPos) Selects the specified content in the edit field.void
List.select
(int... itemIndices) Selects multiple items by indices.void
Selects multiple items by string values.void
Selects the specified item in the menu.
You can useMenu.getItem(String)
to get the item to use as the item argument.void
Selects the item at the specified path in the menu.
You can useMenu.buildMenuPath(Object...)
to build the itemPath argument.void
TabStrip.select
(int index) Selects the specified tab item.void
Selects the specified tab item.void
TreeView.select
(int nodeIndex) Selects a node in this tree-view object by node index.void
TreeView.select
(TreeViewNode node) Selects a node in this tree-view object.void
Selects a node in this tree-view object by node path.void
Table.selectCell
(int row, int column) Clicks the specified cell in this grid.void
Table.selectCell
(int row, String columnHeader) Clicks the specified cell in this grid.void
Table.selectColumn
(int column) Selects (clicks) the specified column header in the grid.void
Table.selectColumn
(String columnHeader) Clicks the specified column header in this grid.void
List.selectRange
(int indexFrom, int indexTo) Selects list items between (and including) the two specified items.void
List.selectRange
(String itemNameFrom, String itemNameTo) Selects list items between (and including) the two specified items.void
Table.selectRow
(int row) clicks the specified row in this grid.void
CheckBox.set
(CheckedState state) Sets the status of the check box.void
RadioButton.set()
Selects the radio button.void
ToggleButton.set
(CheckedState state) Sets the status of the toggle button.void
Sets the date of this calendar.void
Calendar.setDateRange
(DateRange dateRange) Sets the date range of this calendar or the date of this date picker.void
Calendar.setDateRange
(Date startDate, Date endDate) Sets the date range of this calendar or the date of this date picker.void
Calendar.setDateRanges
(DateRange... dateRanges) Sets the date ranges of this calendar or the dates of this date picker.void
Calendar.setMonth
(int month) Sets the month in this calendar.void
ScrollBar.setPosition
(double position) Sets the scroll bar position.void
Slider.setPosition
(double position) Sets the slider position.void
Sets the encoded value of this edit box.void
Sets the text associated with this object.void
Sets the cell to a new value.void
Calendar.setYear
(int year) Sets the year in this calendar.void
UiObjectBase.showContextMenu()
Displays this object's context menu.void
ToolBar.showOverflow()
Displays the overflow area of this toolbar.
Keyboard.keyDown(Keys)
instead.