Just a sample of test written in HTML:
|This is random comment|
I love this. The Selenium IDE even more simplifies the task of writing tests with hints about available commands and parameters. This is really cool.
But… What are my requirements for now? Basically I just need to crawl the site to verify every thing is working fine. So even plain Request/Response would do the task for me. Keeping in mind that later I will definitely need something more (has somebody said the requirements should never change??) I did not go the plain Request/Response way (like already closed project - NUnitASP).
I went WatiN way :) This project is comparably new and it come with IE 6, 7 support only. In the Feb 2008 it should support Firefox also.
The reasons why I have chosen WatiN:
- I believe in its success.
- Full user simulation.
- No additional server maintenance (comparing to Selenium).
- It is native .NET implementation (that is based on COM Interop :-))
- Very nice syntax to write tests.
- It has recorder (honestly, not impressed of it).
- Write tests in Excel using Wax. (Haven’t tried it yet).
- Looking forward for Firefox support.
The reason (ONE) why I did not went Selenium way:
- It requires keeping all tests on the server. It is not good for me because:
- I don’t like to fight with caching every time I change one line in HTML-test.
- Keeping tests on the production server exposes security issues.
- Keeping tests on the server requires (small) maintenance efforts.
As far as I can see these 2 tools are very good ones, but choose one with accuracy… Or maybe use both.