[rspec-users] testing javascript-heavy websites

Ben Mabey ben at benmabey.com
Thu Jan 22 22:06:40 EST 2009


On 1/22/09 7:46 PM, Joe Van Dyk wrote:
> We're starting to work on some javascript-heavy websites, and even
> some flash/flex based ones as well.
>    

For flex see:
http://wiki.github.com/aslakhellesoy/cucumber/funfx-and-flex
> What's the current hotness in automatically testing those types of
> websites?  Does cucumber hook up to selenium now?  I thought I saw
> that webrat did.
>    

For JS you can use webrat with Cucumber to drive selenium. See the 
webrat docs for more info.
You can use Watir or Celerity with Cucumber.  There is a screencast on 
using Cucumber with Watir on cukes.info.

HTH,
Ben


More information about the rspec-users mailing list