Line | | Command | | | Parameter 1 | Parameter 2 | | Duration |
4 |  | open-url | |  | http://www.wetator.org/testform | - |  | 1.3s |
| | | | |
 | Usage of absolute URLs like 'http://www.wetator.org/testform' is deprecated. Better Use only paths to make your test independent of a certain machine. |
 | Open URL 'http://www.wetator.org/testform'. |
|
7 |  | assert-title | | | WETATOR / Test Form | - | | 0.0s |
10 |  | assert-content | | | The form below is only for testing purpose. | - | | 0.0s |
11 |  | assert-set |  | | Project name | - |  | 0.0s |
| | | | |
 | Found more than one HTML element for pattern 'Project name' on page; using the best matching one [HtmlTextInput (id='project') (name='projectName')]. |
 | Found control '[HtmlTextInput (id='project') (name='projectName')] found by: BY_LABEL_ELEMENT deviation: 0 distance: 191 start: 204 index: 57'. |
 | Found control '[HtmlTextArea (id='wetatorIsText') (name='wetatorIsText')] found by: BY_TEXT deviation: 140 distance: 344 start: 344 index: 110'. |
 | Found control '[HtmlFileInput (id='resume') (name='resume')] found by: BY_TEXT deviation: 204 distance: 408 start: 408 index: 123'. |
|
12 |  | assert-selected |  | | other | - |  | 0.0s |
| | | | |
 | Found more than one HTML element for pattern 'other' on page; using the best matching one [HtmlOption 'other' part of [HtmlSelect (id='languages') (name='languages[]')]]. |
 | Found control '[HtmlOption 'other' part of [HtmlSelect (id='languages') (name='languages[]')]] found by: BY_LABEL deviation: 0 distance: 233 start: 252 index: 72'. |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_amazing') (name='wetatorIs[]')] found by: BY_TEXT deviation: 44 distance: 302 start: 302 index: 89'. |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_visionary') (name='wetatorIs[]')] found by: BY_TEXT deviation: 52 distance: 310 start: 310 index: 94'. |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_marvelous') (name='wetatorIs[]')] found by: BY_TEXT deviation: 62 distance: 320 start: 320 index: 99'. |
|
13 |  | assert-selected |  | | WETATOR is > amazing | - |  | 0.0s |
| |  | | | The element/option '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_amazing') (name='wetatorIs[]')]' is not selected. |
| | | | |
 | Found more than one HTML element for pattern 'WETATOR is > amazing' on page; using the best matching one [HtmlCheckBoxInput (id='wetatorIs_wetatorIs_amazing') (name='wetatorIs[]')]. |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_amazing') (name='wetatorIs[]')] found by: BY_LABEL_ELEMENT deviation: 0 distance: 0 start: 302 index: 89'. |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_visionary') (name='wetatorIs[]')] found by: BY_TEXT deviation: 0 distance: 8 start: 310 index: 94'. |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_marvelous') (name='wetatorIs[]')] found by: BY_TEXT deviation: 10 distance: 18 start: 320 index: 99'. |
|
14 |  | assert-deselected |  | | WETATOR is > visionary | - |  | 0.0s |
| | | | |
 | Found more than one HTML element for pattern 'WETATOR is > visionary' on page; using the best matching one [HtmlCheckBoxInput (id='wetatorIs_wetatorIs_visionary') (name='wetatorIs[]')]. |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_visionary') (name='wetatorIs[]')] found by: BY_LABEL_ELEMENT deviation: 0 distance: 8 start: 310 index: 94'. |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_marvelous') (name='wetatorIs[]')] found by: BY_TEXT deviation: 0 distance: 18 start: 320 index: 99'. |
|
15 |  | assert-deselected |  | | WETATOR is > marvelous | - |  | 0.0s |
| | | | |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_marvelous') (name='wetatorIs[]')] found by: BY_LABEL_ELEMENT deviation: 0 distance: 18 start: 320 index: 99'. |
|
16 |  | assert-set |  | | WETATOR makes | my day |  | 0.0s |
| |   | | | Wrong value: expected: <my day> but was: <> |
| | | | |
 | Found more than one HTML element for pattern 'WETATOR makes' on page; using the best matching one [HtmlTextArea (id='wetatorIsText') (name='wetatorIsText')]. |
 | Found control '[HtmlTextArea (id='wetatorIsText') (name='wetatorIsText')] found by: BY_LABEL_ELEMENT deviation: 0 distance: 330 start: 344 index: 110'. |
 | Found control '[HtmlFileInput (id='resume') (name='resume')] found by: BY_TEXT deviation: 64 distance: 408 start: 408 index: 123'. |
