Difference between revisions of "Watir and Selenium"

From CitconWiki
Jump to navigationJump to search
m
Line 1: Line 1:
 
* Watir  
 
* Watir  
  
* Watir is IE only
+
** Watir is IE only
 
* although there is a FireWatir project, it is out of sync and not able to easily share tests from Watir itself
 
* although there is a FireWatir project, it is out of sync and not able to easily share tests from Watir itself
 
* Watir scripts are written in Ruby
 
* Watir scripts are written in Ruby

Revision as of 15:00, 14 April 2008

  • Watir
    • Watir is IE only
  • although there is a FireWatir project, it is out of sync and not able to easily share tests from Watir itself
  • Watir scripts are written in Ruby
  • for Java, Watij
  • for .NET (C#), Watin


  • Selenium (OpenQa.org)
  • Scripts are JavaScript-based
  • Scripts can be subject to hanging (especially with popups) although "click and wait" has been a sufficient workaround for some.
  • Selenium does have a script recorder.
  • And of course my favorite quote: "Having a good recorder decreases the success rate of your tool." -Bret
  • The Selenium IDE can generate scripts in multiple formats: XML, JavaScript, etc..