New to NUnit and White

May 26, 2009 at 10:04 PM

I am brand new to NUnit and White so I've got some very basic questions.

1. I've got NUnit installed and now I want to install White.  There is no installer.  How do I integrate White with NUnit?  Do I just need to copy the files in the zip file in the NUnit directory somewhere?  If so, where?

2. Is there a detailed getting started guide somewhere for White?  What I've found assumes I know more than I do.  I need the For Dummies version.

I appreciate any help anyone can give.

May 28, 2009 at 9:56 AM

Hy

 

to 1. you don't need to install, unpack the zip in any folder you want. You need to reference the dll's (White.Nunit.dll and White.Core.dll). Maybe other dlls for special things I'm not sure.

use UISpy  or http://uiautomationverify.codeplex.com/  to find out all needed informations about UI Elements.

simple start:

 

Application application = Application.Launch("path to a program");

Window myWindow = application.GetWindow("name of the window");  //get name using one of the above tools

have a look about the other classes describing UI elements in the documentation of core

ListBox, Button, and so on

 

Throndorin