I what to run开发者_JAVA技巧 may watin tester in silent mode and how I can get Team City to run my tests ?
Watin tests can be made to run with IE hidden from view by setting the MakeNewIeInstanceVisible flag. It is true by default.
In the WatiN 2 release candidate, IE can be hidden with:
WatiN.Core.Settings.MakeNewIeInstanceVisible = false;
I have not tested on earlier WatiN versions but the releasenotes for version 1.2.0.4 explains the feature for that version:
By default WatiN tests make the created Internet Explorer instances visible to the user. You >can run your test invisible by changing the following setting. Be aware that HTMLDialogs and >any popup windows will be shown even if you set this setting to false (this is default >behavior of Internet Explorer which currently can't be suppressed).
IE.Settings.MakeNewIeInstanceVisible = false; // default is true
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论