| # | Result | Name | Parameter | Duration |
|
1 |  | enableJavaScript
|
| 10 |
|
2 |  | invoke
Open the page with form and JS
Resulting page |
| -> complete url | http://localhost:19090/selftest/form.jsp |
| url | form.jsp |
| 1913 |
|
3 |  | verifyXPath
|
| text | true |
| xpath | not(//form/input[@name='beer'][@value='alcohol']/@checked) |
| 82 |
|
4 |  | verifyXPath
beerDegree is initially disabled |
| text | true |
| xpath | boolean(//form/input[@name='beerDegree']/@disabled) |
| 45 |
5
 |  | group
first click activates |
| # | Result | Name | Parameter | Duration |
|
1 |  | setCheckbox
|
| checked | true |
| name | beer |
| value | alcohol |
| 21 |
|
2 |  | verifyXPath
|
| text | true |
| xpath | boolean(//form/input[@name='beer'][@value='alcohol']/@checked) |
| 64 |
|
3 |  | verifyXPath
beerDegree is checked |
| text | true |
| xpath | not(//form/input[@name='beerDegree']/@disabled) |
| 30 |
| 123 |
6
 |  | group
2nd click does nothing |
| # | Result | Name | Parameter | Duration |
|
1 |  | setCheckbox
|
| checked | true |
| name | beer |
| value | alcohol |
| 4 |
|
2 |  | verifyXPath
|
| text | 1 |
| xpath | count(//form/input[@name='beer'][@value='alcohol']/@checked) |
| 28 |
|
3 |  | verifyXPath
beerDegree is checked |
| text | true |
| xpath | not(//form/input[@name='beerDegree']/@disabled) |
| 19 |
| 56 |
|
7 |  | clickButton
Resulting page |
| 63 |
8
 |  | group
Uncheck |
| # | Result | Name | Parameter | Duration |
|
1 |  | setCheckbox
|
| checked | false |
| name | beer |
| value | alcohol |
| 12 |
|
2 |  | verifyXPath
|
| text | false |
| xpath | boolean(//form/input[@name='beer'][@value='alcohol']/@checked) |
| 27 |
|
3 |  | verifyXPath
beerDegree is checked |
| text | true |
| xpath | boolean(//form/input[@name='beerDegree']/@disabled) |
| 31 |
| 73 |
9
 |  | group
2nd click does nothing |
| # | Result | Name | Parameter | Duration |
|
1 |  | setCheckbox
|
| checked | false |
| name | beer |
| value | alcohol |
| 5 |
|
2 |  | verifyXPath
|
| text | false |
| xpath | boolean(//form/input[@name='beer'][@value='alcohol']/@checked) |
| 14 |
|
3 |  | verifyXPath
beerDegree is checked |
| text | true |
| xpath | boolean(//form/input[@name='beerDegree']/@disabled) |
| 10 |
| 32 |