I’m using cucumber + selenium and I love it. However I’m looking to
add some methods (example: click_and_wait etc) to the lib. Therefore
looked around a bit and I got two questions:
Firstly about rspec-ui, I’m a little confused, does rspec-ui overlap
with its propose with webrat with cucumber or I’m missing a point?
Secondly, are there any plans to “officially” support selenium along
with webrat? (or perphaps cucumber project is just waiting someone
with such needs to stand up go for it.)
I’m using cucumber + selenium and I love it. However I’m looking to
add some methods (example: click_and_wait etc) to the lib. Therefore
looked around a bit and I got two questions:
Firstly about rspec-ui, I’m a little confused, does rspec-ui overlap
with its propose with webrat with cucumber or I’m missing a point?
rspec-ui is defunct - as far as i am concerned. noone seems to be
maintaining it, and cucumber should replace it.
Secondly, are there any plans to “officially” support selenium along
with webrat? (or perphaps cucumber project is just waiting someone
with such needs to stand up go for it.)
I’m not sure I understand what there is to “support” about it. You can
use anything inside Cucumber step definitions - Cucumber shouldn’t
have to “support” it. Unless there are specific things like Rails,
which has some transaction support in Cucumber.
I’m using cucumber + selenium and I love it. However I’m looking to
add some methods (example: click_and_wait etc) to the lib. Therefore
looked around a bit and I got two questions:
Firstly about rspec-ui, I’m a little confused, does rspec-ui overlap
with its propose with webrat with cucumber or I’m missing a point?
Rspec-UI is just a set of helpers and startup scripts for using browser
based testing frameworks (such as Selenium or Watir) in Rspec. Webrat is
a Acceptance testing tool which simulates the browser in memory (rather
than running through a real browser).
The current rspec-ui project was setup before stories or features so the
project was focused on interacting with the browser in specs (Which we
don’t do now).
So Rspec-UI while it still has some useful helpers is rather out of date
with Rspecs current directions.
Secondly, are there any plans to “officially” support selenium along
with webrat? (or perphaps cucumber project is just waiting someone
with such needs to stand up go for it.)
rspec-ui is defunct - as far as i am concerned. none seems to be
maintaining it, and cucumber should replace it.
Yep, feels so.
I’m not sure I understand what there is to “support” about it. You can
use anything inside Cucumber step definitions - Cucumber shouldn’t
have to “support” it. Unless there are specific things like Rails,
which has some transaction support in Cucumber.
no-no, I’m already using it, it works great. However I got some
trouble with those transactions with rails.
About adding methods, I will go to talk with selenium devs about to
add some missing methods to ruby lib.
Cheers,
Priit
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.