This table lists the Selenium commands Veracode supports in sequence scripts. You can upload scripts to a Dynamic Analysis. Your Selenium IDE version might not support all these commands.
|open||If you must manage multiple windows, Veracode recommends explicitly selecting them by name or title before attempting to execute any commands. If more than one window is still open after the originally selected window is closed, selection of the new main window is unpredictable.|
|click||click and clickAndWait have identical implementations and functionality.|
|doubleClick||doubleClick and doubleClickAndWait have identical implementations and functionality.|
|mouseDown||mouseDown and mouseUp are always fired together when the simulated mouse's left button clicks on an element.|
|mouseOver||mouseOver and mouseMove are always fired together when the simulated mouse moves on an element.|
|fireEvent||The focus command fails if the element to be focused is not focusable, such as an <img> or <br> element. Elements that are not focusable may have focus events bound to them. In this case, you can use the fireEvent command to force an event that you want to fire to focus on elements that are not focusable.|
|pause||There is no need for long, duplicated pause commands.|
|selectAndWait||This command fails if the targeted dropdown menu does not load within the timeout period, which is 60 seconds by default.|
|waitForFrameToLoad||Support for this command only includes the name and ID string locators.
When this command returns successfully, it automatically switches to the loaded frame, as if the selectFrame command was called. In place of this command, a generic pause is often a better solution.
|waitForPageToLoad||You can provide an optional timeout period in the target element of the command. The default value is 30 seconds. The maximum value is 60 seconds. If the page does not load within the configured timeout period, the command fails.|
|selectPopUp||When there is only one window currently open, this command fails because the only open window must be the main window.|
|selectWindow||If there is only one window currently open, this command always succeeds.|
|typeKeys||typeKeysand sendKeys have identical implementations.|
|assertText||assertText and verifyText have identical implementations.|
|assertAlert||These commands have identical implementations. They switch focus to the current alert box on the page and determine if the user-provided text matches the alert text. If it does not match or there is no alert box on the page, these commands fail.|
|assertChecked||This command succeeds when the targeted checkbox or radio button is selected and fails when it is not selected.|
|assertElementPresent||This command always uses the timeout period of 30 seconds. If the targeted element cannot be located within that amount of time, the command times out and fails.|
|waitForElementToLoad||You can provide an optional timeout value in the value element of these Selenium IDE commands. If there is no value present, the default timeout is 30 seconds. If the element cannot be located within that amount of time, the command times out and fails.|
|check||check can operate on checkbox and radio button types of form inputs, but uncheck can only operate on checkboxes.|