Supported Selenium IDE Commands

Below is a list of the commands we currently support in our TestLab.

Browsing

  • close
  • closeAndWait
  • goBack
  • goBackAndWait
  • open
    (url)
  • openAndWait
    (url)
  • openWindow
    (url - windowID)
  • openWindowAndWait
    (url - windowID)
  • refresh
  • refreshAndWait
  • selectFrame
    (locator)
  • selectFrameAndWait
    (locator)
  • selectWindow
    (windowID)
  • selectWindowAndWait
    (windowID)
  • windowFocus
  • windowFocusAndWait
  • windowMaximize
  • windowMaximizeAndWait

Clicks

  • click
    (locator)
  • clickAndWait
    (locator)
  • clickAt
    (locator - coordString)
  • clickAtAndWait
    (locator - coordString)
  • doubleClick
    (locator)
  • doubleClickAndWait
    (locator)
  • doubleClickAt
    (locator - coordString)
  • doubleClickAtAndWait
    (locator - coordString)
  • dragAndDrop
    (locator - movementsString)
  • dragAndDropAndWait
    (locator - movementsString)
  • dragAndDropToObject
    (locatorOfObjectToBeDragged - locatorOfDragDestinationObject)
  • dragAndDropToObjectAndWait
    (locatorOfObjectToBeDragged - locatorOfDragDestinationObject)

