Hi, I am new to InfoPathForms development and got stuck in various problem.
I have written a simple InfoPath form with a single button on it in Visual Studio 2008 with C#. Now, I have to write a test case, that validates when button is clicked something is returned back. Let's assume when button is clicked, "Hello Word" is printed.
My problem is:
1) How Can i execute Button Click Event from Unit Test Project on InfopathForm Project?
2) How do i pass back the value generated from button Click to Test project.?
I am not able to add add reference of InfopathForm Project to my test project. Also When i add reference of Test Project into InfopathForm project, it gives me "Assembly generation failed -- Referenced assembly "Test" does not have a strong name".
I am completely messed up. This might be because this is first time I am doing something on InfopathForms.
Any help or suggestion would let me out from this problem and at least complete my work in time.
Thanks in advance!