RishadanPort
asked on
Testing a Windows Application, by outputting to the console
I have created a windows application.
What I want to do is create a ConsoleApplication loads the windows application in the backround so that it can access / set propertys and methods. While it is doing this, I want it to output results to the Console.
The ConsoleApplication itself will never show any part of the Windows Application that I have used, it will only be used to run tests.
I have tried Creating a ConsoleApplication in C#, but I cannot declare "System.Windows.Forms", without getting a compile error.
Any suggestions on how I should approach this?
What I want to do is create a ConsoleApplication loads the windows application in the backround so that it can access / set propertys and methods. While it is doing this, I want it to output results to the Console.
The ConsoleApplication itself will never show any part of the Windows Application that I have used, it will only be used to run tests.
I have tried Creating a ConsoleApplication in C#, but I cannot declare "System.Windows.Forms", without getting a compile error.
Any suggestions on how I should approach this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.