Difference between revisions of "Watir and Selenium"

From CitconWiki
Jump to navigationJump to search
(Selenium & Watir Discussion)
 
Line 1: Line 1:
 
* Watir  
 
* 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 is IE only
* Watir scripts are written in Ruby
+
* although there is a FireWatir project, it is out of sync and not able to easily share tests from Watir itself
  * for Java, Watij
+
* Watir scripts are written in Ruby
  * for .NET (C#), Watin
+
* for Java, Watij
 +
* for .NET (C#), Watin
 +
 
 +
 
 
* Selenium (OpenQa.org)
 
* 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.
+
* Scripts are JavaScript-based
* Selenium does have a script recorder.
+
* Scripts can be subject to hanging (especially with popups) although "click and wait" has been a sufficient workaround for some.
  * And of course my favorite quote: "Having a good recorder decreases the success rate of your tool." -Bret
+
* Selenium does have a script recorder.
* The Selenium IDE can generate scripts in multiple formats: XML, JavaScript, etc..
+
* 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..

Revision as of 14:59, 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..