FitNesse. SuiteAcceptanceTests. SuiteWidgetTests.
TestMultiLineTable [add child]

 Scenario Libraries

This page tests a multi-line table.

A multi-line table is created as follows
|a|b|c|
|d|e|f|
The resulting text will be rendered in a one line table of the form.
<table>
<tr><td>a</td><td>b</td><td>c</td></tr>
<tr><td>d</td><td>e</td><td>f</td></tr>
</table>

script
start Page Builder
line |a|b|c|
line |d|e|f|
page MultiLineTablePage
Response Requester.
uri valid? contents?
MultiLineTablePage true  
Response Examiner.
type pattern matches? wrapped html?
contents a true  

Response Examiner.
type number string?
line 1 <table border="1" cellspacing="0">
line 2 <tr><td>a</td>
line 3 <td>b</td>
line 4 <td>c</td>
line 5 </tr>
line 6 <tr><td>d</td>
line 7 <td>e</td>
line 8 <td>f</td>
line 9 </tr>
line 10 </table>