Datadriven test with different outcomes
I have a test to run with multiple combobox selections on the form and everytime the form is completed it triggers a warning box with different text in each time. The text shown in the warning box is dependent on the options selected in the comboboxes on the form.
I have data driven the selections on the form to cover every possible scenario(Few Hundred) however i am now stuck with adding the expected results in the warning box. I need the expected result to change each run of the test. I thought of parameterising the test however this would mean having a few hundred parameters for each run.
Is it possible to point the parameters to a location in a database like it does in a datadriven test, so that it would check the location (In the Database) matches the warning box text. Once it has checked the first one then it would move on to the next result in the database.
Or could someone suggest a better solution to this test?
My coding experience is basic so if it could be done without that need then great if not could someone give an example.
Many Thanks