Skip to content

Commit

Permalink
update ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhimin Zhan authored and Zhimin Zhan committed May 24, 2012
1 parent 16342c3 commit 6a4a43e
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions ReadMe.textile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
h3. Test Framework Comparison: Selenium2, Watir and RWebSpec
h3. Test Framework Comparison: Selenium2, Watir, Watir-WebDriver and RWebSpec

If you are undecided on choosing which test frameworks for your project: Watir or Selenium2, the you might find this useful. Here you can find folders with test scripts in four syntax variations,

Expand All @@ -8,23 +8,26 @@ If you are undecided on choosing which test frameworks for your project: Watir o
* RWebSpec on Selenium2
* Selenium2 with RSpec
* Selenium2 with Cucumber
* Watir-WebDriver with RSpec
* Watir-WebDriver with Cucumber

All six test projects can be opened and run in <a href="http://testwisely.com" target="_blank">TestWise2</a>, you can easily to try out and compare yourself.
All eight test projects can be opened and run in <a href="http://testwisely.com" target="_blank">TestWise 3</a>, you can easily to try out and compare yourself.

h4. Behaviour Driven Development Framework: <a href="http://rspec.info" target="_blank">RSpec</a>

RSpec is a Behaviour-Driven Development framework in Ruby, it helps on executable documentation in Acceptance Test-Driven. In simple words, you can write acceptance UI tests in RSpec, and it will be the living specification.


h4. Selenium2 (selenium-webdriver) vs Watir
h4. Selenium-WebDriver (Selenium 2) vs Watir vs Watir-WebDriver

Next major version of Selenum2 (also known as webdriver) is released in July 2011, it is supported in multiple programming languages. Here we only compares its Ruby version (a popular and concise scripting language, perfect for test scripts) against Watir (Web application testing in Ruby)
Next major version of Selenium-WebDriver (also known as webdriver) is released in July 2011, it is supported in multiple programming languages. Here we only compares its Ruby version (a popular and concise scripting language, perfect for test scripts) against Watir (Web application testing in Ruby)

If you need to run Test against Firefox or Chrome, then Selenium2 is the only choice. For IE, Watir is more mature and more stable IMO.
If you need to run Test against Firefox or Chrome, then Selenium-WebDriver is the only choice. For IE, Watir is more mature and more stable IMO. Watir-WebDriver is is wrapper of Selenium-WebDriver in Watir syntax.

h4. RWebSpec vs Watir vs Selenium2

RWebSpec provides an high level abstract of testing syntax on top of Watir or Selenium2, i.e., if you develop test in RWebSpec, it will be easy to switch between Watir and Selenium2. Besides, without of loss of flexibility, you can use native Watir with RWebSpec or Selenium2 with RWebSpec.
h4. RWebSpec vs Watir vs Selenium-WebDriver

RWebSpec provides an high level abstract of testing syntax on top of Watir or Selenium-WebDriver, i.e., if you develop test in RWebSpec, it will be easy to switch between Watir and Selenium-WebDriver. Besides, without of loss of flexibility, you can use native Watir with RWebSpec or Selenium-WebDriver with RWebSpec.

Also RWebSpec provides other benefits:

Expand Down

0 comments on commit 6a4a43e

Please sign in to comment.