Package com.hp.lft.sdk.oracle
Interface Notification
- All Superinterfaces:
Clickable
,EnabledProvider
,LocationInfoProvider
,TestObject
,TestObjectDescriber
,TopLevelObject
,UiObjectBase
,WaitUntilEnabledProvider
An Oracle error or message window.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
approve()
Clicks the Yes or OK button.void
cancel()
Clicks the Cancel button.void
clickButton
(String name) Clicks the specified button.void
decline()
Clicks the No button.The Oracle class hierarchy of the object's Oracle class.Returns the text of the displayed message.getTitle()
Returns the window title.getType()
Returns the type of notification.void
Clicks the default button in the window.Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.TestObject
callFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
Methods inherited from interface com.hp.lft.sdk.oracle.UiObjectBase
getObjectType, selectFromPopupMenu, selectFromPopupMenu, sendKey
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
-
Method Details
-
getMessage
Returns the text of the displayed message.- Returns:
- the text of the displayed message.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getTitle
Returns the window title.- Returns:
- the window title.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getClassPath
The Oracle class hierarchy of the object's Oracle class.- Returns:
- the class hierarchy of the object's.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getType
Returns the type of notification. Possible values:NotificationType
- Returns:
- the type of notification. Possible values:
NotificationType
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
approve
Clicks the Yes or OK button.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
cancel
Clicks the Cancel button.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
decline
Clicks the No button.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
selectDefaultButton
Clicks the default button in the window.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
clickButton
Clicks the specified button.- Parameters:
name
- The button name.- Throws:
GeneralLeanFtException
- if error occurs during execution
-