0
我有一組C#測試啓動和測試GUI。 我使用Gallio.echo CLI來運行這些測試。 運行Windows Server 2003 哈德遜船長在Ubuntu 2003年的機器上運行是哈德森從試圖遠程運行GUI C#測試問題與Gallio.echo測試運行器遠程
我可以gallio.echo本地我2003的機器上運行我的測試。但是,我有一個試圖運行這些測試的Hudson作業,並且失敗了,可能是因爲被測試的GUI無法啓動。從哈德森錯誤輸出低於:
gallio.echo /rt:Xml 'Install Default Path/bin/Debug/Install Default Path.dll'
Gallio Echo - Version 3.1 build 397
Get the latest version at http://www.gallio.org/
Start time: 11:36 AM
Initializing the runtime and loading plugins.
Verifying test files.
Initializing the test runner.
Running the tests.
[failed] Test Install Default Path/AP158aSuccessfulInstallDefaultPath/PerformInstall
Set Up
White.Core.UIItems.UIActionException: Couldn't find window with title Autopoll in process 2884, after waiting for 5000 ms
at White.Core.Factory.WindowFactory.<>c__DisplayClass3.<WaitTillFound>b__1() in c:\white\Core\Factory\WindowFactory.cs:line 37
at Bricks.Core.Clock.Perform(Do do, Matched matched, Expired expired) in C:\bricks\Bricks\Core\Clock.cs:line 44
at White.Core.Factory.WindowFactory.WaitTillFound(Do find, String message) in c:\white\Core\Factory\WindowFactory.cs:line 38
at White.Core.Factory.WindowFactory.FindWindowElement(Process process, String title) in c:\white\Core\Factory\WindowFactory.cs:line 44
at White.Core.Factory.WindowFactory.CreateWindow(String title, Process process, InitializeOption option, WindowSession windowSession) in c:\white\Core\Factory\WindowFactory.cs:line 97
at White.Core.Application.GetWindow(String title, InitializeOption option) in c:\white\Core\Application.cs:line 125
at IRD.Autopoll.InstallerTestSuite.InstallDefaultPath.AP158aSuccessfulInstallDefaultPath.SetUp() in C:\cygwin\home\Administrator\workspace\Autopoll\Autopoll\test\AutopollSetup_Test\Install Default Path\AP158aSuccessfulInstallDefaultPath.cs:line 89
看來好像測試啓動,但GUI無法啓動由於遠程顯示的問題或隱藏,不能由測試中可以看出。
有沒有人在遠程Windows機器上運行GUI測試?