Solved

Testing a Windows Application, by outputting to the console

Posted on 2008-10-03
1
187 Views
Last Modified: 2013-12-17
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?
0
Comment
Question by:RishadanPort
1 Comment
 
LVL 6

Accepted Solution

by:
RishadanPort earned 0 total points
ID: 22636790
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question