I've been using WatiN as a testing tool for my current project. Besides the minor bugs with the Test Recorder, I've been able to use it and automate a lot of my tests in conjunction with NUnit. Anyone else out there with experience with different tools they might suggest?
...
We're using WatiN for testing our UI, but one page (which is unfortunately not under our teams control) takes forever to finish loading. Is there a way to get WatiN to click a link on the page before the page finishes rendering completely?
...
For my acceptance testing I'm writing text into the auto complete extender and I need to click on the populated list.
In order to populate the list I have to use AppendText instead of TypeText, otherwise the textbox looses focus before the list is populated.
Now my problem is when I try to click on the populated list. I've tried search...
I wondered if anyone had successfully managed, or knew how to automate the Safari web browser on the Windows platform.
Ideally I would like to automate Safari in a similar way to using mshtml for Internet Explorer. Failing that a way to inject JavaScript into the running process would also be fine. I've used the JavaScript injection met...
In my current project we are testing our ASP.NET GUI using WatiN and Mbunit.
When I was writing the tests I realized that it would be great if we also could use all of these for stresstesting. Currently we are using Grinder to stresstest but then we have to script our cases all over again which for many reasons isent that good.
I have ...
I added some simple WatiN tests to our app today to check that a cookie value is stored correctly.
The tests pass locally on all machines in the team. However, when CruiseControl runs the tests on our Build server these new tests fail on the line containing
browser.GetCookie(url, cookieName)
The error given in the CruiseControl log is...
Can anyone provide and example of downloading a PDF file using Watin? I tried the SaveAsDialogHandler but I couldn't figure it out. Perhaps a MemoryStream could be used?
Thanks,
--jb
...
We are using Team City and I noticed problem during running Watin test. Sometimes some instance of IE randomly just don't stop in task manager on build server, even if test closes all opened instances. This causes failure of all tests that follows.
We tried with script that kills all instances of ie before this test starts runing, but th...
How do I get Watin to bypass (or click "OK") when the "this page is being redirected" popup appears when trying to GoTo(url)?
...
I'm using WatiN, NUnit and ReSharper to run my ASP.NET unit tests inside Visual Studio. I'd like (if it's not already running) to start Cassini to run my tests against.
Is this possible? How would I do it?
...
I need to create a screenshot of the page by providing a page URL to the command line tool. I found the following application: Convert HTML To Image. This tool is OK but want a more flexible application. I need to have ability to perform the following:
Go to the following page.
Click button.
Take a screenshot and save it.
I want to c...
Is there a common way to access the local machines csproj.user file to get the web site url for watin tests so that The tests can run on each developers local server as well as on IIS on the build server? I guess you could parse the xml file yourself, but I am wondering if there is a Cleaner/Easier way.
...
Hi,
How can i use Watin to get the list of available button on a website?
How do the watinTestRecorder do it?
thanks
...
I'm looking for a tool that I could potentially use in combination with WatiN that would allow me to more or less measure both the response time of an interaction and also the filesize of the same interaction in combination with WatiN. Let's say, I make a google request. That's great, we've all seen that example, but what if I want to se...
Problem: I am looking for a way to run a test that is able to disambiguate between select controls that have the same value in more than one place.
Example:
I am trying to choose the third "monday" from a select control
ie.select_list( :id , 'choose-day' ).set( '-monday' );
where the select control has a kind of "outline" format in...
How to find a specific element, or a list of elements by using their TagName using Watin?
...
I have an ajax toolkit TabContainer control on my page with a couple tabs. In my test, I would like to switch between the tabs.
I've tried _ie.Span("tabHeaderID").Click(), .MouseDown(), .FireEvent("onclick"). I've tried these same methods on the parent span elements as well.
I've also tried Eval-ing some javascript to set the active in...
I'm going to start building 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? Why did that product work better for you?
As a side note, I noticed that WatiN 2.0 has been in CTP since March 2008, is that something to be conc...
I have created a nunit project(NunitLoginTest.nunit) by selcting my test project in the nunit\bin directory and now I am trying to load that project but it is giving me the following error.
Unable to load Because it is not located under Appbase, could not load file or assembly "nunitLogintest" or one of its dependencies. The system can...
I am just starting with WatiN and I want to make sure any cookies i have from previous sessions on the site are cleared off before I run the tests. The clear cookies command results in an exception that seems to be at the COM level.
Unhandled Exception:
System.ArgumentException: Value does not fall within the expected range.
at
...