WatiN (pronounced What-in) is an easy to use, feature rich framework for writing browser test automation in .NET.

learn more… | top users | synonyms

7
votes
4answers
2k views

Need to make WatiN work for us, or need to find a different tool

tl;dr version: WatiN Test Recorder looks dead, and I am unsure of the status of WatiN itself. I need to make them work or find alternatives that meet our requirements. Suggestions? Longer version: ...
5
votes
3answers
458 views

Best practices for developers to increase testability of web apps for QA?

I'm writing a document for a developer at my company who will be working on a web app. Here's the advice I have for him so far (below). Can any of you think of more that I can add? Not sure which tool ...
5
votes
1answer
107 views

Is there a good way to structure my test code so I don't have to duplicate tests for different browsers using WatiN

In my WatiN tests I am currently structuring the test like this: [TestMethod] public void Failed_Attempted_Login_Invalid_Combination() { using (var browser = new IE(baseUrl + "login.aspx")) { ...
3
votes
2answers
374 views

Running WatiN Tests in TFS Build

I have created a suite of WatiN tests and added them into Source Control. My team are new to using TFS and I am looking at how I can get the tests to run as part of a TFS Build that will build all the ...
3
votes
4answers
1k views

How to deal with a dynamically populating list box with WatiN

I am looking for some suggestions on how to deal with a slight timing issue that I am having with two controls on a page. I have a list box that contains up to 10 items, however the contents of the ...
2
votes
1answer
449 views

BDD SpecFlow w/WatiN test during/after redirect

I have begun to use SpecFlow and WatiN to automate UI tests in IE9, and am encountering a maddening problem which may have nothing do to with either, but hey. I have the following step: [Then] public ...
2
votes
1answer
403 views

Cucumber and Watin for Acceptance testing in Asp.Net MVC

If the business owner/QA are writing/running the Acceptance test against the front end of a Asp.Net Mvc Application, is there a benefit to using SpecFlow/Watin or SpecFlow/Selenium over ...
1
vote
1answer
142 views

c# with Watin and SpecFlow - how to mark some test

How can you mark some tests to run only those? From all the test that you have in different folder to mark some as sanity and only run those?
0
votes
1answer
83 views

How to access a dynamically created element

I am using Watin to test a website. It contains a div which is created dynamically on clicking a tablecell. How can I access the dynamically created div. The issue is the div is deleted after a short ...