ok radioButton: Tests access with xpath to radio buttons

Test started at Fri Jul 25 14:43:49 CEST 2008, lasting 641 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/

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
414
  3okverifyXPath
texttrue
xpathnot(//form/input[@name='myRadioButton']/@checked)
39
  4okverifyXPath
chocolateFlavor is initially disabled
texttrue
xpathboolean(//form/input[@name='chocolateFlavor']/@disabled)
47
  5oksetRadioButton
xpath//form/input[@name='myRadioButton']
20
  6okverifyRadioButton
checkedtrue
xpath//form/input[@name='myRadioButton']
21
  7
Show/Hide all substeps
oknot
  44
  8okverifyXPath
text1
xpathcount(//form/input[@name='myRadioButton']/@checked)
17
  9okverifyXPath
textmint
xpath//form/input[@name='myRadioButton'][@checked]/@value
20
  10okverifyXPath
chocolateFlavor is still disabled
texttrue
xpathboolean(//form/input[@name='chocolateFlavor']/@disabled)
17

Back to Test Report Overview