public void interacts_with_webapp_to_handle_login() { var request = new LoginRequest { UserName = "******", Password = "******" }; _interactor.Login(request); _page.Verify(p => p.Login(request.UserName, request.Password)); }
private void btnLogin_Click(object sender, EventArgs e) { var interactor = new LoginInteractor(this, _appDriver); var request = new LoginRequest { UserName = tbUserName.Text, Password = tbPassword.Text }; interactor.Login(request); }