What's the difference between using Python vs. Ruby for Browser Automation testing?



  • I want to automate test cases on web browsers and I love the concept of Python's Salad (mix of Lettuce (BDD) and Splinter (browser automation)).

    But I've heard that Salad might not be the most stable, and that the Ruby community is more advanced on Behaviour-Driven Development.

    How is Ruby's Cucumber different from Python's Lettuce?



  • I'll make the case for Ruby as I'm most familiar with it. Others can vote up/down

    Ruby is great because you have rspec and capybara which are widely and heavily used. There is a huge community of fellow users.

    The main issues I encounter today are are about javascript and ajax calls. WebDriver doesn't have 100% answers for some of the issues. I don't know if Python would make any difference as the problems are more about how browsers process javascript and communicate regardless of programming language used to write tests.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2