Dynamic Object Model
Document Object Model
Data Object Model
Document Flow Object Model
Globs are used as default pattern matching technique.
It is similar to regular expressions.
The syntax of Globs is much wider than Regular expression
B and C
Yes
No
By.cssSelected
By.cssSelection
By.cssSelector
By.Selectcs
ID
XPath
CSS selector
Pattern matching
selectByIndex()
selectIndex()
selectedByIndex()
selectByIndexes()
4444
2222
1111
3333
${variableName}
storedVars['variableName'].
Both of these
None of these
Test packs
Tests
Test blocks
Test pattern
Extend waitFor (time in sec)
waitFor (time in sec) extend
setTimeout (time in sec)
setTimeout.
Variable
Data
Information
Info
TestNextGeneration
TestNewGenerlization
TestNewGeneration
TestNextGenerations
waitForPageToLoad
waitForElementPresent
waitForPage
waitForLoad
Perl
Sql
ASP
Cobol
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.
Element title
Page title
Block title
Title of element under focus
css=tag:contains(inner text�)
css=tag:value(inner text�)
css=tag:attributes(inner text�)
css=tag:class(inner text�)
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.
15 sec
20 sec
25 sec
30 sec
VerifyTextPresent and assertTextPresent
VerifyElementPresent and assertElementPresent
VerifyAlertPresent and assertAlertPresent
VerifyAlert and assertAlert
verifyTextPresent
verifyTextPresent
CheckTextPresent
VerifyPresentText
The Table View
The Source View
The Editor View
The Field View
Highlight a command. Press Ctrl + F9.
Highlight a command. Press Alt + F9.
Highlight a command. Press Ctrl + X.
Highlight a command. Press X.
Wait
Exit
WaitForProperty
None of these.
dselectAll()
deselect_All()
dselect_All()
deselectAll()
Selenium Intialization Development Environment
Selenium Interrelated Development Environment
Selenium Integrated Development Environment
Selenium Information Development Environment
ID
XPath
CSS selector
Name
storeAlert
storedAlert
store_Alert
storesAlert
True
False
JavaScript Object Notation
Java Object Notation
Java Object Naming
None of the above