ok newFormSteps: Tests the new form steps with xpath

Test started at Thu Oct 02 11:31:33 CEST 2008, lasting 748 ms.
Source: /raid/volume1/opt/webtest/webtestCC/CanooFunctionalTesting/selftests/tests/newFormSteps.xml:78:
Base URL (used by invoke steps with a relative URL): http://localhost:19090/selftest/
#ResultNameParameterDuration
  1okinvoke
Open the page with form and JS
Resulting page
-> complete urlhttp://localhost:19090/selftest/form.jsp
urlform.jsp
86
  2oksetInputField
valueblabla
xpath//form/input[@type='text'][@name='myTextField']
75
  3oksetInputField
valuesecret
xpath//form/input[@name='myPasswordField']
54
  4oksetInputField

Resulting page
valueReally interesting, isn't it?
xpath//form/textarea[@name='myTextArea']
34
  5oksetCheckbox
checkedtrue
xpath//form/input[@name='myCheckbox']
43
  6oksetCheckbox
identify checkbox with name and value alcohol
checkedtrue
xpath//form/input[@name='beer'][@value='alcohol']
76
  7oksetCheckbox
identify checkbox with name and value lemon
checkedtrue
xpath//form/input[@name='beer'][@value='lemon']
58
  8okverifyCheckbox
should not get confused from hidden decoy beer field
checkedtrue
namebeer
valuelemon
4
  9oksetSelectField

Resulting page
namemySelect1
value1
129
  10oksetSelectField
select value that is available thanks JS since mySelect1 changed
namemySelect2
value1b
4
  11okclickButton

Resulting page
name
123
  12okverifyText
Checks the received value from text
textmyTextField: blabla
2
  13okverifyText
Checks that value echoed with JS has been received too
textmyTextFieldEcho: blabla
3
  14okverifyText
Checks the received value from password
textmyPasswordField: secret
2
  15okverifyText
Checks that value echoed with JS has been received too
textmyPasswordFieldEcho: secret
11
  16okverifyText
Checks the received value from textarea
textmyTextArea: Really interesting, isn't it?
2
  17okverifyText
Checks that value echoed with JS has been received too
textmyTextAreaEcho: Really interesting, isn't it?
37
  18okverifyText
Checks the received value from checkbox
textmyCheckbox: yes, please
3
  19okverifyText
Checks the received value from the valued checkbox
textbeer: alcohol, lemon
2

Back to Test Report Overview