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.
A. are commands that directly interact with page elements.
No
Yes
access controls within the desktop
both web and desktop applications
only test web applications
waitForTitle
waitForTextPresent
waitForActive
waitForAlert
By.name
By.nametag
By.tagname
By.nametags
pattern
glob
regex
None
Selects all the siblings after the current element
Selects all elements that follow the closing tab of the current elements.
Selects all of the siblings before the current element
Selects all elements that are before the current element
By DOM query
BY XPath query
BY CSS sector
All 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.
OpenRecord
Open
OpenText
OpenTable
clickAndWait
selectAndType
typeAndWait
selectAndWait
Ancestor
Preceding
Parent
All of these.
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
4444
2222
1111
3333
Variable
Data
Information
Info
css=tag:contains(inner text�)
css=tag:value(inner text�)
css=tag:attributes(inner text�)
css=tag:class(inner text�)
Selenium Intialization Development Environment
Selenium Interrelated Development Environment
Selenium Integrated Development Environment
Selenium Information Development Environment
//div[contains(@id,'time_')]
//div[contains(@id_time())]
//div[parameter(@id_time())]
//div[parameter(@id,'time_')]
XML documents
MS-Word documents
MS-Excel documents
MS-PowerPoint documents
verifyTable
verifyTitlePresent
verifyTextPresent
verifyElementPresent
verifyElementPresent
verifyElementRight
verifyElementNotPresent
verifyElementPositionLeft
sendsKeys()
sendKey()
sendKeys
sendKeys()
DHTML format
J2EE format
XML format
HTML format.
No
Yes
Information
Feedback
Reference
Element
verifyTables
verifyTableData
verifyTable
verifyTableCell
ID
XPath
CSS selector
Name
storedVars
storedVariables
VariablesStore
All of the above
to display the value of a variable in the log file, which can be very valuable for debugging.
Display the value of a variable named answer in the log file, what would the first argument to the previous command look like.
Both of these
None of these