ok radioButton: Tests related to radio buttons without JavaScript

Test started at Wed Apr 25 13:10:28 CEST 2012, lasting 476 ms.
Source: /raid/volume1/opt/webtest/webtestCC/CanooFunctionalTesting/selftests/tests/radioButton.xml:132:
Base URL (used by invoke steps with a relative URL): http://localhost:19090/selftest/
Simulated browser: IE6
#ResultNameParameterDuration
  1okenableJavaScript
enablefalse
2
  2okinvoke
Open the page with form and JS
Resulting page
-> complete urlhttp://localhost:19090/selftest/form.jsp
urlform.jsp
121
  3okverifyXPath
texttrue
xpathnot(//form/input[@name='myRadioButton']/@checked)
46
  4oksetRadioButton
namemyRadioButton
valuemint
23
  5okverifyRadioButton
checkedfalse
namemyRadioButton
valuechocolate
3
  6okverifyRadioButton
checkedtrue
namemyRadioButton
valuemint
1
  7okverifyXPath
text1
xpathcount(//form/input[@name='myRadioButton']/@checked)
8
  8okverifyXPath
textmint
xpath//form/input[@name='myRadioButton'][@checked]/@value
8
  9okclickButton

Resulting page
name
102
  10okverifyText
Checks the received value from radio button
textmyRadioButton: mint
2
  11okverifyXPath
text1
xpathcount(//form/input[@name='myRadioButton']/@checked)
14
  12okverifyXPath
textmint
xpath//form/input[@name='myRadioButton'][@checked]/@value
25
  13oksetRadioButton
namemyRadioButton
valuechocolate
19
  14okverifyXPath
text1
xpathcount(//form/input[@name='myRadioButton']/@checked)
13
  15okverifyXPath
textchocolate
xpath//form/input[@name='myRadioButton'][@checked]/@value
21
  16oksetRadioButton
namemyRadioButton
valuechocolate
15
  17okverifyXPath
text1
xpathcount(//form/input[@name='myRadioButton']/@checked)
21
  18okverifyXPath
textchocolate
xpath//form/input[@name='myRadioButton'][@checked]/@value
32

Back to Test Report Overview