AnsweredAssumed Answered

Test Case Design

Question asked by BrianNivens4455398 on Jan 29, 2016
Latest reply on Feb 3, 2016 by Joel NeSmith

I'm trying to set up a test using a data set to drive the test data and I'm having difficulty getting the reports to show the test cases correctly.

 

Here's the basic design -

It's a simple test that runs a web service and checks the value of a property. The spreadsheet contains six tests with the fifth test set up to fail the 'Ensure Properties are Equal' assertion. All other tests will succeed.

 

When the test is run in this configuration, the report shows only one test as running and it succeeded. If you check the details of the test, you will see that the test did loop through all six tests and ran correctly.

 

Here's the initial report page -

 

And a sample from the details page -

 

If I remove the loop from the 'Check Status' step and let the test end, the report will show that only one test was run. It won't go back to the spreadsheet and pick up any additional tests to run.

 

Is there a way to set up the test case so that each line from the data set becomes a new test?

 

Thanks

Outcomes