Re: [TFUI] Testing WinForms

Tim Haughton <[email protected]> Thu, 5 Jan 2006 15:45:37 +0000
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <[email protected]>
On 05/01/06, Stefan Lieser <[email protected]> wrote:
>
> Hi,
>
> I program in C# with VS2005 and use NUnit heavily to test my business
> objects.
> I tried to use NUnitForms to test the WinForms code but I'm not very happy
>
> with NUnitForms because to me it is not enough "low-level". For example if
>
> you want to test what happens if one enters a specific text into a TextBox
>
> control, NUnitForms sets the Text property of the control instead of
> "typing" the characters as the user would do it. Therefore not all
> necessary
> TextBox events are fired.
>
> I would like to use a tool that simulates keyboard and mouse activity so
> that even custom control behaviour can be tested. Do you know of such a
> tool?
>

There are tools made by Rational and the like that record and playback
actions on your GUI and check what is happening. These are really in the
realm of regression testing rather than TDD, and I have to say I've never
really found a use for them.

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.

--
Regards,

Tim Haughton

http://agitek.co.uk
http://blogitek.com/timhaughton


[Non-text portions of this message have been removed]



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/