Displaying 20 results from an estimated 6000 matches similar to: "Integration Testing - Wait, Watir, or Selenium"
2007 Jan 12
2
spec_ui problems
While looking into spec_ui, I decided to run the examples.
The watir example works a little, but always chokes on the ''better
than fudge'' spec (failure output below). Also, is there any command
to pause the "browser"? If my connection slows, the test gets out of
whack.
The selenium example fails right away (output below). I do have the
0.9.0 selenium-rc
2008 Jun 09
6
Selenium/Watir usage along side Webrat in story testing
This is related to Selenium/Watir usage along side webrat in story
testing.
MHS_Testing and Rspec-ui provide some great help for testing through
frameworks like Selenium/Watir.
But there is something missing, Webrat has changed the landscape
somewhat with Acceptance Tests/Story Driven development.
Now I have a choice:
1. Tests and rails process run as one test process (Webrat)
2. Use
2006 May 17
1
Functionnal testing : Watir vs Selenium
Hello, I wonder if some of you have evaluated these two solutions and
how they compares each other.
What did you liked or disliked ?
And may be are you aware of others functionnal testing tools usable with
and integrated with Ruby ?
Thanks
--
Posted via http://www.ruby-forum.com/.
2007 Apr 13
1
HTML report and Spec::Ui improvements
The trunk now has some nifty improvements to the HTML report (--format
html). Each failing spec will (in addition to the backtrace) have a
box with a source code snippet of the offending code.
If you have Jamis Buck''s syntax gem installed the code will also be
syntax highlighted 8-D
There has also been some major improvements to Spec::Ui, and it should
be much easier to set up than
2007 Jan 10
7
foo_spec.rb -> foo.rspec (proposed RSpec file name convention)
Is it too late to suggest some filename conventions for example rspec
files--especially when bundling with gems?
I see spec_foo.rb and foo_spec.rb around. Also found some foo_ex.rb
around. Would having a foo.rspec be worth talking about? Or is the
convention more or less to have ''spec'' in the file name?
I have to confess the only real motivation I have at the moment is
syntax
2007 May 09
4
UI testing framework? (w/o selenium)
Hey all,
I am currently working on coming up w/ an easy to use, developer-centric web
testing framework to test a J2EE app with. (I have 3 rails apps in
production, love rspec, and am currently at a java shop).
I''ve looked at selenium, and it just doesn''t seem like it is ready for prime
time, and the target audience is developers. So, having said that, does
the rspec
2006 Sep 07
0
Dead easy Watir AND Selenium
Yesterday I added some Watir examples to RSpec''s svn.
Today I added some Selenium (actually - Selenium Remote Control) examples.
It''s dead easy to use both, and the Ruby code you end up writing is
actually quite similar. Here''s a taste:
== Watir ==
require File.dirname(__FILE__) + ''/rspec_watir''
context "Google''s search page" do
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
2006 Feb 06
2
Selenium on Rails plugin
One of the things I like about Rails is the built-in support for testing
? it?s almost hard not to write tests. But even if I write extensive
tests (currently ?Code to Test Ratio: 1:3.4? according to rake stats in
a small toy project) I still feel that it?s not enough. I occasionally
get the urge to fire up the browser and click around to test that
everything works. You shouldn?t have to
2007 Apr 11
5
Default exclude pattern in 0.9.0
The "rspec" rake task collects all _spec files in the spec directory,
and excludes the "watir" directory.
Is this indicating a preference for using Watir over Selenium? I would
like it better to standardize on something more neutral, ''ui'' perhaps?
/Marcus
--
Marcus Ahnve
http://marcus.ahnve.net
2007 May 29
2
Selenium, Spec:Ui and ... forks?
I am using Spec:UI to run my Selenium tests, and I want to start
Selenium only once, for many descriptions.
I''ve come quite far solving it by declaring a main ui spec like the following:
require ''pathname''
require File.dirname(__FILE__) + ''/selenium''
$base_url="http://localhost:3000"
$browser =
2008 Oct 24
2
Mulitbrowser selenium ruby
Hope all is well,
Striaght to the point I wonder if someone has any ideas to help me with
the following problem:
I have written an automation framework in ruby, that uses selenium and
rspec and is run by an ant task, as thats the build process that is
implemented here.
Im currently running all my spec tests in firefox on my local machine by
passing the selenium variable:
@selenium =
2012 Jan 17
2
does jruby rspec have to use selenium?
With jruby and rspec requests, do you have to use selenium webdriver?
I''m confused, with ruby and rubyonrails using cucumber with capybara, I
didn''t have to set the default driver, what was it using and can i use that
with jruby? Things just worked w/o me even having to know about it :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Oct 02
4
align the runner
I saw from the thread "color output" that there is a plan to "align
the runner". Is there a place to see what that means? I am just
curious.
Thanks
Shane
2008 Mar 20
1
stories with selenium and the db
Hi all
Tonight I wanted to test out selenium in a story to test some ajax
stuff on a page.
After struggling for an hour or two with disappearing database objects
I found the solution in a blog post by Kerry Buckley.
with the comment included it reads:
# Don''t add an ActiveRecordSafetyListener, or it''ll roll stuff back
class Spec::Story::Runner::ScenarioRunner
def
2006 Nov 07
1
Should Selenium support be doing rollbacks?
Now that 0.7.0 is forcing me to write properly compartmented specs, I
thought I''d give the "dead easy Selenium support" a try.
Is it supposed to all the things that rspec normally does for me, or is
it just for using rspec-like grammar to surround Selenium tests?
Specifically, should it roll back the database between specifications?
I just did a quick test, and the result
2007 May 10
1
RSpec 0.9.4
RSpec 0.9.4 has just been released. Gems haven''t rsync''ed around the
globe yet, so you might have to wait a few hours to install it.
The big news this time is Spec::Ui 0.2.0, which has been released
along with RSpec core. This RSpec extension gives you custom Watir
matchers (custom Selenium-RC matchers are not implemented yet).
Moreover, it comes with a custom KICK ASS formatter
2006 Nov 07
1
RSpec/Selenium start_browser_once patch?
The 0.7.0 vendor/selenium/README.txt references a
"start_browser_once.patch" file. This doesn''t seem to be included in
either the rspec or selenium-rc distributions, and Google finds
nothing... where might I find that patch?
Jay Levitt
2012 Jun 14
3
Selenium+Autotest: how to run browser in background?
Hey guys
After hours of hard work I finally managed to set up my development
environment to run cucumber scenarios using autotest and selenium.
What''s a bit bugging is the fact that Firefox always jumps to the
foreground when Autotest does its job. How can I keep Firefox in the
background so that I can continue with my work without being
interrupted?
Thanks!
--
Posted via
2007 Jan 09
6
spec not running in TextMate
I tried running a spec with command-r in TextMate and got:
/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/
lib/spec_mate.rb:1:in `require'': No such file to load -- rubygems
(LoadError) from /Library/Application Support/TextMate/Bundles/
RSpec.tmbundle/Support/lib/spec_mate.rb:1 from /tmp/
temp_textmate.GplhPr:3:in `require'' from