RE: [TFUI] Infragistics question

"Chris Nielsen" <[email protected]> Fri, 29 Apr 2005 13:38:25 -0600
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <0EBBEC8FB122784BB6B8D8AEC4C7A3320D18A5@aries.logan.newdawntech.com>
We've begun using the SendKeys namespace in the .NET framework (may only
be CLR 2.0, haven't done this with 1.1 so don't know if it exists) to do
some of what you're talking about. We also directly call button click
handler methods, for example, to simulate mouse activity for some of our
controls. You have to know when to draw the line and trust that
inherited code is already sufficiently tested.

With a bit of creativity and purposed simplicity in testing you can test
most of the important facets of UI controls. You have to decide between
what belongs at the unit test level and what belongs at the functional
testing level (using a testing tool like TestAdvantage, for example).
We've made quite a few decisions to push thorough UI testing to the
functional testing level, and those tests will be written by testers and
the customers. Since Quality Assurance is my purview on our small team,
I feel comfortable pushing things to that level because I know I'll be
in charge of making sure it gets done right at a later stage in the
development cycle.

Chris Nielsen
Software Engineer
New Dawn Technologies
 
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Tony
Nassar
Sent: Thursday, April 28, 2005 1:17 PM
To: [email protected]
Subject: [TFUI] Infragistics question

I've inherited an application that uses Infragistics widgets
extensively,
even promiscuously. Let's say I have an UltraWinTree (I do, in fact).
Let's
also say that the original developer simply used globals extensively. I
want
to put the tree inside a custom control, let the custom control own the
formerly global data, and put the data inside a
CustomTreeSelectEventArgs
object. 

Perhaps I'm doing this all wrong, but I'd like to have my tests "select"
nodes from the tree, in order to verify that the expected events fire.
Anyone know how I can do this?



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



 



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/