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 TypeMethodDescriptionvoidactivate()Activates the form.buildMenuPath(String... menuPathParts) Returns the path constructed from the path parts.voidCloses the form using the Exit softkeyvoidCloses the form using the X button in the form window title bar.Returns the item at the specified path.getTitle()Returns the window title.voidpressToolbarButton(String buttonName) Presses a toolbar button.voidsave()Performs a Save operation using the Commit softkey.voidselectMenuItem(MenuItem item) Selects a menu option.voidselectMenuItem(String itemPath) Selects a menu option.Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSizeMethods 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
-