Re: [TFUI] Testing WinForms

"Stefan Lieser" <[email protected]> Thu, 5 Jan 2006 19:48:23 +0100
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <057f01c61228$9b6e80a0$0cc8a8c0@slieser>
From: "Tim Haughton" <[email protected]>

> What exactly is it you're trying to test? What aspect of the behaviour? It
> may be that you can achieve the desired testing by other methods.

Some examples:
- Verify that text entered in a TextBox is propagated to underlying 
controller.
- Verify that controls in a form are enabled/disabled depending on the input 
to other controls.
- Verify that input to a custom TextBox control is of specified format.
- Verify that a DataGridView contains the correct data and that entering 
text into cells results in the correct updates to the business domain.

I did most of these things by hand in the last years. But the more you learn 
about automated testing and the more you see your code quality being better 
and better because of TDD, the more you want to automate the GUI tests.

So I will try the SendKeys class...


Sincerely,
Stefan Lieser 



To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/TestFirstUserInterfaces/

<*> To unsubscribe from this group, send an email to:
    TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/