tag:blogger.com,1999:blog-12467669.post765566901080946222..comments2023-04-29T07:23:25.825-04:00Comments on Jay Fields' Thoughts: The Immaturity of In Browser TestingJayhttp://www.blogger.com/profile/14491442812573747680noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-12467669.post-31138992455240530782008-07-12T00:01:00.000-04:002008-07-12T00:01:00.000-04:00I found WatiN or InCisif.net easier to use for imp...I found WatiN or <A HREF="http://www.InCisif.net" REL="nofollow">InCisif.net</A> easier to use for implementing functional web testing on the .NET platform.Unknownhttps://www.blogger.com/profile/04662620590702592769noreply@blogger.comtag:blogger.com,1999:blog-12467669.post-70756821618495143472008-07-04T23:51:00.000-04:002008-07-04T23:51:00.000-04:00I think the way to go is do the unit testing on th...I think the way to go is do the unit testing on the server. Why should UI code by so difficult to test? MVC was created to enable easy unit testing of business logic so business logic wasn't always easy to test. If we rewrite UI code to be easier to test then we can eliminate the browser all together. It's a high ideal but I think it's the best way to go in the long term. you can find more of my thought on the future of UI testing here: http://jonathanparker.com.au/archive/2008/01/12/why-microsoft-is-going-in-the-wrong-direction-with-the-asp-net-mvc-framework.aspxAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-12467669.post-44604691268114459572008-07-03T19:05:00.000-04:002008-07-03T19:05:00.000-04:00We've found that our selenium scripts fail roughly...We've found that our selenium scripts fail roughly 16 percent of the time randomly (probably due to timing issues)<BR/><BR/>One of our developers saw it randomly fail and wondered about what the heck happened so scripted a set of 500 identical tests to run, 86 of which failed. I don't care whether it's 0 or 500 successes, I just want consistency.<BR/><BR/>RansomRansomhttps://www.blogger.com/profile/15713211233307825976noreply@blogger.comtag:blogger.com,1999:blog-12467669.post-35772667631452788112008-07-03T18:32:00.000-04:002008-07-03T18:32:00.000-04:00We use Concordion to express the test cases and We...We use Concordion to express the test cases and WebDriver to provide the scripting DSL for Selenium. Together they work really well.<BR/><BR/>http://www.concordion.org<BR/>http://code.google.com/p/webdriverAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-12467669.post-84309047191323766492008-07-03T12:51:00.000-04:002008-07-03T12:51:00.000-04:00You mentioned going the DSL route for selenium. T...You mentioned going the DSL route for selenium. This is exactly what we did at my last gig for a commercial property insurance app. It worked out really well. We made a simple declarative DSL (in Java, which turned out nice because of good auto-completion in IDE) and wrote all our tests in that language. <BR/><BR/>The DSL turned out really key for us because not only were our tests readable, but the DSL provided us a layer of abstraction over SeleniumRC. We actually implemented 2 targets for our DSL, Selenium RC and a Selenium HTML. And we were toying with implementing other targets like HTMLUnit.<BR/><BR/>I could go on and on... but my point is having a good DSL really was what helped power the success of our Selenium test suite implementation.Zachary D. Shawhttps://www.blogger.com/profile/11739142419934264380noreply@blogger.comtag:blogger.com,1999:blog-12467669.post-88945609562819412672008-07-03T12:44:00.000-04:002008-07-03T12:44:00.000-04:00Hey Jay,I can understand that pain, because we hav...Hey Jay,<BR/><BR/>I can understand that pain, because we have the same issue in .Net.<BR/><BR/>Should I go with Selenium? Watin? Watir?<BR/><BR/>All of them feature most of these problems you mentioned.<BR/><BR/>That's why I started a project that aims at being an easier, fluent interface for doing browser driver acceptance testing.<BR/><BR/>If you'd like to check it out, just go to http://using.stormwindproject.org and check the Stormwind.Accuracy project.<BR/><BR/>Hope you like it! It's for .net, but the idea behind is definitely platform agnostic.<BR/><BR/>Cheers,<BR/>Bernardo Heynemann<BR/>ThoughtWorks UKAnonymousnoreply@blogger.com