Dynamic Object Model
Document Object Model
Data Object Model
Document Flow Object Model
B. Document Object Model
are commands that directly interact with page elements.
are commands that allow you to store values to a variable.
are commands that verify if a certain condition is met.
0 or more of the preceding character.
1 or more of the preceding character
0 or 1 of the preceding character
All of these
DHTML format
J2EE format
XML format
HTML format.
ASP
Java
C#
PHP
Selenium RC
Selenium Web driver
Asynchronous Java and XML
Asynchronous JavaScript and XML
Accumulated Java and XML
None of the above
To execute tests on the HtmlUnit browser.
To design a test using Selenese
To quickly create tests
To test a web application against Firefox only.
Variable
Data
Information
Info
Selenium IDE
Selenium RC
SeleniumGrid
Selenium Web
Selenium-Grid
Selenium RC
Selenium Web driver
Selenium NG
waitForElementPresent
waitForPagePresent
waitForTablePresent
waitForFieldPresent
clickAndWait
selectAndType
typeAndWait
selectAndWait
Google chrome
Opera mini
Mozilla Firefox
Internet Explorer
getinnerText()
get_in_Text()
get_inner_Text()
getText()
Debugging tests
Working with AJAX applications
Working with multiple windows
All of these
True
False
VerifyTextPresent and assertTextPresent
VerifyElementPresent and assertElementPresent
VerifyAlertPresent and assertAlertPresent
VerifyAlert and assertAlert
No
Yes
selectByIndex()
selectIndex()
selectedByIndex()
selectByIndexes()
Selenium Generator
Selenium IDE
Selenium WebDriver
//div[contains(@id,'time_')]
//div[contains(@id_time())]
//div[parameter(@id_time())]
//div[parameter(@id,'time_')]
True
False
storeAlert
storedAlert
store_Alert
storesAlert
waitForAlertPresent
waitForTextPresent
waitForFramePresent
waitForPageToLoad
4444
2222
1111
3333
waitForElementPresent
pause
assertElementPresent
None of these
selectVisibleText()
selectByVisibleText()
select_VisibleText()
select_ByVisibleText()
${variableName}
storedVars['variableName'].
Both of these
None of these
To run your test against different browsers (except HtmlUnit) on different operating systems.
To create tests with little or no prior knowledge in programming.
To test a web application against Firefox only.
To run a huge test suite, that can be executed on multiple machines.
verifyElementPresent
verifyElementRight
verifyElementNotPresent
verifyElementPositionLeft