From dadec696d8bccad1b0be72b66865dac35056399a Mon Sep 17 00:00:00 2001 From: Jakub Raczek Date: Mon, 12 Mar 2018 10:26:49 +0100 Subject: [PATCH] Fixed DataDrivenReadException message for ReadDataDriveFileCsv --- .../DataDriven/DataDrivenHelper.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Objectivity.Test.Automation.Tests.NUnit/DataDriven/DataDrivenHelper.cs b/Objectivity.Test.Automation.Tests.NUnit/DataDriven/DataDrivenHelper.cs index a1061d02a..e47b2b4b3 100644 --- a/Objectivity.Test.Automation.Tests.NUnit/DataDriven/DataDrivenHelper.cs +++ b/Objectivity.Test.Automation.Tests.NUnit/DataDriven/DataDrivenHelper.cs @@ -155,10 +155,9 @@ public static IEnumerable ReadDataDriveFileCsv(string file, string { throw new DataDrivenReadException( string.Format( - " Exception while reading Excel Data Driven file\n searched key '{0}' not found at sheet '{1}' \n for test {2} in file '{3}' at row {4}", + " Exception while reading Csv Data Driven file\n searched key '{0}' not found \n for test {1} in file '{2}' at row {3}", e.Message, testName, - testName, file, row)); }