Compatible Selenium Commands
Compatible commands list
These commands are used in the “UX and WUX User Experience Monitoring”.
Internal Commands
- run: It runs a test.
- build_transaction: It prebuilds a transaction based on the past test (internal).
- get_transaction: It returns the current transaction, always used to retrieve the results, the order of the stages and the variables.
- sessions: It retrieves the list of sessions present in the hub.
- kill_sessions: It deletes all existing sessions in the hub.
Extra Commands
- extract: It combines source and own code for extraction.
- storeExtraction: It stores the result of the extraction in a variable.
- dispatchEvent: It fires a Javascript event on a given element.
- takeElementScreenshot: It takes a screenshot of a specific element.
- phase_start: It starts a stage and transforms the test into a WUX transaction.
- phase_end: It completes a stage.
- clickAndWait: It simulates the performance of this Selenium 2 command in Selenium 3.
- waitForPageToLoad: It simulates the performance of this command of Selenium 2 in Selenium 3.
Commands that generate modules
- getValue Retrieve a value:
getValue;module_name;module_type;REGEX_capture
- getVariable (Versión NG 753 o posterior) It retrieves a specific alue from a variable:
getVariable;module_name;module_type;variable_name
- getScreenshot Retrieves 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
- pageLoadTimeout
- 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 ( Version NG 752 or later )
- webdriverAnswerOnVisiblePrompt
- webdriverChooseCancelOnVisibleConfirmation
- webdriverChooseOkOnVisibleConfirmation