-
Notifications
You must be signed in to change notification settings - Fork 10
3. Storyboard Example
Fried Hoeben edited this page Apr 27, 2015
·
1 revision
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.
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} |
storyboard | browser test |
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³ |