I just tried to incorporate the StoryQ to WatiN web browser test and it works fine. It's not really a problem handling one page or two. But I now have multiple page that is navigated via Next and Back Button. What's the best way to handle this in
StoryQ. Example I have 20 pages before I can go to the page 15 I have to complete the 1st to 14th page. And also a scenario in every page with business rules example I want to test the field validation.
Here's what I have so far:
public void Complete_Registration_Form()
new Story("Registration for Something")
.InOrderTo("Complete the Registration")
.IWant("To go to the Registration Page")
The TestMethod above is considered as "happy path". If I want to create new story example "Page Registration Business Rule Violation on Page 3", I have to copy the scenarios above that will make it passed.
Am I doing it right?