Displaying 20 results from an estimated 10000 matches similar to: "Watir reports with screenshots using RSpec and Win32::Screenshot"
2007 May 19
1
RSpec 1.0.0 and a couple of other things
First up, congratulations to the team on RSpec 1.0.0! RSpec is one of
the most vibrant and professionally-run projects in the world of Ruby
open source. Now that there is a commitment to a stable API I think
we''ll see RSpec really take off.
Two quick things...
In the absence of official Spec::UI docs, can Spec::UI be installed
as a Rails plug-in? eg.
script/plugin install
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 Sep 06
0
RSpec and Watir
Hi all,
(Sorry for cross-posting - please reply to only one list, preferrably
wtr-general)
I just started on a project where it looks like we might start using Watir.
I just whipped up a little example and some doco about how to (and
why) use RSpec with Watir. It''s in RSpec''s subversion under
trunk/vendor/watir
http://rubyforge.org/scm/?group_id=797
2006 Nov 07
0
Wiki -> RSpec -> Watir
Rubies & Acceptance Testers:
For those of you not doing acceptance tests yet, I have a very slick test
rig to show off. I haven''t demo-ized it yet, so please accept these diverse
audiovisual displays as if they were a united whole!
We start with MiniRubyWiki, at this demo:
http://www.zeroplayer.com/cgi-bin/wiki?TestFlea
Click on any of the green bars.
Now imagine if the left
2006 Dec 17
0
Best way to do automated acceptance tests
Hi
This is only part related to rspec but I asked the Rails list and
didn''t get a reply so I thought I''d try here.
Basically, since rspec_on_rails doesn''t have an equivalent to rails
integration tests, I''m trying to find a way of doing automated
acceptance tests. I''ve found selenium and watir, but I''m struggling
to tell the two
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
2008 Oct 16
2
Any good conferences this year about ruby/rspec/watir?
Hello.
Sorry for this little offtopic question, but I was wondering if anyone
happens to know if there''s any good conferences coming up about rspec or
ruby or watir in this year where I could attend to?
Or any good website where such things are listed or something similar.
All suggested conferences should not take place before one month from now
(employer needs some time to get good
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
2009 Mar 25
5
[Cucumber] ANN: Cucumber with pure Java
Big news for all Java programmers out there.
Now you can use Cucumber with pure Java!
That''s right, you don''t have to write a single line of Ruby! (1)
All of your step definitions can be written as annotated methods in POJOs
(Plain Old Java Objects).
To get a taste of what this looks like, check out the simple example in the
cucumber_java project on GitHub:
* README for
2008 Jan 18
5
How do I pass form values from POST controller specs?
Hi there
I just started my first Merb app and I''m running into some weird
things in Specs. When I do:
describe "create action" do
it "should create a new project" do
project_params = {:name => ''bekkunin''}
Project.should_receive(:create).with(project_params)
controller, action = post(''/projects'', :project
2006 Dec 17
1
Rspec/Ruby to test software written in other languages?
Is anyone here using Rspec and Ruby to test software written in other
languages? I''m about to start an R language project, and may also be
doing some work in another language (I''m not sure which one yet, but
it''s one of the ones that''s part of the Axiom symbolic math package).
I''d dearly love a test framework that can handle all three languages,
2009 Jan 05
7
[Cucumber] after feature hook?
Hi,
Is there a hook or a method to execute some code after a whole feature
has run or will I need to embed that in a ''Then''?
Regards
Aidy
2009 May 25
3
[rspec] http://rspec.info examples are broken
It seems that some examples at http://rspec.info are broken with
invalid html.
For example: http://rspec.info/documentation/before_and_after.html
All those spans there should not be visible, I think :) Isn''t
rspec.info web tested well enough? :P
Best regards,
Jarmo
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 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
2006 Dec 05
0
[ win32utils-Feature Requests-872 ] Port of Win32::Screenshot
Feature Requests item #872, was opened at 2004-09-05 20:52
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=414&aid=872&group_id=85
Category: None
Group: None
>Status: Deleted
>Resolution: Rejected
Priority: 2
Submitted By: Daniel Berger (djberg96)
>Assigned to: Nobody (None)
Summary: Port of Win32::Screenshot
Initial Comment:
I think porting Petr
2008 Dec 02
4
Using Cucumber with latest Webrat
I added cucumber to my rails project using the following commands:
git submodule add git://github.com/aslakhellesoy/cucumber.git \
vendor/plugins/cucumber
ruby script/generate cucumber
git submodule add git://github.com/brynary/webrat.git \
vendor/plugins/webrat
git submodule add git://github.com/dchelimsky/rspec.git \
vendor/plugins/rspec
git submodule add
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 12
4
after :each invoked before formatter?
Hello.
I''m using RSpec with Watir to do some automated tests on IE.
I''ve ran into problem, where I want to make a screenshot of a browser window
when example fails. For that I made custom formatter where in
extra_failure_content i''m invoking screenshot taking methods. Now,
everything works like a charm, as long as I''m not using after :each. I
remember that I
2007 May 03
6
RSpec 0.9.2
Behind every great release is a maintenance release.
Go get it while it''s hot.
We''ve also reworked the website a little - trying to scare off fewer people.
Aslak