Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
CSS
I have created a method in C# code.This method use com liabrary.When we try to execute from Program.Cs file this method run successfully but when i try to execute from Fitnesse it gives me an error.
<b>"System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {A8A5AA2B-8D90-42DA-A2AE-26B0965AE3B2} failed due to the following error: 80040154."</b>


My code for Fitnesse tool is

!define COMMAND_PATTERN {%m -r fitnesse.fitserver.FitServer,dotnet2\fit.dll %p}
!define TEST_RUNNER {dotnet2\Runner.exe}

!path C:\Users\nitin.goel\Documents\Visual Studio 2010\Projects\HelloWorld\HelloWorldDemo\bin\Debug\HelloWorldDemo.dll

!| HelloWorldDemo.OurFirstTest |
| string1 | string2 | Concatenate? |
| Hello | World | Hello World |

!| HelloWorldDemo.OurFirstTest |
| int1 | int2 | Sum? |
| 1 | 2 | 3 |

!| HelloWorldDemo.OurFirstTest |
| Display? |
| |

!| HelloWorldDemo.OurFirstTest |
| OnApollo? |
| |
Posted
Comments
TorstenH. 3-Sep-14 2:46am    
are you takling about this: http://www.fitnesse.org/
when refering to "Fitnesse" ?

How is a C# method used in that context? And where is the Java reference in that??
Nitin Go 3-Sep-14 3:04am    
Yes,Fitenesse plug - in is java (fitnesse.jar) and i am using C# code create methods that will be invoke through Fitnesse.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900