|
19 |  | set |  |  | Project name | HtmlUnit |  | 0.0s |
| | | | |
 | Found more than one HTML element for pattern 'Project name' on page; using the best matching one [HtmlTextInput (id='project') (name='projectName')]. |
 | Found control '[HtmlTextInput (id='project') (name='projectName')] found by: BY_LABEL_ELEMENT deviation: 0 distance: 191 start: 204 index: 57'. |
 | Found control '[HtmlTextArea (id='wetatorIsText') (name='wetatorIsText')] found by: BY_TEXT deviation: 140 distance: 344 start: 344 index: 110'. |
 | Found control '[HtmlFileInput (id='resume') (name='resume')] found by: BY_TEXT deviation: 204 distance: 408 start: 408 index: 123'. |
|
20 |  | select |  |  | programming language > JAVA | - |  | 0.0s |
| | | | |
 | Found more than one HTML element for pattern 'programming language > JAVA' on page; using the best matching one [HtmlOption 'JAVA' part of [HtmlSelect (id='languages') (name='languages[]')]]. |
 | Found control '[HtmlOption 'JAVA' part of [HtmlSelect (id='languages') (name='languages[]')]] found by: BY_LABEL deviation: 0 distance: 0 start: 242 index: 66'. |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_amazing') (name='wetatorIs[]')] found by: BY_TEXT deviation: 64 distance: 69 start: 311 index: 89'. |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_visionary') (name='wetatorIs[]')] found by: BY_TEXT deviation: 72 distance: 77 start: 319 index: 94'. |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_marvelous') (name='wetatorIs[]')] found by: BY_TEXT deviation: 82 distance: 87 start: 329 index: 99'. |
|
21 |  | select |  |  | WETATOR is > visionary | - |  | 0.0s |
| | | | |
 | Found more than one HTML element for pattern 'WETATOR is > visionary' on page; using the best matching one [HtmlCheckBoxInput (id='wetatorIs_wetatorIs_visionary') (name='wetatorIs[]')]. |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_visionary') (name='wetatorIs[]')] found by: BY_LABEL_ELEMENT deviation: 0 distance: 8 start: 319 index: 94'. |
 | Found control '[HtmlCheckBoxInput (id='wetatorIs_wetatorIs_marvelous') (name='wetatorIs[]')] found by: BY_TEXT deviation: 0 distance: 18 start: 329 index: 99'. |
|
22 |  | click-on |  |  | Submit My Truth | - |  | 0.1s |
| | | | |
 | Found control '[HtmlSubmitInput 'Submit My Truth' (id='submit') (name='submit')] found by: BY_LABEL deviation: 0 distance: 417 start: 417 index: 129'. |
|
23 |  | assert-content | | | We hope all your visionary WETATOR tests for the project 'HtmlUnit' are green. | - | | 0.0s |
24 |  | assert-content | | | Why not using WETATOR for your other JAVA projects? | - | | 0.0s |
27 |  | open-url | |  | /testform | - |  | 0.4s |
| | | | |
 | Open URL 'http://www.wetator.org/testform'. |
|
28 |  | assert-title | | | WETATOR / Test Form | - | | 0.0s |
29 |  | assert-set |  | | Project name | - |  | 0.0s |
| | | | |
 | Found more than one HTML element for pattern 'Project name' on page; using the best matching one [HtmlTextInput (id='project') (name='projectName')]. |
 | Found control '[HtmlTextInput (id='project') (name='projectName')] found by: BY_LABEL_ELEMENT deviation: 0 distance: 191 start: 204 index: 57'. |
 | Found control '[HtmlTextArea (id='wetatorIsText') (name='wetatorIsText')] found by: BY_TEXT deviation: 140 distance: 344 start: 344 index: 110'. |
 | Found control '[HtmlFileInput (id='resume') (name='resume')] found by: BY_TEXT deviation: 204 distance: 408 start: 408 index: 123'. |
|
30 |  | click-on | |  | Unknown Button | - |  | 0.0s |
| |   | | | No clickable HTML element found for 'Unknown Button'. |
| | | | |
 |
org.wetator.exception.ActionException: No clickable HTML element found for 'Unknown Button'.
at org.wetator.commandset.AbstractCommandSet.getFirstRequiredHtmlElementFrom(AbstractCommandSet.java:154)
at org.wetator.commandset.DefaultCommandSet$CommandClickOn.execute(DefaultCommandSet.java:285)
at org.wetator.core.WetatorContext.determineAndExecuteCommandImpl(WetatorContext.java:260)
at org.wetator.core.WetatorContext.executeCommand(WetatorContext.java:216)
at org.wetator.core.WetatorContext.execute(WetatorContext.java:194)
at org.wetator.core.WetatorEngine.executeTests(WetatorEngine.java:169)
at org.wetator.Wetator.main(Wetator.java:137)
|
|
31 | | assert-content | | | "Project name" is a required field | - | | 0.0s |
| 1.8s |