|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WinMenu
WinMenu element can be created using createWinMenu API of IScriptEngine interface. The return value is an instance of WinMenu interface. Once WinMenu is created, you can play events on it. WinMenu supports events mentioned below.
WinObject
Field Summary |
---|
Fields inherited from interface com.appperfect.devcommon.script.windowelement.WinObject |
---|
micLineNext, micLinePrev, micPageNext, micPagePrev, micScrollEnd, micScrollStart, micSetPos |
Method Summary | |
---|---|
boolean |
selectItem(java.lang.String menuPath,
boolean isContextMenu,
boolean selectByCommand)
To select the specified menuitem |
Methods inherited from interface com.appperfect.devcommon.script.windowelement.WinObject |
---|
accDoDefaultAction, activate, addAttribute, captureImage, click, close, dblClick, deSelect, deSelectItem, drag, dragDrop, drop, extendSelect, extendSelectItem, get_accChildCount, get_accDescription, get_accHeight, get_accHelp, get_accKeyboardShortcut, get_accLocationLeft, get_accLocationTop, get_accName, get_accRole, get_accState, get_accValue, get_accWidth, getItem, getItems, getItemsCount, getSelectedItem, getSelectedItems, getText, hScroll, maximize, minimize, mouseMove, restore, rightClick, select, selectItem, selectRange, selectRangeItem, setBreakPoint, setIgnored, setImagePath, setRecordedWhileShowingSSLCertificate, setThinkTime, setTitle, type, vScroll, wait |
Methods inherited from interface com.appperfect.devcommon.script.IScript |
---|
getReasonForFailure, isIgnored, isTaskSuccessful, isTaskTimedOut, setReasonForFailure, setTaskSuccessful, setTaskTimedout, setTimeout |
Method Detail |
---|
boolean selectItem(java.lang.String menuPath, boolean isContextMenu, boolean selectByCommand)
menuPath
- specifies the complete path of the menu item, separate each
item with a semicolon (;)isContextMenu
- is true if its a context menu, false otherwiseselectByCommand
- is true if item should be selected using command identifier,
false otherwise
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |