CSVConnector could not be found

Ranorex Spy, Recorder, and Studio.
Senthil
Posts: 1
Joined: Thu Aug 06, 2009 5:31 am

CSVConnector could not be found

Post by Senthil » Thu Aug 06, 2009 5:36 am

Hi Guys,

CSVConnector csvConnector = new CSVConnector(@"D:\Ranorex\TestData.csv");

I got an CSVconnector could not be found error message for using above code.. i added Microsoft.Office.Interop.Excel.dll. but it shows same error.. How to resolve this problem.


Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: CSVConnector could not be found

Post by Support Team » Thu Aug 06, 2009 8:14 am

The CSVConnector class isn't in the Ranorex namespace. It's a separate class in our sample application to show up data-driven testing functionality. So you have to include the 'CSVConnector.cs' file into your project to get access to the 'CSVConnector' class.

Regards,
Christian
Support Team
.
Image

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: CSVConnector could not be found

Post by Support Team » Thu Dec 03, 2009 11:52 am

The Data Driven Test Sample for C#, VB.NET and IronPython is shipped with the Ranorex setup package. You can find it using the link on the Ranorex Studio startpage or by navigating to "Ranorex Installation Folder\Samples\DataDrivenTest".

Please find all needed files in this folder.

Kind regards,
Gabor
Support Team
.
Image