﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Bernardo Heynemann commented on Zero Friction: Creating a test model</title><description>Hey Ayende,
  
  
How about giving Stormwind.Accuracy a try? It's written on top of Watin (you could use any browser driver though).
  
  
It's really easy to use, and I guess you will find you don't need to remember the field names since you can specify a convention for the fields, like:
  
if you use "txt" as a prefix for Textboxes and you want txtUserName, in your test you would use "User Name" as the textbox name.
  
  
You should at least check it out... You might want to help us out get it improved!
  
  
You can check it out here: http://using.stormwindproject.org:8081/display/accuracy/Home
  
  
And you can check-out it here (lol):
  
http://svn.stormwindproject.org/svn/Stormwind.Accuracy/
  
  
Cheers,
  
Bernardo Heynemann
  
Developer @ ThoughtWorks UK
</description><link>http://ayende.com/3373/zero-friction-creating-a-test-model#comment5</link><guid>http://ayende.com/3373/zero-friction-creating-a-test-model#comment5</guid><pubDate>Thu, 19 Jun 2008 09:34:05 GMT</pubDate></item><item><title>Kevin Dente commented on Zero Friction: Creating a test model</title><description>James Avery extended WatinRecorder to generate similar style models:
  
http://infozerk.com/averyblog/watin-test-recorder-watin-model-style/
  
</description><link>http://ayende.com/3373/zero-friction-creating-a-test-model#comment4</link><guid>http://ayende.com/3373/zero-friction-creating-a-test-model#comment4</guid><pubDate>Tue, 17 Jun 2008 20:02:52 GMT</pubDate></item><item><title>Paul Hatcher commented on Zero Friction: Creating a test model</title><description>This looks a bit like the page manager model suggested for testing WebForms - see http://blogs.conchango.com/richardgriffin/archive/2006/11/14/Testing-Design-Pattern-for-using-WATiR_2F00_N.aspx
</description><link>http://ayende.com/3373/zero-friction-creating-a-test-model#comment3</link><guid>http://ayende.com/3373/zero-friction-creating-a-test-model#comment3</guid><pubDate>Tue, 17 Jun 2008 10:18:45 GMT</pubDate></item><item><title>Ayende Rahien commented on Zero Friction: Creating a test model</title><description>The model is a stupid representation of the page.
  
I want to be able to do more than just set values there, I need to interact with the page.
  
For example, I may want to type slowly and watch that the JS observer is doing its job, etc.
</description><link>http://ayende.com/3373/zero-friction-creating-a-test-model#comment2</link><guid>http://ayende.com/3373/zero-friction-creating-a-test-model#comment2</guid><pubDate>Tue, 17 Jun 2008 10:02:18 GMT</pubDate></item><item><title>Benny Thomas commented on Zero Friction: Creating a test model</title><description>Not so bad, I may adopt this!
  
  
BUT, a big but!
  
  
Why the redirection of ITextField and IButton. 
  
  
edit.WebCastName.Value = newTestName;
  
  
Should be
  
  
edit.WebCastName = newTestName;
  
  
likewise
  
  
edit.Save.Click()
  
  
Should be
  
  
edit.Save();
  
  
I understand that you want to reveal your intent about making this look like user interaction. But this clearly  break a LoD? 
</description><link>http://ayende.com/3373/zero-friction-creating-a-test-model#comment1</link><guid>http://ayende.com/3373/zero-friction-creating-a-test-model#comment1</guid><pubDate>Tue, 17 Jun 2008 07:23:11 GMT</pubDate></item></channel></rss>