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 TypeMethodDescriptionvoidapprove()Clicks the Yes or OK button.voidcancel()Clicks the Cancel button.voidclickButton(String name) Clicks the specified button.voiddecline()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.voidClicks the default button in the window.Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSizeMethods 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, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describeMethods inherited from interface com.hp.lft.sdk.oracle.UiObjectBase
getObjectType, selectFromPopupMenu, selectFromPopupMenu, sendKeyMethods 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
-