| # | Result | Name | Parameter | Duration |
|
1 |  | enableJavaScript
|
| 1 |
|
2 |  | invoke
Open the page with form and JS
Resulting page |
| -> complete url | http://localhost:19090/selftest/form.jsp |
| url | form.jsp |
| 83 |
|
3 |  | verifyXPath
|
| text | true |
| xpath | not(//form/input[@name='myRadioButton']/@checked) |
| 56 |
|
4 |  | setRadioButton
|
| name | myRadioButton |
| value | mint |
| 12 |
|
5 |  | verifyRadioButton
|
| checked | false |
| name | myRadioButton |
| value | chocolate |
| 7 |
|
6 |  | verifyRadioButton
|
| checked | true |
| name | myRadioButton |
| value | mint |
| 6 |
|
7 |  | verifyXPath
|
| text | 1 |
| xpath | count(//form/input[@name='myRadioButton']/@checked) |
| 10 |
|
8 |  | verifyXPath
|
| text | mint |
| xpath | //form/input[@name='myRadioButton'][@checked]/@value |
| 18 |
|
9 |  | clickButton
Resulting page |
| 131 |
|
10 |  | verifyText
Checks the received value from radio button |
| 3 |
|
11 |  | verifyXPath
|
| text | 1 |
| xpath | count(//form/input[@name='myRadioButton']/@checked) |
| 36 |
|
12 |  | verifyXPath
|
| text | mint |
| xpath | //form/input[@name='myRadioButton'][@checked]/@value |
| 24 |
|
13 |  | setRadioButton
|
| name | myRadioButton |
| value | chocolate |
| 20 |
|
14 |  | verifyXPath
|
| text | 1 |
| xpath | count(//form/input[@name='myRadioButton']/@checked) |
| 30 |
|
15 |  | verifyXPath
|
| text | chocolate |
| xpath | //form/input[@name='myRadioButton'][@checked]/@value |
| 18 |
|
16 |  | setRadioButton
|
| name | myRadioButton |
| value | chocolate |
| 23 |
|
17 |  | verifyXPath
|
| text | 1 |
| xpath | count(//form/input[@name='myRadioButton']/@checked) |
| 22 |
|
18 |  | verifyXPath
|
| text | chocolate |
| xpath | //form/input[@name='myRadioButton'][@checked]/@value |
| 18 |