COULD NOT FIND THE AUTOMATION ELEMENT FOR processId

Oct 20, 2011 at 8:10 PM

I recently upgraded to the newest version of Statlight (I think I was running 1.3 before) and now my CruiseControl runs are intermittently failing.

 


StatLight - Version 1.5.4260Copyright (C) 2009-2011 Jason JarrettAll Rights Reserved.
DiskXapHostFileLoader cannot find file - D:\depot\LEET\MAIN_DEV\Artifacts\TestResults\xbctsvc_REACHCI 2011-10-20 12_00_18\Out\StatLight.Client.For.July2009.xapDiskXapHostFileLoader cannot find file - D:\depot\LEET\MAIN_DEV\Artifacts\TestResults\xbctsvc_REACHCI 2011-10-20 12_00_18\Out\StatLight.Client.For.October2009.xapDiskXapHostFileLoader cannot find file - D:\depot\LEET\MAIN_DEV\Artifacts\TestResults\xbctsvc_REACHCI 2011-10-20 12_00_18\Out\StatLight.Client.For.November2009.xapDiskXapHostFileLoader cannot find file - D:\depot\LEET\MAIN_DEV\Artifacts\TestResults\xbctsvc_REACHCI 2011-10-20 12_00_18\Out\StatLight.Client.For.March2010.xapDiskXapHostFileLoader cannot find file - D:\depot\LEET\MAIN_DEV\Artifacts\TestResults\xbctsvc_REACHCI 2011-10-20 12_00_18\Out\StatLight.Client.For.May2010.xapDiskXapHostFileLoader cannot find file - D:\depot\LEET\MAIN_DEV\Artifacts\TestResults\xbctsvc_REACHCI 2011-10-20 12_00_18\Out\StatLight.Client.For.Feb2011.xapDiskXapHostFileLoader cannot find file - D:\depot\LEET\MAIN_DEV\Artifacts\TestResults\xbctsvc_REACHCI 2011-10-20 12_00_18\Out\StatLight.Client.For.June2011.xapDiskXapHostFileLoader cannot find file - D:\depot\LEET\MAIN_DEV\Artifacts\TestResults\xbctsvc_REACHCI 2011-10-20 12_00_18\Out\StatLight.Client.For.UnitDrivenDecember2009.xapDiskXapHostFileLoader cannot find file - D:\depot\LEET\MAIN_DEV\Artifacts\TestResults\xbctsvc_REACHCI 2011-10-20 12_00_18\Out\StatLight.Client.For.XunitContribApril2011.xap****************** Input options as configured ******************ContinuousIntegrationMode          : FalseDlls                               : IEnumerable<string>                                     {                                     }ForceBrowserStart                  : FalseIsRequestingDebug                  : TrueMethodsToTest                      : IEnumerable<string>                                     {                                     }MicrosoftTestingFrameworkVersion   : NumberOfBrowserHosts               : 1OutputForTeamCity                  : FalseQueryString                        : ReportOutputFileType               : StatLightShowHelp                           : FalseShowTestingBrowserHost             : FalseStartWebServerOnly                 : FalseTagFilters                         : UnitTestProviderType               : UndefinedUseRemoteTestPage                  : FalseWebBrowserType                     : SelfHostedXapPaths                           : IEnumerable<string>                                     {                                       'MediaPlayerUnitTests.xap'                                     }XmlReportOutputPath                : C:\Report.xml*****************************************************************RunnerType = OneTimeConsoleStarting configuration for: MediaPlayerUnitTests.xapXapItems.FilesContainedWithinXap = AppManifest.xamlXapItems.FilesContainedWithinXap = Castle.Core-Silverlight.dllXapItems.FilesContainedWithinXap = Castle.DynamicProxy-Silverlight.dllXapItems.FilesContainedWithinXap = Leet.Core.Silverlight.dllXapItems.FilesContainedWithinXap = Leet.Core.Silverlight.UnitTests.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Catalog.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Catalog.UnitTest.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Commerce.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Commerce.Tests.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Mix.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Profile.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Profile.Tests.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Usage.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Usage.Tests.dllXapItems.FilesContainedWithinXap = Leet.MediaPlayers.Core.dllXapItems.FilesContainedWithinXap = Leet.MediaPlayers.Core.Tests.dllXapItems.FilesContainedWithinXap = Leet.MediaPlayers.MusicPlayers.InPage.dllXapItems.FilesContainedWithinXap = Leet.MediaPlayers.MusicPlayers.InPage.Tests.dllXapItems.FilesContainedWithinXap = Leet.MediaPlayers.MusicPlayers.Popout.dllXapItems.FilesContainedWithinXap = Leet.MediaPlayers.MusicPlayers.Popout.Tests.dllXapItems.FilesContainedWithinXap = Leet.TestUtilities.Silverlight.dllXapItems.FilesContainedWithinXap = MediaPlayerUnitTests.dllXapItems.FilesContainedWithinXap = Microsoft.Silverlight.Testing.dllXapItems.FilesContainedWithinXap = Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dllXapItems.FilesContainedWithinXap = RatingsLibrary.dllXapItems.FilesContainedWithinXap = Rhino.Mocks 3.5.Silverlight.dllXapItems.FilesContainedWithinXap = System.Json.dllXapItems.FilesContainedWithinXap = System.ServiceModel.Syndication.dllXapItems.FilesContainedWithinXap = System.Windows.Interactivity.dllXapItems.FilesContainedWithinXap = System.Xml.Linq.dllXapItems.FilesContainedWithinXap = System.Xml.Serialization.dllXapItems.FilesContainedWithinXap = VideoPlayer.dllXapItems.FilesContainedWithinXap = VideoPlayerControl.dllXapItems.FilesContainedWithinXap = VideoPlayerControlUnitTests.dllXapItems.FilesContainedWithinXap = VideoPlayerResources.dllIncoming Microsoft.Silverlight.Testing.dll file's hash = 357A677957F309AE85C3E5AEEDA43A32BCA23AD3Attempting to open port at http://localhost:8887/testPageUrlWithQueryString = http://localhost:8887/GetHtmlTestPage?IRunner typeof(OnetimeRunner)

