Displaying 2 results from an estimated 2 matches for "railsseleniumstory".
2008 May 08
7
Rspec Stories / Selenium Nightmare
I have been using Rspec stories with Webrat feeling very productive and
happy.
Then I needed to do something with Selenium (Webrat could have done what
I needed but it does not yet have the functionality).
Selenium-core as part of a rails plugin looked nice but did not seem to
fit with rspec stories. So I went the Selenium-rc route.
Since Selenium uses a separate instance of rails
2008 Jun 09
6
Selenium/Watir usage along side Webrat in story testing
...to write.
So there are **two syntaxes I have to use**. When I have common Givens
like login I have to duplicate the Given, one for Selenium one for
Webrat.
So I was thinking of ways to avoid this duplication:
Create two classes (this is already what MHS_testing has done for
Selenium)
----
class RailsSeleniumStory < RailsStory
class RailsWebratStory < RailsStory
----
Create a common interface for all shared functionailty.
(I suspect Webrat represents the smallest set of functionality -
Selenium can do everything Webrat can do but not the other way around).
The different UI testing frameworks implemen...