Reference > Top

Extended General Interface action commands
Command/Locator  Usage  Description 
setInterval
| setInterval | time in milliseconds | |
Action - set the run time command interval, which is the time TestRunner will pause between each action or assertion command. Default is 0ms. Once the time is set, it will be used until it is changed again to a new interval. This value is stored in the TestRunner control panel, so it is a global value.
setJsxNamespace
| setJsxNamespace | namespace | |
Action - set the GI application namespace to use in locating GI object using GI extended locators.
actionJsxMaskCell
| actionJsxMaskCell | JsxMatrixCell[Id/Index] | value |
Action - do the applicable action depending on the cell mask with given value. For exmple, type value in textbox, pick date in datepicker, etc.
chooseJsxCancelConfirmPrompt
| chooseJsxCancelConfirmPrompt | confirm caption or message text | value |
Action - choose cancel on next confirm or prompt dialog.
checkJsx
| checkJsx | JsxRadioText/JsxRadioValue/JsxCheckBox locator | |
Action - Check a RadioButton or CheckBox control.
uncheckJsx
| checkJsx | JsxRadioText/JsxRadioValue/JsxCheckBox locator | |
Action - Uncheck a RadioButton or CheckBox control.
partialCheckJsx
| partialCheckJsx | JsxCheckBox locator | |
Action - set state of a CheckBox control to jsx3.gui.CheckBox.PARTIAL
toggleJsxCheck
| toggleJsxCheck | JsxRadioText/JsxRadioValue/JsxCheckBox locator | |
Action - Toggle the state of a CheckBox or RadioButton control.
clickJsxDateIcon
| clickJsxDateIcon | jsxname | |
Action - click on DatePicker icon element.
clickJsxDateNextMonth
| clickJsxDateNextMonth | jsxname | |
Action - click on DatePicker pop up calendar's next month [>] arrow icon. This also set the date with next month value
clickJsxDatePrevMonth
| clickJsxDatePrevMonth | jsxname | |
Action - click on DatePicker pop up calendar's previous month [<] arrow icon. This also set the date with previous month value
clickJsxDateNextYear
| clickJsxDateNextYear | jsxname | |
Action - click on DatePicker pop up calendar's next year [>] arrow icon. This also set the date with next year value
clickJsxDatePrevYear
| clickJsxDatePrevYear | jsxname | |
Action - click on DatePicker pop up calendar's previous year [>] arrow icon. This also set the date with previous year value
clickJsxDialogButton
| clickJsxDialogButton | Dialog caption text/jsxname | Button jsxname/text|
Action - click the button of given jsxname/text on Dialog of given jsxname/text. Default buttons' jsxname are : "min button", "max button", and "close button".
clickJsxElement
| clickJsxElement | Jsx element locator | |
Action - click on a jsx element. This is needed in some cases where the more generic "click" command can fail.
NOTE: If generic "click" command fails then use this command and if this command fails then use control specific extension (like "clickJsxMenu") command.
clickJsxGridDelete
| clickJsxGridDelete | JsxGridCell=jsxname.record_jsxid.cell_index | |
Action - click on a grid delete column cell. Cell identified by grid jsxname, record jsxid, and cell index. NOTE You must use this action to click on a delete column cell. 
clickJsxListHeader
| clickJsxListHeader | JsxListHeaderIndex=jsxname,columnIndex |
Action - click on a list column's header cell with given List jsxname and column index
clickJsxMatrixHeader
| clickJsxMatrixTreeToggle | JsxMatrixHeaderIndex=jsxname,columnIndex | |
Action - click on the matrix column's header with given matrix jsxname and column index.  
clickJsxMatrixTreeToggle
| clickJsxMatrixTreeToggle | JsxMatrixTreeItem[Id/Text] | |
Action - click on the matrix tree toogle with given JsxMatrixTreeItemId=jsxname,jsxid or JsxMatrixTreeItemText locator.  
clickJsxMatrixTreeItem
| clickJsxMatrixTreeItem | JsxMatrixTreeItem[Id/Text] | |
Action - click on a matrix tree item (icon) with given JsxMatrixTreeItemId or JsxMatrixTreeItemText locator.  
clickJsxMenu
| clickJsxMenu | JsxMenu[Text/Name] | JsxMenuItem[Id/Index/Text] |
Action - click on a menu located with given menu locator (by label text or by jsxname).
The second parameter is optional. When the second parameter is present the specified menu item will also be choosen. Otherwise, the menu window should remain open until next mouse action.
clickJsxMenuItem
| clickJsxMenuItem | JsxMenuItem[Id/Index/Text]=jsxname,[jsxid/index/text] | |
Action - click on a menu item with given menu jsxname and menu item jsxid, index or text.
clickJsxSelect
| clickJsxSelect | JsxSelectName=jsxname | JsxSelecItem[Id/Index/Text] |
Action - click on jsx3.gui.Select with given jsxname.
The second parameter is optional. When the second parameter is present the specified select option item will also be choosen. Otherwise, the select options window should remain open until next mouse action.
clickJsxSelectItem
| clickJsxSelectItem | JsxSelectItem[Id/Index/Text]=jsxname,[jsxid/index/text] | |
Action - click on a select option item with given select control's jsxname and option item jsxid, index or text.
clickJsxStack
| doClickJsxStack | JsxStackName=jsxname / JsxStackText=label text | |
Action - click on jsx3.gui.Stack with given label text or jsxname.  
clickJsxToolbarButton
| clickJsxToolbarButton | toolbar button jsxname | |
Action - click on a tool bar button with given jsxname.  
clickJsxTreeToggle
| clickJsxTreeToggle | JsxTreeItemId/JsxTreeItemText | |
Action - click on a tree toogle image with given JsxTreeItem locator (by id or text)
clickJsxTreeItem
| clickJsxTreeItem | JsxTreeItemId/JsxTreeItemText | |
Action - click on a tree item with given JsxTreeItem locator (by id or text)
doubleClickJsxElement
| doubleClickJsxElement | Jsx element locator | |
Action - double click on a jsx element.
doubleClickJsxTreeItem
| doubleClickJsxTreeItem | JsxTreeItemId=jsname,jsxid | |
Action - double click a tree item with given tree jsxname and record jsxid. NOTE: You must use this action command for tree item. The generic doubleClickJsxElement does not work on Tree Item.
dragJsxDialogResize
| dragJsxDialogResize | Dialog Locator | X,Y
Action - Drag to resize a Dialog Object a X,Y offset.
dragJsxDialogTo
| dragJsxDialogTo | Dialog Locator | X,Y
Action - Drag a Dialog Object a X,Y offset position. Note, Drag of dialog box is applied to the contained captionbar. So you cannot use the generic dragJsxTo action.
dragJsxTo
| dragJsxTo | Jsx Locator | X,Y
Action - Drag a JSX Object a X,Y offset position .
dragJsxToJsx
| dragJsxTo | JsxLocator | JsxLocator2
Action - Drag a JSX Object to JSX Object 2 (using any locator). Try selenium "dragAndDrop" command if this does not work.
fireRightMouse
| fireRightMouse | Any locator | mouse event |
Action - Fire a right mouse button event, like mouseup, mousedown, mouseover
fireLeftMouse
| fireLeftMouse | Any locator | mouse event |
Action - Fire a left mouse button event, like mouseup, mousedown, mouseover
jsxMouseDown
| jsxMouseDown | Any locator | |
Action - Fire a left mouse button mousedown event
jsxMouseOver
| jsxMouseOver | Any locator | 
Action - Fire a left mouse button mouseover event
jsxMouseUp
| jsxMouseUp | Any locator | 
Action - Fire a left mouse button mouseup event
moveJsxSliderPercent
| moveJsxSliderPercent | JsxSliderName=jsxname | percent value
Action - move a slider handle to a position corresponding to the percent value (0-100).
moveJsxSliderRelative
 | moveJsxSliderRelative | JsxSliderName=jsxname | +/- pixel value
