• Ruby
  • Python
  • JavaScript
  • Java
  • C#
  • Watir
✕
Record then Refactor the steps into maintainable form such as page objects and common reusable functions in a shared test helper.
"Record/Playback scripts are notoriously costly from a maintenance perspective." - 'Agile Testing' by Lisa Crispin and Janet Gregory, page 315.
"Record/playback testing tools should be clearly labeled as 'training wheels'" - Jason Huggins, creator of Selenium
"Functional Testing Refatcoring: a step by step process to refine test scripts to make it easy to read, concise, and more importantly easy to maintain", Practical Web Test Automation
New to Selenium WebDriver? Check out Selenium WebDriver Recipes for over 200 ready to use solutions.
Writing test scripts is the easiest and minor part of test automation; Most of work lies in maintaining test scripts and run them regularly to provide quick feedback to the team.
Ruby and Python are better choices for automated test scripts, simply because they are Scripting languages.
Don't run multiple tests in IDE/testing tools, instead, execute all tests in a Continuous Testing Server (like BuildWise) multiple times a day.
Testing is harder than developing. If you want to have good testing you need to put your best people in testing - Gerald Weinberg