ok radioButton: Tests access with xpath to radio buttons

Test started at Wed Apr 25 13:10:27 CEST 2012, lasting 389 ms.
Source: /raid/volume1/opt/webtest/webtestCC/CanooFunctionalTesting/selftests/tests/radioButton.xml:27:
Base URL (used by invoke steps with a relative URL): http://localhost:19090/selftest/
Simulated browser: IE6

Expand/Collapse nested steps:show all nested steps in testspec  hide all nested steps in testspec

#ResultNameParameterDuration
  1okenableJavaScript
enabletrue
2
  2okinvoke
Open the page with form and JS
Resulting page
-> complete urlhttp://localhost:19090/selftest/form.jsp
urlform.jsp
234
  3okverifyXPath
texttrue
xpathnot(//form/input[@name='myRadioButton']/@checked)
22
  4okverifyXPath
chocolateFlavor is initially disabled
texttrue
xpathboolean(//form/input[@name='chocolateFlavor']/@disabled)
9
  5oksetRadioButton
xpath//form/input[@name='myRadioButton']
38
  6okverifyRadioButton
checkedtrue
xpath//form/input[@name='myRadioButton']
25
  7
Show/Hide all substeps
oknot
  23
  8okverifyXPath
text1
xpathcount(//form/input[@name='myRadioButton']/@checked)
20
  9okverifyXPath
textmint
xpath//form/input[@name='myRadioButton'][@checked]/@value
8
  10okverifyXPath
chocolateFlavor is still disabled
texttrue
xpathboolean(//form/input[@name='chocolateFlavor']/@disabled)
8

Back to Test Report Overview