Tag: automated-tests

asp.net – WatiN or Selenium?

The Question : 148 people think this question is useful I’m going to start coding some automated tests of our presentation soon. It seems that everyone recommends WatiN and Selenium. Which do you prefer for automated testing of ASP.NET web forms? Which of these products work better for you? As a side note, I noticed

Capybara has_content? block

问题内容: Sometime I really need to check something in the database, But if I immediate will go to database with u = User.last there is a chance that AJAX request wont finished and in the User.last – I’ll find old record. So for this I need some workaround, for example, assert has_content? ‘Success’ do #