I'm using jbehave and selenium to perform regression tests on an application as part of my CI process. I want to expand the coverage of these tests which means running the same scenarios hundreds of time with different data.
I am using Parameterized scenarios such as When <user> logs on with password <pass> Then landing page is shown When user searches for customer <customer> Then the customer name "<name>" is shown When user logs off The logon page is shown Examples: |user|pass|customer|name| |test1|test1|001|Fred Bloggs| |test1|test1|001|George Bloggs| |test1|test1|001|Susan Bloggs| |test2|test2|001|Fred Bloggs| |test2|test2|001|George Bloggs| |test2|test2|001|Susan Bloggs| etc I know how to configure the tests so that that continue with other stories and scenarios if a failure happens but I need also to a) run the example line in the example if one fails b) start a new browser session for each example I need 'b' because the failure would not log off the app... Thanks
