priya
unread,May 23, 2012, 1:45:03 PM5/23/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dbfit
Hi All,
I am using the dbfit library for all the database operations -
delete,update,select (all using the Execute command). But I need to
insert Bulk data for loading the database table.I am writing the
following test in
Fitnesse:
!define COMMAND_PATTERN {%m %p}
!define TEST_RUNNER {C:\Users\Shardul\Desktop\Fitnesse\dbfit-complete
\dotnet2\FitServer.exe}
!define PATH_SEPARATOR {;}
!path C:\Users\Shardul\Desktop\Fitnesse\dbfit-complete\dotnet2\*.dll
|Execute|!-INSERT INTO [SampleDB].[dbo].[Customer] (CustomerID,
CustomerName) VALUES (6,'Test');-!|
!|Insert|[SampleDB].[dbo].[Customer]|
|CustomerID|CustomerName|
|1|ABC|
|2|DEF|
|3|GHI|
|4|JKL|
Note:
The inserts with the Execute fixture are working fine but the bulk
data rows using the Insert fixture result in following error:
System.ApplicationException: Cannot read columns/parameters for object
[[SampleDB]].[[dbo].[Customer]] - check spelling or access privileges
Can anyone please help me resolving th error ?