Package com.hp.lft.sdk.oracle
Interface UiFormBase
- All Superinterfaces:
Clickable
,LocationInfoProvider
,UiObjectBase
- All Known Subinterfaces:
FormWindow
Base interface of all Oracle windows test objects.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
Activates the form.buildMenuPath
(String... menuPathParts) Returns the path constructed from the path parts.void
Closes the form using the Exit softkeyvoid
Closes the form using the X button in the form window title bar.Returns the item at the specified path.getTitle()
Returns the window title.void
pressToolbarButton
(String buttonName) Presses a toolbar button.void
save()
Performs a Save operation using the Commit softkey.void
selectMenuItem
(MenuItem item) Selects a menu option.void
selectMenuItem
(String itemPath) Selects a menu option.Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.oracle.UiObjectBase
getObjectType, selectFromPopupMenu, selectFromPopupMenu, sendKey
-
Method Details
-
getTitle
Returns the window title.- Returns:
- the general object type.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
activate
Activates the form.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
closeForm
Closes the form using the Exit softkey- Throws:
GeneralLeanFtException
- if error occurs during execution
-
closeWindow
Closes the form using the X button in the form window title bar.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
pressToolbarButton
Presses a toolbar button.- Parameters:
buttonName
- The button name.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
save
Performs a Save operation using the Commit softkey.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
buildMenuPath
Returns the path constructed from the path parts.- Parameters:
menuPathParts
- the menu path parts can be: full path(string). For a full path, separate items by->
string.- Returns:
- the path constructed from the path parts.
-
selectMenuItem
Selects a menu option. You can usegetItem(String)
to get the item to use as the item argument.- Parameters:
item
- item to select- Throws:
GeneralLeanFtException
- if error occurs during execution
-
selectMenuItem
Selects a menu option. You can usebuildMenuPath(String...)
to build the itemPath argument.- Parameters:
itemPath
- the path of the item to select.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getItem
Returns the item at the specified path.- Parameters:
itemPath
- the full path of the menu item to select from the list. The path is composed of the menu item names separated by a->
.- Returns:
- MenuItem representing the menu item.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-