Form Fields

  • addSelection
    (locator - optionLocator)
  • addSelectionAndWait
    (locator - optionLocator)
  • check
    (locator)
  • checkAndWait
    (locator)
  • focus
    (locator)
  • focusAndWait
    (locator)
  • removeAllSelections
    (locator)
  • removeAllSelectionsAndWait
    (locator)
  • removeSelection
    (locator - optionLocator)
  • removeSelectionAndWait
    (locator - optionLocator)
  • select
    (selectLocator - optionLocator)
  • selectAndWait
    (selectLocator - optionLocator)
  • setCursorPosition
    (locator - position)
  • setCursorPositionAndWait
    (locator - position)
  • submit
    (formLocator)
  • submitAndWait
    (formLocator)
  • uncheck
    (locator)
  • uncheckAndWait
    (locator)
  • getSelectedLabels
    (selectLocator)
  • getSelectedLabel
    (selectLocator)
  • getSelectedValues
    (selectLocator)
  • getSelectedValue
    (selectLocator)
  • getSelectedIndexes
    (selectLocator)
  • getSelectedIndex
    (selectLocator)
  • getSelectedIds
    (selectLocator)
  • getSelectedId
    (selectLocator)
  • verifyAllButtons
    (equalTo)
  • verifyAllFields
    (equalTo)
  • verifyChecked
    (locator)
  • isChecked
    (locator)
  • verifyCursorPosition
    (locator - equalTo)
  • verifyEditable
    (locator)
  • verifyNotAllButtons
    (equalTo)
  • verifyNotAllFields
    (equalTo)
  • verifyNotChecked
    (locator)
  • verifyNotCursorPosition
    (locator - equalTo)
  • verifyNotEditable
    (locator)
  • verifyNotSelectedIds
    (selectLocator - equalTo)
  • verifyNotSelectedIndexes
    (selectLocator - equalTo)
  • verifyNotSelectedLabels
    (selectLocator - equalTo)
  • verifyNotSelectedValues
    (selectLocator - equalTo)
  • verifyNotSelectedOptions
    (selectLocator - equalTo)
  • verifyNotSomethingSelected
    (selectLocator)
  • verifyNotValue
    (locator - equalTo)
  • verifySelectedIds
    (selectLocator - equalTo)
  • verifySelectedIndexes
    (selectLocator - equalTo)
  • verifySelectedLabels
    (selectLocator - equalTo)
  • verifySelectedValues
    (selectLocator - equalTo)
  • verifySelectOptions
    (selectLocator - equalTo)
  • verifySomethingSelected
    (selectLocator)
  • isSomethingSelected
    (selectLocator)
  • verifyValue
    (locator - equalTo)
  • assertAllButtons
    (equalTo)
  • assertAllFields
    (equalTo)
  • assertChecked
    (locator)
  • assertCursorPosition
    (locator - equalTo)
  • assertEditable
    (locator)
  • assertNotAllButtons
  • assertNotAllFields
  • assertNotChecked
    (locator)
  • assertNotCursorPosition
    (locator - equalTo)
  • assertNotEditable
    (locator)
  • assertNotSelectedIds
    (selectLocator - equalTo)
  • assertNotSelectedIndexes
    (selectLocator - equalTo)
  • assertNotSelectedLabels
    (selectLocator - equalTo)
  • assertNotSelectedValues
    (selectLocator - equalTo)
  • assertNotSelectOptions
    (selectLocator - equalTo)
  • assertNotSomethingSelected
    (selectLocator)
  • assertNotValue
    (locator - equalTo)
  • assertSelectedIds
    (selectLocator - equalTo)
  • assertSelectedIndexes
    (selectLocator - equalTo)
  • assertSelectedLabels
    (selectLocator - equalTo)
  • assertSelectedValues
    (selectLocator - equalTo)
  • assertSelectOptions
    (selectLocator - equalTo)
  • assertSomethingSelected
    (selectLocator)
  • assertValue
    (locator - equalTo)
  • waitForAllWindowIds
    (equalTo)
  • waitForAllWindowNames
    (equalTo)
  • waitForAllWindowTitles
    (equalTo)
  • waitForAttributeFromAllWindows
    (attributeName - equalTo)
  • waitForLocation
    (equalTo)
  • waitForNotAllWindowIds
    (equalTo)
  • waitForNotAllWindowNames
    (equalTo)
  • waitForNotAllWindowTitles
    (equalTo)
  • waitForNotAttributeFromAllWindows
    (attributeName - equalTo)
  • WaitForNotLocation
    (equalTo)
  • waitForNotTitle
    (equalTo)
  • waitForTitle
    (equalTo)
  • storeAllButtons
  • storeAllFields
  • storeChecked
    (locator - variable)
  • storeCursorPosition
    (locator - variable)
  • storeEditable
    (locator - variable)
  • storeSelectedIds
    (selectLocator - variable)
  • storeSelectedIndexes
    (selectLocator - variable)
  • storeSelectedLabels
    (selectLocator - variable)
  • storeSelectedValues
    (selectLocator - variable)
  • storeSelectOptions
    (selectLocator - variable)
  • storeSomethingSelected
    (selectLocator - variable)
  • storeValue
    (locator - variable)

Keyboard Events

  • keyDown
    (locator - keySequence)
  • keyDownAndWait
    (locator - keySequence)
  • keyPress
    (locator - keySequence)
  • keyPressAndWait
    (locator - keySequence)
  • keyUp
    (locator - keySequence)
  • keyUpAndWait
    (locator - keySequence)
  • type
    (locator - value)
  • typeAndWait
    (locator - value)
  • typeKeys
    (locator - value)
  • sendKeys
    (locator - value)
  • typeKeysAndWait
    (locator - value)

Keyboard Modifiers

  • altKeyDown
  • altKeyDownAndWait
  • altKeyUp
  • altKeyUpAndWait
  • controlKeyDown
  • controlKeyDownAndWait
  • controlKeyUp
  • controlKeyUpAndWait
  • metaKeyDown
  • metaKeyUp
  • metaKeyUpAndWait
  • shiftKeyDown
  • shiftKeyDownAndWait
  • shiftKeyUp
  • shiftKeyUpAndWait

