title: Test succeeds when stepping through the test; othwerwise not
body: <p>I have written a test with WatiN and when a step through the code with F10, the test succeeds, but when I execute the 'Run Test' command from the context menu, the test fails.</p>
  
  <p>Here's my test:</p>
  
  <pre><code>[TestMethod]
  [STAThread]
  public void Should_show_captcha_after_three_invalid_login_attempts_with_invalid_username()
  {
      // Given
      int numberOfLoginAttempts = 3;
  
      // When
      for (int loginAttempt = 1; loginAttempt &lt;= numberOfLoginAttempts; loginAttempt++)
      {
          EnterUsername(LoginSettings.ValidUserName);
          EnterPassword(loginAttempt.ToString());
  
          ClickLoginButton();
  
          // Check we are still on the loginpage
          Assert.IsTrue(_browser.Title.Contains("Inloggen"));
      }
  
      bool isCaptchaVisible = _browser.Page&lt;LoginPage&gt;().Captcha.Exists;
  
      // Then
      Assert.IsTrue(isCaptchaVisible);
  
      // Make sure to clear the login attempts for next test cases
      RemoveLoginAttempts();
  }
  </code></pre>
  
  <p>FYI: In the DB we keep track of the loginAttempts based on the username. When the number of loginattempts is > 2, the captcha is shown. The problem I encounter is that the counter in the DB stays 1. When I manually step through the test, the counter is increased.</p>
  
  <p>How is this possible?</p>