Storyboard is a custom Slim table type, based on Slim’s ScriptTable, which will call a method String takeScreenshot(String)
on its fixture after each action.
The example below uses the browser test fixture from hsac-fitnesse-fixtures which implements the takeScreenshot()
method by having Selenium take a screenshot and returning a HTML img
tag, which will show the screenshot as the last cell in each row.
scenario |
check original price |
open |
http://www.funda.nl |
enter |
@{address}, @{city} |
as |
Locatie |
select |
€ 1.000.000 |
for |
Prijsklasse |
select |
€ 2.000.000 |
for |
tot |
click |
Zoeken |
click |
@{address} |
click |
Kenmerken |
check |
value of |
Vraagprijs |
@{price} |
check |
value of |
Oorspronkelijke vraagprijs |
@{originalPrice} |
check |
value of |
Inhoud |
@{volume} |
check |
value of |
woonoppervlakte |
@{squareMeters} m² |
check |
value of |
Bouwjaar |
@{yearBuilt} |
check original price |
address |
city |
price |
original price |
square meters |
year built |
volume |
Maliebaan 50 A |
Utrecht |
€ 1.295.000 k.k. |
€ 1.395.000 k.k. |
300 |
1930 |
900 m³ |
Wilhelminapark 2 |
Utrecht |
€ 1.975.000 k.k. |
null |
440 |
Voor 1906 |
1.300 m³ |