Mouse Events

  • mouseDown
    (locator)
  • mouseDownAndWait
    (locator)
  • mouseDownAt
    (locator - coordString)
  • mouseDownAtAndWait
    (locator - coordString)
  • mouseDownRight
    (locator)
  • mouseDownRightAndWait
    (locator)
  • mouseDownRightAt
    (locator - coordString)
  • mouseDownRightAtAndWait
    (locator - coordString)
  • mouseMove
    (locator)
  • mouseMoveAndWait
    (locator)
  • mouseMoveAt
    (locator - coordString)
  • mouseMoveAtAndWait
    (locator - coordString)
  • mouseOut
    (locator)
  • mouseOutAndWait
    (locator)
  • mouseOver
    (locator)
  • mouseOverAndWait
    (locator)
  • mouseUp
    (locator)
  • mouseUpAndWait
    (locator)
  • mouseUpAt
    (locator - coordString)
  • mouseUpAtAndWait
    (locator - coordString)
  • mouseUpRight
    (locator)
  • mouseUpRightAndWait
    (locator)
  • mouseUpRightAt
    (locator - coordString)
  • mouseUpRightAtAndWait
    (locator - coordString)

Popups and Menus

  • answerOnNextPrompt
    (answer)
  • answerOnNextPromptAndWait
    (answer)
  • chooseCancelOnNextConfirmation
  • chooseCancelOnNextConfirmationAndWait
  • chooseOkOnNextConfirmation
  • chooseOkOnNextConfirmationAndWait
  • contextMenu
    (locator)
  • contextMenuAndWait
    (locator)
  • contextMenuAt
    (locator - coordString)
  • contextMenuAtAndWait
    (locator - coordString)
  • selectPopUp
    (windowID)
  • deselectPopUp
  • getAlert
  • getConfirmation
  • getPrompt
  • getWhetherThisFrameMatchFrameExpression
    (currentFrameString - target)
  • getWhetherThisWindowMatchWindowExpression
    (currentWindowString - target)

Browser Window

  • verifyAllWindowIds
    (equalTo)
  • verifyAllWindowNames
    (equalTo)
  • verifyAllWindowTitles
    (equalTo)
  • verifyAttributeFromAllWindows
    (attributeName - equalTo)
  • verifyLocation
    (equalTo)
  • verifyNotAllWindowIds
    (equalTo)
  • verifyNotAllWindowNames
    (equalTo)
  • verifyNotAttributeFromAllWindows
    (attributeName - equalTo)
  • verifyNotLocation
    (equalTo)
  • verifyNotTitle
    (equalTo)
  • verifyTitle
    (equalTo)
  • assertAllWindowIds
    (equalTo)
  • assertAllWindowNames
    (equalTo)
  • assertAllWindowTitles
    (equalTo)
  • assertAttributeFromAllWindows
    (attributeName - equalTo)
  • assertLocation
    (equalTo)
  • assertNotAllWindowIds
    (equalTo)
  • assertNotAllWindowNames
    (equalTo)
  • assertNotAllWindowTitles
    (equalTo)
  • assertNotAttributeFromAllWindows
    (attributeName)
  • assertNotLocation
    (equalTo)
  • assertNotTitle
    (equalTo)
  • assertTitle
    (equalTo)
  • validateXml
  • waitForAlert
    (equalTo)
  • waitForAlertNotPresent
  • waitForAlertPresent
  • waitForConfirmation
    (equalTo)
  • waitForConfirmationNotPresent
  • waitForConfirmationPresent
  • waitForNotAlert
    (equalTo)
  • waitForNotConfirmation
    (equalTo)
  • waitForNotPrompt
    (equalTo)
  • waitForPrompt
    (equalTo)
  • waitForPromptNotPresent
  • waitForPromptPresent
  • storeAllWindowIds
  • storeAllWindowNames
  • storeAllWindowTitles
  • storeAttributeFromAllWindows
    (attributeName - variable)
  • storeLocation
  • storeTitle

