When errors occur, we get the message:
variable defined: FIXTURE_NAME=CrashFixturevariable defined: EXPECTED_STATUS_MESSAGE=Errors Occurredvariable defined: EXPECTED_ICON_URL=/files/images/executionStatus/error.gif
Included page: DoTest
Create a simple test page
| Action Fixture. |
| start |
Page Builder |
| enter |
line |
!path classes |
| enter |
line |
!path fitnesse.jar |
| enter |
line |
!|fitnesse.testutil.CrashFixture| |
| enter |
line |
|blah| |
| enter |
page |
TestPage |
Now run the test page.
| Response Requester. |
| uri |
valid? |
| TestPage?responder=test |
true |
| Response Examiner. |
| contents? |
| |
Check the status message.
| Response Examiner. |
| type |
pattern |
matches? |
| contents |
<div id="execution-status">.*?Errors Occurred.*?</div> |
true |
| contents |
<div id="execution-status">.*?<img.*?src="/files/images/executionStatus/error.gif".*?/>.*?</div> |
true |
.FrontPage .RecentChanges .FitNesse.SuiteAcceptanceTests