Starting Test Run: 10/20/2011 12:00:20 PM
Listening on http://localhost:8887/Loading XapHost file [MSTestApril2010]Loading XapHost [D:\depot\LEET\MAIN_DEV\Artifacts\TestResults\xbctsvc_REACHCI 2011-10-20 12_00_18\Out\StatLight.Client.For.April2010.xap]XapItems.FilesContainedWithinXap = AppManifest.xamlXapItems.FilesContainedWithinXap = Castle.Core-Silverlight.dllXapItems.FilesContainedWithinXap = Castle.DynamicProxy-Silverlight.dllXapItems.FilesContainedWithinXap = Leet.Core.Silverlight.dllXapItems.FilesContainedWithinXap = Leet.Core.Silverlight.UnitTests.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Catalog.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Catalog.UnitTest.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Commerce.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Commerce.Tests.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Mix.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Profile.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Profile.Tests.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Usage.dllXapItems.FilesContainedWithinXap = Leet.DataAccess.Usage.Tests.dllXapItems.FilesContainedWithinXap = Leet.MediaPlayers.Core.dllXapItems.FilesContainedWithinXap = Leet.MediaPlayers.Core.Tests.dllXapItems.FilesContainedWithinXap = Leet.MediaPlayers.MusicPlayers.InPage.dllXapItems.FilesContainedWithinXap = Leet.MediaPlayers.MusicPlayers.InPage.Tests.dllXapItems.FilesContainedWithinXap = Leet.MediaPlayers.MusicPlayers.Popout.dllXapItems.FilesContainedWithinXap = Leet.MediaPlayers.MusicPlayers.Popout.Tests.dllXapItems.FilesContainedWithinXap = Leet.TestUtilities.Silverlight.dllXapItems.FilesContainedWithinXap = MediaPlayerUnitTests.dllXapItems.FilesContainedWithinXap = Microsoft.Silverlight.Testing.dllXapItems.FilesContainedWithinXap = Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dllXapItems.FilesContainedWithinXap = RatingsLibrary.dllXapItems.FilesContainedWithinXap = Rhino.Mocks 3.5.Silverlight.dllXapItems.FilesContainedWithinXap = System.Json.dllXapItems.FilesContainedWithinXap = System.ServiceModel.Syndication.dllXapItems.FilesContainedWithinXap = System.Windows.Interactivity.dllXapItems.FilesContainedWithinXap = System.Xml.Linq.dllXapItems.FilesContainedWithinXap = System.Xml.Serialization.dllXapItems.FilesContainedWithinXap = VideoPlayer.dllXapItems.FilesContainedWithinXap = VideoPlayerControl.dllXapItems.FilesContainedWithinXap = VideoPlayerControlUnitTests.dllXapItems.FilesContainedWithinXap = VideoPlayerResources.dllre-writing host xap with the following files    -  already has file AppManifest.xaml    add -  Castle.Core-Silverlight.dll        updated AppManifest - Castle.Core-Silverlight    add -  Castle.DynamicProxy-Silverlight.dll        updated AppManifest - Castle.DynamicProxy-Silverlight    add -  Leet.Core.Silverlight.dll        updated AppManifest - Leet.Core.Silverlight    add -  Leet.Core.Silverlight.UnitTests.dll        updated AppManifest - Leet.Core.Silverlight.UnitTests    add -  Leet.DataAccess.Catalog.dll        updated AppManifest - Leet.DataAccess.Catalog    add -  Leet.DataAccess.Catalog.UnitTest.dll        updated AppManifest - Leet.DataAccess.Catalog.UnitTest    add -  Leet.DataAccess.Commerce.dll        updated AppManifest - Leet.DataAccess.Commerce    add -  Leet.DataAccess.Commerce.Tests.dll        updated AppManifest - Leet.DataAccess.Commerce.Tests    add -  Leet.DataAccess.Mix.dll        updated AppManifest - Leet.DataAccess.Mix    add -  Leet.DataAccess.Profile.dll        updated AppManifest - Leet.DataAccess.Profile    add -  Leet.DataAccess.Profile.Tests.dll        updated AppManifest - Leet.DataAccess.Profile.Tests    add -  Leet.DataAccess.Usage.dll        updated AppManifest - Leet.DataAccess.Usage    add -  Leet.DataAccess.Usage.Tests.dll        updated AppManifest - Leet.DataAccess.Usage.Tests    add -  Leet.MediaPlayers.Core.dll        updated AppManifest - Leet.MediaPlayers.Core    add -  Leet.MediaPlayers.Core.Tests.dll        updated AppManifest - Leet.MediaPlayers.Core.Tests    add -  Leet.MediaPlayers.MusicPlayers.InPage.dll        updated AppManifest - Leet.MediaPlayers.MusicPlayers.InPage    add -  Leet.MediaPlayers.MusicPlayers.InPage.Tests.dll        updated AppManifest - Leet.MediaPlayers.MusicPlayers.InPage.Tests    add -  Leet.MediaPlayers.MusicPlayers.Popout.dll        updated AppManifest - Leet.MediaPlayers.MusicPlayers.Popout    add -  Leet.MediaPlayers.MusicPlayers.Popout.Tests.dll        updated AppManifest - Leet.MediaPlayers.MusicPlayers.Popout.Tests    add -  Leet.TestUtilities.Silverlight.dll        updated AppManifest - Leet.TestUtilities.Silverlight    add -  MediaPlayerUnitTests.dll        updated AppManifest - MediaPlayerUnitTests    -  already has file Microsoft.Silverlight.Testing.dll    -  already has file Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll    add -  RatingsLibrary.dll        updated AppManifest - RatingsLibrary    add -  Rhino.Mocks 3.5.Silverlight.dll        updated AppManifest - Rhino.Mocks 3.5.Silverlight    add -  System.Json.dll        updated AppManifest - System.Json    add -  System.ServiceModel.Syndication.dll        updated AppManifest - System.ServiceModel.Syndication    add -  System.Windows.Interactivity.dll        updated AppManifest - System.Windows.Interactivity    -  already has file System.Xml.Linq.dll    -  already has file System.Xml.Serialization.dll    add -  VideoPlayer.dll        updated AppManifest - VideoPlayer    add -  VideoPlayerControl.dll        updated AppManifest - VideoPlayerControl    add -  VideoPlayerControlUnitTests.dll        updated AppManifest - VideoPlayerControlUnitTests    add -  VideoPlayerResources.dll        updated AppManifest - VideoPlayerResources........COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876.........................COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876.......................COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876..................................COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876.............................COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876.........COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876COULD NOT FIND THE AUTOMATION ELEMENT FOR processId 7876
No communication from the web browser has been detected. We've waited longer than the configured time of 00:05:00
------------------ Test Failed ------------------Test Namespace:    Test Class:        Test Method:       Other Info:        No communication from the web browser has been detected. We've waited longer than the configured time of 00:05:00-------------------------------------------------webBrowser.Stop()

-- Completed Test Run at: 10/20/2011 12:05:48 PM. Total Run Time: 00:05:28.3062090
Test run results: Total 129, Successful 128, Failed 1, *********************************Wrote XML report to:C:\Report.xml*********************************

Coordinator
Oct 21, 2011 at 3:55 AM

What version of the Microsoft.Silverlight.Testing framework do you have?

Make sure that you have all the files statlight has extracted to where statlight.exe lives. Also make sure you "unblock" each file you downloaded (right click->properties->Unblock)

Hope this helps.