Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [watin]

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

0
votes
1answer
1k 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 ...
6
votes
3answers
2k 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 ...
1
vote
1answer
301 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?
3
votes
1answer
987 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 ...
3
votes
1answer
644 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 Cucumber/Watir,...
3
votes
2answers
424 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 ...
8
votes
4answers
3k 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: ...
6
votes
1answer
116 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")) { ...
4
votes
4answers
2k 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 ...