Action - move a slider handle to a position relative to current position. Value is in pixel unit.
pickJsxDate
|pickJsxDate | datepicker jsxname | date value |
Action - pick a date using DatePicker control. Date value must be javascript parseable string.  
pickJsxTime
|pickJsxTime | timepicker jsxname | hh:mm:ss.ms |
Action - pick a time using TimePicker control. Hour format can be a simple "hh:mm:ss.ms" string
rightClickJsxListRow
|rightClickJsxListRow | list/grid jsxname,jsxid | |
Action - right click on a list/grid row with given list/grid jsxname and row record jsxid. 
rightClickJsxElement
|rightClickJsxElement | list/grid jsxname,jsxid | |
Action - right click on a list/grid row with given list/grid jsxname and row record jsxid. 
rightClickJsxTreeItem
|rightClickJsxTreeItem | JsxTreeItem[Id/Text] | |
Action - right click on a tree item. 
resizeJsxLayout
|doResizeJsxLayout | jsxname  | x,y |
Action - resize jsx3.gui.LayoutGrid to the given size array
spyJsxElement
| spyJsxElement | Jsx locator |  |
Action - do a mouseover to trigger spyglass over JSX element. Note: does not work on IE.
typeJsxTextbox
| typeJsxTextbox | JsxTextboxName=jsxname | value |
Action - Type value into textbox with given jsxname
typeJsxGridCell
| typeJsxGridCell | JsxGridCell=grid_jsxname.record_jsxid.cell_index | value |
Action - enter the given value to the grid cell with given grid jsxname, row with jsxid, and cell idex number
recordStartTime
| recordStartTime | indexKey | |
Action - Store a start time for profiling
recordEndTime
| recordEndTime | indexKey | |
Action - Store a end time for profiling
showElpaseTime
| showElapseTime | indexKey | |
Action - Display the elapse time of given timer key
include
| include | test_file.html | |
Action - include another test file (selenese test case table) to the current test case.
unsubscribeJsxResize
| unsubscribeJsxResize | | |
Action - a shortcut command used to workaround IE bug that generate resize event when element are inserted dynamically into the DOM, but no actual resize ever took place.
Since Heavyweight object such as menu/select and datepicker windows now subscribes to this event and collapse the Heavyweight window on resize, this bug causes serious issue for test that use multi-command selection of menu/select item or date calendar navigation.

Reference > Top

For information about Selenium commands and locators, see Selenium Reference.