Cookies

  • verifyCookie
    (equalTo)
  • verifyCookieByName
    (name - equalTo)
  • verifyCookieNotPresent
    (name)
  • verifyCookiePresent
    (name)
  • verifyNotCookie
    (equalTo)
  • verifyNotCookieByName
    (name - equalTo)
  • assertCookie
    (equalTo)
  • assertCookieByName
    (name - equalTo)
  • assertCookieNotPresent
    (name)
  • assertCookiePresent
    (name)
  • assertNotCookie
    (equalTo)
  • assertNotCookieByName
    (name - equalTo)
  • createCookie
    (nameValuePair - optionsString)
  • deleteAllVisibleCookies
  • deleteCookie
    (name - optionsString)
  • storeCookie
  • storeCookieByName
    (name - variable)
  • storeCookiePresent
    (name - variable)

Page Content

  • verifyAllLinks
    (equalTo)
  • verifyAttribute
    (attributeLocator - equalTo)
  • verifyBodyText
    (equalTo)
  • verifyElementNotPresent
    (locator)
  • verifyElementPresent
    (locator)
  • verifyHtmlSource
    (equalTo)
  • verifyNotAllLinks
    (equalTo)
  • verifyNotAttribute
    (attributeLocator)
  • verifyNotBodyText
    (equalTo)
  • verifyNotHtmlSource
    (equalTo)
  • verifyNotOrdered
    (locator1 - locator2)
  • verifyNotTable
    (tableCellAddress - equalTo)
  • verifyNotText
    (locator - equalTo)
  • verifyNotVisible
    (locator)
  • verifyOrdered
    (locator1 - locator2)
  • verifyTable
    (tableCellAddress - equalTo)
  • verifyText
    (locator - equalTo)
  • verifyTextNotPresent
    (pattern)
  • verifyTextPresent
    (pattern)
  • verifyVisible
    (locator)
  • assertAllLinks
    (equalTo)
  • assertAttribute
    (attributeLocator - equalTo)
  • assertBodyText
    (equalTo)
  • assertElementNotPresent
    (locator)
  • assertElementPresent
    (locator)
  • assertHtmlSource
    (equalTo)
  • assertNotAllLinks
    (equalTo)
  • assertNotAttribute
    (attributeLocator - equalTo)
  • assertNotBodyText
    (equalTo)
  • assertNotHtmlSource
    (equalTo)
  • assertNotOrdered
    (locator1 - locator2)
  • assertNotTable
    (tableCellAddress - equalTo)
  • assertNotText
    (locator - equalTo)
  • assertNotVisible
    (locator)
  • assertOrdered
    (locator1 - locator2)
  • assertTable
    (tableCellAddress - equalTo)
  • assertText
    (locator - equalTo)
  • assertTextNotPresent
    (pattern)
  • assertTextPresent
    (pattern)
  • assertVisible
    (locator)
  • waitForAllLinks
    (equalTo)
  • waitForAttribute
    (attributeLocator - equalTo)
  • waitForBodyText
    (equalTo)
  • waitForElementPresent
    (locator)
  • waitForHtmlSource
    (equalTo)
  • waitForNotAllLinks
    (equalTo)
  • waitForNotAttribute
    (attributeLocator - equalTo)
  • waitForNotBodyText
    (equalTo)
  • waitForElementNotPresent
    (locator)
  • waitForNotHtmlSource
    (equalTo)
  • waitForNotOrdered
    (locator1 - locator2)
  • waitForNotTable
    (tableCellAddress - equalTo)
  • waitForNotText
    (locator - equalTo)
  • waitForNotVisible
    (locator)
  • waitForOrdered
    (locator1 - locator2)
  • waitForTable
    (tableCellAddress - equalTo)
  • waitForText
    (locator - equalTo)
  • waitForTextNotPresent
    (pattern)
  • waitForTextPresent
    (pattern)
  • waitForVisible
    (locator)
  • storeAllLinks
  • storeAttribute
    (attributeLocator - variable)
  • storeBodyText
  • storeElementPresent
    (locator - variable)
  • storeHtmlSource
  • storeTable
    (tableCellAddress - variable)
  • storeText
    (locator - variable)
  • storeTextPresent
    (pattern - variable)
  • storeVisible
    (locator - variable)

