Self-test questions
- What is the main language that drives Selenium IDE?
- Ruby.
- Python.
- JavaScript.
- Selenium IDE works on Internet Explorer.
- Selenium verifies items on the page when it is recording steps.
- What is the difference between verify and assert?
- If you wanted to validate that a button had appeared on a page, which two commands would be the best to use?
verifyTextPresent
/ assertTextPresent
.
verifyElementPresent
/ assertElementPresent
.
verifyAlertPresent
/ assertAlertPresent
.
verifyAlert
/ assertAlert
.
- If an element got added after the page loaded, what command would you use to make sure the test passed in the future?
waitForElementPresent
.
pause
.
assertElementPresent
.
- How do we run all the tests in a test suite?