This is a migrated thread and some comments may be shown as answers.

How to disable tracing

4 Answers 99 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jason Evans
Top achievements
Rank 1
Jason Evans asked on 07 Mar 2011, 08:56 PM
Hi there.

I've just downloaded the latest WebAii bits and I'm really liking the functionality. One thing I cannot find out how to configure is the output tracing from WebAii. In my unit test runners, I see a lot of tracing text such as:

[19:46] - Using ArtOfText.....

How can I disable this text from being outputted? I've looked at the documentation for the settings class, but can't seem to find the setting for tracing. Guess I've missed something. Could someone help me out please?

Cheers.
Jas.

4 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 16 Mar 2011, 07:45 PM
Hello Jason Evans,

I apologize for the delay responding to you. Unfortunately at this time there is no way to turn off our internal tracing as you request. We have this logged as a feature request, but I cannot say when it will be implemented.

Kind regards,
Cody
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Jason Evans
Top achievements
Rank 1
answered on 26 Mar 2011, 03:21 PM
Hi there.

No worries about the delay - appreciate the response. Thanks for adding this to your features list. As you can understand, seeing this in my unit test runner isn't always ideal:

Given I am on the home page
[13:56] - AdornerWnd::ShutDown::Start
[13:56] - AdornerWnd::LocationListener::Disposed
[13:56] - AdornerWnd::DetachWrappedWindow::Start
[13:56] - AdornerWnd::DetachWrappedWindow::End
[13:56] - AdornerWnd::DispatcherBeginInvokeShutdown::Start
[13:56] - AdornerWnd::Close::Start
[13:56] - Creating command queue for browser fde8901b-7bf8-441b-abf1-065ea32b1fd1
When I click the "Another Page" link
Then I will be taken to the StackOverflow site
[13:56] - AdornerWindow.AnnotatorUIThread
[13:56] - Exception Details:

Not the end of the world, but having the option to disable this type of logging would be ace :)

Cheers.
Jas.
0
Jason Evans
Top achievements
Rank 1
answered on 12 Aug 2011, 02:16 PM
Hi there.

Sorry to go on about this, but is there any chance of you guys looking into having an option to switch the tracing off? I just tried the latest build of WebAii, using a SpecFlow test project, in which I get the following output:

1) Given I am on the home page
Uncategorized: DialogMonitor.Start() : Using: ArtOfTest.WebAii, Version=2011.1.712.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c
Uncategorized: DialogMonitor.Start() : OS: Microsoft Windows NT 6.1.7601 Service Pack 1
DialogPlayback: DialogMonitor.Start() : Beginning monitoring for dialogs from the set {}.
UIAutomation: AutomationExtensions.AddAutomationEventHandler() : Added a(n) WindowPatternIdentifiers.WindowOpenedProperty handler on element System.Windows.Automation.AutomationElement scope Descendants.
Framework: Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
Uncategorized: BrowserHttpHost.HandleRequest() : Creating command queue for browser a9c797fe-957c-45e9-b1d8-2c783db70c9a
Framework: Manager.AddNewBrowser() : Added client ID "a9c797fe-957c-45e9-b1d8-2c783db70c9a" (now there is/are 1 total).
DialogPlayback: DialogMonitor.AutomationEvent_OnWindowOpened() : New window detected, but not considered a dialog (Text = "WebUI - Google Chrome", ClassName = "Chrome_WidgetWin_0").
DialogPlayback: DialogMonitor.AutomationEvent_OnWindowOpened() : New window detected, but not considered a dialog (Text = "Adorner", ClassName = "HwndWrapper[IsolatedAppDomainHost: SpecFlow.Tests.Acceptance;AnnotatorUIThread;6649db66-ad77-47fd-8388-178860de86d6]").
2) When I click to view my profile page
3) And I click on the reputation tab
4) Then I will see my reputation activity
Framework: Manager.RemoveBrowser() : Removed client ID "a9c797fe-957c-45e9-b1d8-2c783db70c9a" (0 remaining).
Framework: Manager.SetActiveBrowser() : Active browser is now null.
Uncategorized: AdornerWindow.ShutDown() : AdornerWnd::ShutDown::Start
Uncategorized: AdornerWindow.ShutDown() : AdornerWnd::LocationListener::Disposed
Uncategorized: AdornerWindow.ShutDown() : AdornerWnd::DetachWrappedWindow::Start
Uncategorized: AdornerWindow.ShutDown() : AdornerWnd::DetachWrappedWindow::End
Uncategorized: AdornerWindow.ShutDown() : AdornerWnd::DispatcherBeginInvokeShutdown::Start
Uncategorized: AdornerWindow.ShutDown() : AdornerWnd::Close::Start

Out of all that text, there's only 4 lines that I need to see. I really would like to show WebAii to my work colleagues, and get them into acceptance testing, and hiding the tracing text will make a better first impression.

So please, please, please :)... can you maybe push this request higher up in the requested features list if it's feasible?

Cheers.
Jas.
0
Cody
Telerik team
answered on 12 Aug 2011, 11:02 PM
Hello Jason Evans,

Our upcoming R2 release, due out in the middle of September, will include a new setting in which you can turn on/off our trace messages.

Regards,
Cody
the Telerik team
Vote for Telerik Test Studio at the Annual Automation Honors Voting!
Tags
General Discussions
Asked by
Jason Evans
Top achievements
Rank 1
Answers by
Cody
Telerik team
Jason Evans
Top achievements
Rank 1
Share this question
or