How do I use the classes generated by the recorder

Sep 14, 2010 at 11:16 PM
Edited Sep 14, 2010 at 11:27 PM

The Recorder generates classes for that match a given window under test.

 

using White.Core.UIItems;
using White.Core.UIItems.WindowItems;
using Repository;
public partial class WindowUnderTest : Repository.AppScreen {
    [Repository.ScreenAttributes.IndexAttribute("0", 0)]
    private White.Core.UIItems.Button 0;
    private White.Core.UIItems.Thumb ;
    [Repository.ScreenAttributes.IndexAttribute("1", 1)]
    private White.Core.UIItems.Button 1;
    protected WindowUnderTest() {
    }
    public WindowUnderTest(White.Core.UIItems.WindowItems.Window window, Repository.ScreenRepository screenRepository) : 
            base(window, screenRepository) {
    }
}

Is there a tutorial around on how to instanciate and use these window classes? What do these Attributes do? Who will find and initilize the two button memeber for me?

 

Coordinator
Oct 10, 2010 at 4:08 AM

These features are in beta.

http://white.codeplex.com/wikipage?title=White%20ScreenRepository&referringTitle=Functional%20Testing