Automated Testing

Functional Tests Example

Famous Italian Explorers

Input form HTML:
----------------
<input type="text" name="surname">
<button type="submit">submit</button>

Results div HTML (after Ajax):
------------------------------
<p>first name:<span id="name">[name]</span></p>
<p>last name:<span id="surname">[surname]</span></p>
<p>dates:<span id="dates">[birth - death]</span></p>