ok radioButton: Tests related to radio buttons without JavaScript

Test started at Thu Oct 02 11:31:36 CEST 2008, lasting 518 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/
#ResultNameParameterDuration
  1okenableJavaScript
enablefalse
1
  2okinvoke
Open the page with form and JS
Resulting page
-> complete urlhttp://localhost:19090/selftest/form.jsp
urlform.jsp
83
  3okverifyXPath
texttrue
xpathnot(//form/input[@name='myRadioButton']/@checked)
56
  4oksetRadioButton
namemyRadioButton
valuemint
12
  5okverifyRadioButton
checkedfalse
namemyRadioButton
valuechocolate
7
  6okverifyRadioButton
checkedtrue
namemyRadioButton
valuemint
6
  7okverifyXPath
text1
xpathcount(//form/input[@name='myRadioButton']/@checked)
10
  8okverifyXPath
textmint
xpath//form/input[@name='myRadioButton'][@checked]/@value
18
  9okclickButton

Resulting page
name
131
  10okverifyText
Checks the received value from radio button
textmyRadioButton: mint
3
  11okverifyXPath
text1
xpathcount(//form/input[@name='myRadioButton']/@checked)
36
  12okverifyXPath
textmint
xpath//form/input[@name='myRadioButton'][@checked]/@value
24
  13oksetRadioButton
namemyRadioButton
valuechocolate
20
  14okverifyXPath
text1
xpathcount(//form/input[@name='myRadioButton']/@checked)
30
  15okverifyXPath
textchocolate
xpath//form/input[@name='myRadioButton'][@checked]/@value
18
  16oksetRadioButton
namemyRadioButton
valuechocolate
23
  17okverifyXPath
text1
xpathcount(//form/input[@name='myRadioButton']/@checked)
22
  18okverifyXPath
textchocolate
xpath//form/input[@name='myRadioButton'][@checked]/@value
18

Back to Test Report Overview