ok newFormSteps: Tests the new form steps with xpath

Test started at Wed Apr 25 13:10:26 CEST 2012, lasting 417 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/
Simulated browser: IE6
#ResultNameParameterDuration
  1okinvoke
Open the page with form and JS
Resulting page
-> complete urlhttp://localhost:19090/selftest/form.jsp
urlform.jsp
99
  2oksetInputField
valueblabla
xpath//form/input[@type='text'][@name='myTextField']
21
  3oksetInputField
valuesecret
xpath//form/input[@name='myPasswordField']
20
  4oksetInputField

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

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

Resulting page
name
80
  12okverifyText
Checks the received value from text
textmyTextField: blabla
2
  13okverifyText
Checks that value echoed with JS has been received too
textmyTextFieldEcho: blabla
2
  14okverifyText
Checks the received value from password
textmyPasswordField: secret
3
  15okverifyText
Checks that value echoed with JS has been received too
textmyPasswordFieldEcho: secret
2
  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?
2
  18okverifyText
Checks the received value from checkbox
textmyCheckbox: yes, please
2
  19okverifyText
Checks the received value from the valued checkbox
textbeer: alcohol, lemon
2

Back to Test Report Overview