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