I what to run may watin tester in silent mode and how I can get Team City to run my tests ?
To open the tool's settings page, navigate to the My Settings&Tools page| TeamCity Tools side panel | Command Line Remote Run and click configure. Create a mapping configuration file: select a build configuration to run your personal build on from the dropdown with and click Add.
In Build Steps, click Auto-detect build steps, and then select the proposed steps you want to add to the current build configuration. You can change their settings afterwards.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With