Package com.hp.lft.sdk.oracle
Interface UiObjectBase
- All Superinterfaces:
Clickable
,LocationInfoProvider
- All Known Subinterfaces:
ApplicationSession
,Button
,Calendar
,CheckBox
,EditField
,FlexFieldWindow
,FormWindow
,List
,ListOfValues
,LogonWindow
,NavigatorWindow
,Notification
,PickList
,RadioGroup
,StatusBar
,Tab
,Table
,TreeView
,UiFormBase
Base interface of all Oracle test objects.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the general object type.void
selectFromPopupMenu
(String path) Opens the context menu and selects the specified menu option.void
selectFromPopupMenu
(String... menuPathParts) Opens the context menu and selects the specified menu option.void
Invokes the specified Oracle softkey.Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
-
Method Details
-
getObjectType
Returns the general object type.- Returns:
- the general object type.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
sendKey
Invokes the specified Oracle softkey.- Parameters:
key
- The softkey function to perform. UseSoftKeys
class.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
selectFromPopupMenu
Opens the context menu and selects the specified menu option.- Parameters:
path
- The path of the menu to open. The path should be a single String of menu item names separated by->
.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
selectFromPopupMenu
Opens the context menu and selects the specified menu option.- Parameters:
menuPathParts
- The parts that make up the path of the context menu item to select. Each part can be a name of a menu item or a full path of items separated by->
.- Throws:
GeneralLeanFtException
- if error occurs during execution
-