Package com.hp.lft.sdk.sap.nwbc
Interface ShellWindow
- All Superinterfaces:
Clickable,DoubleClickable,EnabledProvider,LocationInfoProvider,SupportDragAndDrop,SupportSendKeys,SupportsNativeObject,TestObject,TestObjectDescriber,TopLevelObject,UiObjectBase,VisibleProvider,WaitUntilEnabledProvider,WaitUntilVisibleProvider
A shell window in a SAP NetWeaver Business Client application.
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()Activates the window.voidactivate(MouseButton button) Activates the window using the specified mouse button.voidclose()Closes this window.voidclosePage(int index) Closes a tab page.voidCloses a tab page.Returns the window state: maximized, minimized or normal.booleanisModal()Indicates whether the window is modal.voidmaximize()Maximizes this window.voidminimize()Minimizes this window to an icon.voidmove(int x, int y) Moves this window to the specified absolute location on the screen.voidMoves this window to the specified absolute location on the screen.voidresize(int width, int height) Resizes this window to the specified dimensions.voidResizes this window to the specified dimensions.voidrestore()Restores this window to its previous size.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClickMethods 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.SupportDragAndDrop
dragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportSendKeys
sendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObjectMethods 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.sap.nwbc.UiObjectBase
getSupportedPatterns, makeVisible, mouseMove, showContextMenu, typeMethods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
-
Method Details
-
closePage
Closes a tab page.- Parameters:
name- the name of the tab page to close.- Throws:
GeneralLeanFtException- if error occurs during execution
-
closePage
Closes a tab page.- Parameters:
index- the index of the page to close, starting from 1.- Throws:
GeneralLeanFtException- if error occurs during execution
-
activate
Activates the window.- Throws:
GeneralLeanFtException- if error occurs during execution
-
activate
Activates the window using the specified mouse button.- Parameters:
button- the mouse button used to click the window.- Throws:
GeneralLeanFtException- if error occurs during execution
-
close
Closes this window.- Throws:
GeneralLeanFtException- if error occurs during execution
-
maximize
Maximizes this window.- Throws:
GeneralLeanFtException- if error occurs during execution
-
minimize
Minimizes this window to an icon.- Throws:
GeneralLeanFtException- if error occurs during execution
-
move
Moves this window to the specified absolute location on the screen.- Parameters:
point- absolute pixel location on the screen- Throws:
GeneralLeanFtException- if error occurs during execution
-
move
Moves this window to the specified absolute location on the screen.- Parameters:
x- in pixelsy- in pixels- Throws:
GeneralLeanFtException- if error occurs during execution
-
resize
Resizes this window to the specified dimensions.- Parameters:
size- the new dimensions- Throws:
GeneralLeanFtException- if error occurs during execution
-
resize
Resizes this window to the specified dimensions.- Parameters:
width- in pixelsheight- in pixels- Throws:
GeneralLeanFtException- if error occurs during execution
-
restore
Restores this window to its previous size.- Throws:
GeneralLeanFtException- if error occurs during execution
-
getWindowState
Returns the window state: maximized, minimized or normal.- Returns:
- the window state
- Throws:
GeneralLeanFtException- if error occurs during execution
-
isModal
Indicates whether the window is modal.- Returns:
- true, if the window is modal.
- Throws:
GeneralLeanFtException- if error occurs during execution
-