The 'display' command
The 'echo' command
The 'print' command
The 'printr' command
B. The 'echo' command
Highlight a command. Press Ctrl + F9.
Highlight a command. Press Alt + F9.
Highlight a command. Press Ctrl + X.
Highlight a command. Press X.
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
Yes
No
//div[contains(@id,'time_')]
//div[contains(@id_time())]
//div[parameter(@id_time())]
//div[parameter(@id,'time_')]
0 or more of the preceding character.
1 or more of the preceding character
0 or 1 of the preceding character
All of these
verifyTables
verifyTableData
verifyTable
verifyTableCell
Extend waitFor (time in sec)
waitFor (time in sec) extend
setTimeout (time in sec)
setTimeout.
Cascade Style Sheets
Cascading Style Sheets
Clear Style Sheets
Catering Style Sheets
clickAndWait
selectAndType
typeAndWait
selectAndWait
VerifyTextPresent and assertTextPresent
VerifyElementPresent and assertElementPresent
VerifyAlertPresent and assertAlertPresent
VerifyAlert and assertAlert
TestNextGeneration
TestNewGenerlization
TestNewGeneration
TestNextGenerations
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.
DHTML format
J2EE format
XML format
HTML format.
QTP
Selenium
^=
$=
*=
&=
By DOM query
BY XPath query
BY CSS sector
All of these
Asynchronous Java and XML
Asynchronous JavaScript and XML
Accumulated Java and XML
None of the above
waitForPageToLoad
waitForElementPresent
waitForPage
waitForLoad
waitForAlertPresent
waitForTextPresent
waitForFramePresent
waitForPageToLoad
DOS applications
Browser-based applications
GUI applications
None of the above
4444
2222
1111
3333
selectVisibleText()
selectByVisibleText()
select_VisibleText()
select_ByVisibleText()
sendsKeys()
sendKey()
sendKeys
sendKeys()
verifyTable
verifyTitlePresent
verifyTextPresent
verifyElementPresent
${variableName}
storedVars['variableName'].
Both of these
None of these
Wait
Exit
WaitForProperty
None of these.
No
Yes
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.
Web driver
Selenium RC
Selenium IDE
Selenium Grid
ID
XPath
CSS selector
Name