Compatible Selenium Commands

Compatible commands list

These commands are used in the “UX and WUX User Experience Monitoring”.

Internal Commands

  • run Runs a test.
  • build_transaction Preconstructs a transaction based on the past test (internal).
  • get_transaction Returns the current transaction, always used to retrieve the results, the order of the phases and the variables.
  • sessions Retrieves the list of sessions present in the hub.
  • kill_sessions Deletes all existing sessions in the hub.

Extra Commands

  • extract Combines 'source' and own code for extraction.
  • storeExtraction Stores the result of the extraction in a variable.
  • dispatchEvent Fires a Javascript event on a given element.
  • takeElementScreenshot Takes a screenshot of a specific element.
  • phase_start Starts a phase and transforms the test into a WUX transaction.
  • phase_end Completes a phase.
  • clickAndWait Simulates the behaviour of this Selenium 2 command in Selenium 3.
  • waitForPageToLoad Simulates the behaviour of this command of Selenium 2 in Selenium 3.

Commands that generate modules

  • getValue Extract a value:
getValue;module name;module type;REGEX capture
  • getScreenshot Extract a screenshot:
getScreenshot;module name

All own commands must appear in the test file (.side) as comments. Otherwise, it will fail to test the test in the Selenium extension.

Commands provided by the recording extension (v3)

  • addSelection
  • answerOnNextPrompt
  • assert
  • assertAlert
  • assertChecked
  • assertConfirmation
  • assertEditable
  • assertElementPresent
  • assertElementNotPresent
  • assertNotChecked
  • assertNotEditable
  • assertNotSelectedValue
  • assertNotText
  • assertPrompt
  • assertSelectedValue
  • assertSelectedLabel
  • assertText
  • assertTitle
  • assertValue
  • check
  • chooseCancelOnNextConfirmation
  • chooseCancelOnNextPrompt
  • chooseOkOnNextConfirmation
  • click
  • clickAt
  • close
  • doubleClick
  • doubleClickAt
  • dragAndDropToObject
  • echo
  • editContent
  • else
  • elseIf
  • end
  • executeScript
  • executeAsyncScript
  • if
  • mouseDown
  • mouseDownAt
  • mouseOver
  • mouseUp
  • mouseUpAt
  • open
  • pause
  • removeSelection
  • select
  • selectFrame
  • selectWindow
  • sendKeys
  • setSpeed
  • setWindowSize
  • store
  • storeAttribute
  • storeJson
  • storeText
  • storeTitle
  • storeValue
  • storeWindowHandle
  • storeXpathCount
  • submit
  • type
  • uncheck
  • verify
  • verifyChecked
  • verifyEditable
  • verifyElementPresent
  • verifyElementNotPresent
  • verifyNotChecked
  • verifyNotEditable
  • verifyNotSelectedValue
  • verifyNotText
  • verifySelectedLabel
  • verifySelectedValue
  • verifyText
  • verifyTitle
  • verifyValue
  • waitForElementEditable
  • waitForElementNotEditable
  • waitForElementNotPresent
  • waitForElementNotVisible
  • waitForElementPresent
  • waitForElementVisible
  • waitForText ( NG 752 version or higher )
  • webdriverAnswerOnVisiblePrompt
  • webdriverChooseCancelOnVisibleConfirmation
  • chooseCancelOnNextPrompt
  • webdriverChooseOkOnVisibleConfirmation

Go back Web User Experience (WUX) with Selenium 3