Forum Discussion

Creditsafe_Supp's avatar
Creditsafe_Supp
Occasional Contributor
15 years ago

[Resolved] Transferring Properties in a data driven test

Hi there,

I have a data driven test that is fired at WCF service, sometimes when there is a particular problem with the data we get back a specific error message in the xml. At the moment I am able to transfer this error message into a property so I can see why the error was returned, but I want to do this on a larger scale so that I can say run 100 tests and see any errors that were generated in that test run that relate to a specific piece of data I have input using the datasource.

2 Replies

  • Hi!

    You can set up a DataSink inside your DataSource loop to which you would transfer the error message instead, then after the run of your test the DataSink will have written all errors to its target (File, Excel, etc). You could also add the original test data you are using in your DataSource for the sake of readability (as separate properties in the DataSink)

    Does that make sense?

    regards,

    /Ole
    eviware.com