| Extended General Interface assertion commands | ||
| Command/Locator | Usage | Description |
| assertAllImagesComplete |
| [assert/verify/waitFor]AllImagesComplete | | | |
assert all images loaded and complete. NOTE: this command takes no parameters (column 2 and 3 are ignored). |
| assertImageComplete |
| [assert/verify/waitFor]ImageComplete | img element id or src path | | |
assert specified img element is loaded and complete. |
| assertJsxAlertOK |
| assertJsxAlertOK | alert caption or message text | | |
assert alert box containing specified caption text or message text and dismiss with ok. |
| assertJsxConfirmOK |
| assertJsxConfirmOK | alert caption or message text | | |
assert confirm box containing specified caption text or message text and dismiss with ok. |
| assertJsxPromptOK |
| assertJsxPromptOK | prompt caption or message text | text message | |
assert prompt box containing specified caption text or message text, enter provided value and dismiss with ok |
| assertJsxButtonPresent |
| [assert/verify/waitFor]JsxButtonPresent | Button jsxtext/jsxname | | |
assert if the button with given label text exist. NOTE: this is a convenience function for buttons. You can also use generic assertElementPresent and a JsxFoo locator. |
| assertJsxMenuWindowPresent |
| [assert/verify/waitFor]JsxSelectWindowPresent | Heavyweight Window Id | | |
assert specified menu drop down window is present. Heavyweight window Id is the cascaded menu level. |
| assertJsxSelectWindowPresent |
| [assert/verify/waitFor]JsxMenuWindowPresent | | | |
assert specified select/combo drop down window is present. |
| assertJsxPresent |
| [assert/verify/waitFor]JsxPresent | jsxname/locator | | |
assert that object of given jsxname (or any JSX locator) is present.
For example | waitForJsxPresent | JsxDialogCaption=*Success* | | or | assertJsxPresent | dlgSuccess | | |
| assertJsxValueEqual |
| [assert/verify/waitFor]JsxValueEqual | jsxname | expected value | |
assert that object of given jsxname has value equal to expected value |
| assertJsxTextEqual |
| [assert/verify/waitFor]JsxTextEqual | jsxname | expected text | |
assert that object of jsxname has text equal to given expected text |
For information about Selenium commands and locators, see Selenium Reference.