Page Positioning

  • verifyElementHeight
    (locator - equalTo)
  • verifyElementIndex
    (locator - equalTo)
  • verifyElementPositionLeft
    (locator - equalTo)
  • verifyElementPositionTop
    (locator - equalTo)
  • verifyElementWidth
    (locator - equalTo)
  • verifyNotElementHeight
    (locator - equalTo)
  • verifyNotElementIndex
    (locator - equalTo)
  • verifyNotElementPositionLeft
    (locator - equalTo)
  • verifyNotElementPositionTop
    (locator - equalTo)
  • verifyNotElementWidth
    (locator - equalTo)
  • assertElementHeight
    (locator - equalTo)
  • assertElementIndex
    (locator - equalTo)
  • assertElementPositionLeft
    (locator - equalTo)
  • assertElementPositionTop
    (locator - equalTo)
  • assertElementWidth
    (locator - equalTo)
  • assertNotElementHeight
    (locator - equalTo)
  • assertNotElementIndex
    (locator - equalTo)
  • assertNotElementPositionLeft
    (locator - equalTo)
  • assertNotElementPositionTop
    (locator - equalTo)
  • assertNotElementWidth
  • storeElementHeight
    (locator - variable)
  • storeElementIndex
    (locator - variable)
  • storeElementPositionLeft
    (locator - variable)
  • storeElementPositionTop
    (locator - variable)
  • storeElementWidth
    (locator - variable)

Popups

  • verifyAlert
    (equalTo)
  • verifyAlertNotPresent
  • verifyAlertPresent
  • isAlertPresent
  • verifyConfirmation
    (equalTo)
  • verifyConfirmationNotPresent
  • verifyConfirmationPresent
  • isConfirmationPresent
  • verifyNotAlert
    (equalTo)
  • verifyNotConfirmation
    (equalTo)
  • verifyNotPrompt
    (equalTo)
  • verifyPrompt
    (equalTo)
  • verifyPromptNotPresent
  • verifyPromptPresent
  • isPromptPresent
  • assertAlert
    (equalTo)
  • assertAlertNotPresent
  • assertAlertPresent
  • assertConfirmation
    (equalTo)
  • assertConfirmationNotPresent
  • assertConfirmationPresent
  • assertNotAlert
    (equalTo)
  • assertNotConfirmation
    (equalTo)
  • assertNotPrompt
    (equalTo)
  • assertPrompt
    (equalTo)
  • assertPromptNotPresent
  • assertPromptPresent
  • waitForElementHeight
    (locator - equalTo)
  • waitForElementIndex
    (locator - equalTo)
  • waitForElementPositionLeft
    (locator - equalTo)
  • waitForElementPositionTop
    (locator - equalTo)
  • waitForElementWidth
    (locator - equalTo)
  • waitForNotElementHeight
    (locator - equalTo)
  • waitForNotElementIndex
    (locator - equalTo)
  • waitForNotElementPositionLeft
    (locator - equalTo)
  • waitForNotElementPositionTop
    (locator - equalTo)
  • waitForNotElementWidth
    (locator - equalTo)
  • waitForPopUp
    (windowID - timeout)
  • storeAlert
  • storeAlertPresent
  • storeConfirmation
  • storeConfirmationPresent
  • storePrompt
  • storePromptPresent

