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>
- First create a page with a simple table in it.
Action Fixture. |
start |
Page Builder |
enter |
line |
|a|b|c| |
enter |
line |
|d|e|f| |
enter |
page |
MultiLineTablePage |
Response Requester. |
uri |
valid? |
contents? |
MultiLineTablePage |
true |
|
- Make sure the html is correct for a simple table.
Response Examiner. |
type |
pattern |
matches? |
value |
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> |