Where does LogStructure() write too?

Aug 3, 2010 at 5:08 PM

I am trying to use this method but for the life of me can't find out where it's writing to, would some please be kind enough to explain it's usage.

 

Thank you,

Stephen

Aug 4, 2010 at 5:54 AM
Edited Aug 4, 2010 at 6:13 AM

Hi

if you use Nunit to run your tests have a look in Text output tab

if you use Visual Studio with resharper you can find the output in the resharper Unit Test Session Window

last you can look in the log file of white, next to your test dll. (White.log)

Throndorin

Aug 4, 2010 at 5:03 PM

More specifics from me, sorry..

 

I'm using MSTest and the debug test runner is Code Rush, I'll check the white.log also.

 

Thank you,

Stephen

Aug 5, 2010 at 7:10 AM
Edited Aug 5, 2010 at 7:13 AM

are there no infos in the white log??

 

should look like this:

 

 


ControlType: ControlType.Custom
Name:
HelpText:
Bounding rectangle: 292;148;926;770
ClassName: DashboardContent
IsOffScreen: False
FrameworkId: WPF
ProcessId: 5600

System.Windows.Automation.SynchronizedInputPattern

    AutomationId: contentPanel
    ControlType: ControlType.Custom
    Name:
    HelpText:
    Bounding rectangle: 292;148;926;770
    ClassName: ContentPanel
    IsOffScreen: False
    FrameworkId: WPF
    ProcessId: 5600

    System.Windows.Automation.SynchronizedInputPattern

        AutomationId: menuContentSwitcher
        ControlType: ControlType.Menu
        Name:
        HelpText:
        Bounding rectangle: Empty
        ClassName: Menu
        IsOffScreen: True
        FrameworkId: WPF
        ProcessId: 5600

        System.Windows.Automation.SynchronizedInputPattern

        AutomationId: labelProjectName
        ControlType: ControlType.Text
        Name: Produktsuche
        HelpText:
        Bounding rectangle: Empty
        ClassName: Text
        IsOffScreen: True
        FrameworkId: WPF
        ProcessId: 5600

 

 

maybe you should define log4net (see how to use configuration file)

 

Throndorin

Feb 10, 2011 at 6:49 PM
Edited Feb 10, 2011 at 7:26 PM

I am having some issues getting the output of LogStructure(). I have used NUnit and looked in the Text Output window, I have used MSTest and checked the output folder, and I have searched for a White.log file and can't find one. It should be with the dll I am running, but it is nowhere to be found. Am I missing something? Is there an option that needs to be checked to see this, or can it print to console?

Thanks!

Edit: I just changed the source code to print to the console and recompiled it. I am not sure what my problem was, but this allowed me to see the logstructure which is all that I needed.