This page tests a simple one-line table.
A simple table is created as follows
|a|b|c|
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>
</table>
- First create a page with a simple table in it.
Action Fixture. |
start |
Page Builder |
enter |
line |
|a|b|c| |
enter |
page |
SimpleTablePage |
Response Requester. |
uri |
valid? |
contents? |
SimpleTablePage |
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 |
</table> |