Difference between revisions of "Watir and Selenium"

From CitconWiki
Jump to navigationJump to search
(Selenium & Watir Discussion)
 
 
(2 intermediate revisions by the same user not shown)
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
  * for Java, Watij
+
*** for Java, Watij
  * for .NET (C#), Watin
+
*** for .NET (C#), Watin
 +
 
 
* Selenium (OpenQa.org)
 
* Selenium (OpenQa.org)
* Scripts are JavaScript-based
+
** 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 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.
+
** Selenium does have a script recorder.
  * And of course my favorite quote: "Having a good recorder decreases the success rate of your tool." -Bret
+
*** 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..
+
** The Selenium IDE can generate scripts in multiple formats: XML, JavaScript, etc..

Latest revision as of 15:01, 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..