Selenium

  • verifyEval
    (script - equalTo)
  • verifyExpression
    (expression - equalTo)
  • verifyMouseSpeed
  • verifyNotEval
    (script - equalTo)
  • verifyNotExpression
    (expression - equalTo)
  • verifyNotMouseSpeed
  • verifyNotSpeed
  • verifyNotXpathCount
    (xpath - equalTo)
  • verifySpeed
  • verifyXpathCount
    (xpath - equalTo)
  • assertEval
    (script - equalTo)
  • assertExpression
    (expression - equalTo)
  • assertMouseSpeed
    (equalTo)
  • assertNotEval
    (script - equalTo)
  • assertNotExpression
    (expression - equalTo)
  • assertNotMouseSpeed
    (equalTo)
  • assertNotSpeed
    (equalTo)
  • assertNotXpathCount
    (xpath - equalTo)
  • assertSpeed
    (equalTo)
  • assertXpathCount
    (xpath - equalTo)
  • waitForAllButtons
    (equalTo)
  • waitForAllFields
    (equalTo)
  • waitForChecked
    (locator)
  • waitForCursorPosition
    (locator - equalTo)
  • waitForCondition
    (script - timeout)
  • waitForEditable
    (locator)
  • waitForEval
    (script - equalTo)
  • waitForExpression
    (expression - equalTo)
  • waitForMouseSpeed
    (equalTo)
  • waitForNotAllButtons
    (equalTo)
  • waitForNotAllFields
    (equalTo)
  • waitForNotChecked
    (locator)
  • waitForNotCursorPosition
    (locator - equalTo)
  • waitForNotEditable
    (locator)
  • waitForNotEval
    (script - equalTo)
  • waitForNotExpression
    (expression - equalTo)
  • waitForNotMouseSpeed
    (equalTo)
  • waitForNotSelectedIds
    (selectLocator - equalTo)
  • waitForNotSelectedIndexes
    (selectLocator - equalTo)
  • waitForNotSelectedLabels
    (selectLocator - equalTo)
  • waitForNotSelectedValues
    (selectLocator - equalTo)
  • waitForNotSelectOptions
    (selectLocator - equalTo)
  • waitForNotSomethingSelected
    (selectLocator)
  • waitForNotSpeed
    (equalTo)
  • waitForNotValue
    (locator - equalTo)
  • waitForNotXpathCount
    (xpath - equalTo)
  • waitForSelectedIds
    (selectLocator - equalTo)
  • waitForSelectedIndexes
    (selectLocator - equalTo)
  • waitForSelectedLabels
    (selectLocator - equalTo)
  • waitForSelectedValues
    (selectLocator - equalTo)
  • waitForSelectOptions
    (selectLocator - equalTo)
  • waitForSomethingSelected
    (selectLocator)
  • waitForSpeed
    (equalTo)
  • waitForValue
    (locator - equalTo)
  • waitForXpathCount
    (xpath - equalTo)
  • storeEval
    (script - variable)
  • storeExpression
    (expression - variable)
  • storeMouseSpeed
  • storeSpeed
  • storeXpathCount
    (xpath - variable)

Screenshots

  • captureEntirePageScreenshot
    (filename - kwargs)

Selenium Settings

  • waitForCookie
    (equalTo)
  • waitForCookieByName
    (name - equalTo)
  • waitForCookieNotPresent
    (name)
  • waitForCookiePresent
    (name)
  • waitForNotCookie
    (equalTo)
  • waitForNotCookieByName
    (name - equalTo)
  • addLocationStrategy
    (strategyName - functionDefinition)
  • allowNativeXpath
    (allow)
  • ignoreAttributesWithoutValue
    (ignore)
  • setBrowserLogLevel
    (logLevel)
  • setMouseSpeed
    (pixels)
  • setSpeed
    (value)
  • getSpeed
  • setTimeout
    (timeout)
  • useXpathLibrary
    (libraryName)

Special

  • addScript
    (scriptContent - scriptTagId)
  • assignId
    (locator - identifier)
  • echo
    (message)
  • fireEvent
    (locator - eventName)
  • highlight
    (locator)
  • rollup
    (rollupName - kwargs)
  • runScript
    (script)
  • getEval
    (command)
  • getLocation
  • getTitle
  • getBodyText
  • getValue
    (locator)
  • getText
    (locator)
  • getTable
    (tableCellAddress)
  • pause
    (time)
  • comment
    (text)
  • getHtmlSource
  • stopTest
    (condition)

Common

  • waitForPageToLoad
    (timeout)