FitNesse. SuiteAcceptanceTests. SuiteResponderTests. SuiteTestResponders. SuiteExecutionStatusMessages.
TestErrorOccurred
When errors occur, we get the message:

variable defined: FIXTURE_NAME=CrashFixture
variable defined: EXPECTED_STATUS_MESSAGE=Errors Occurred
variable 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