Displaying 20 results from an estimated 600 matches similar to: "Rspec Stories / Selenium Nightmare"
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
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
2007 Sep 25
7
simple story, extract link
hi,
I just started fooling around with story runner, thought I''d start
with a dead simple scenario:
The first thing I do when describing a site to someone is go to the
home page, and begin exploring public pages from there.
So, that seems like a good first story to spec out.
And I''d really like to extract the actual link from the rendered page
(rather than just
2007 Nov 29
5
Webrat 0.1.0 released - Ruby Acceptance Testing for Web applications
Hey guys,
We developed this plugin while writing my first real set of RSpec
stories. It''s still missing a lot of functionality, but it''s useful to
us as is, so I''m shipping 0.1.0. (Patches welcome. :) )
Code is available at: http://svn.eastmedia.net/public/plugins/webrat/
What do you think?
-Bryan
Here''s the README:
2007 Nov 15
2
Story adapter and SQLite Was:What command to run all stories?
Hi, by switching to MySQL from SQLite, it fixed the problem. I ran
rdebug on it and it is trying to call
I ActiveRecord::Base.connection.begin_db_transaction. from
ActiveRecordSafetyListener.scenario_started. I don''t think SQLLite
likes transactions.
Ed
On Nov 15, 2007 10:56 AM, Ed Howland <ed.howland at gmail.com> wrote:
> If I run the story stand-alone, I get:
> ruby
2008 Apr 09
13
submitting an ajax form via javascript not rendering
for some reason the controller is parsing everything fine, but the
return is a page instead of code execution. I have other ajax forms no
listed that are also running fine on this same page.
there are supposed to be 3 ajax events:
onblur event that calls a function to submit - doesn''t work.
There is a submit button at the end of the form - works
there is a delete image that removed the
2007 Jan 12
5
Integration Testing - Wait, Watir, or Selenium
I''m evaluating what to use for integration testing:
SafariWatir
- integrates nicely with RSpec
- doesn''t work with Ajax because of Safari event firing issues
Selenium
- Works with Ajax
- doesn''t integrate with RSpec
What is the best guess timeframe for RSpec integration testing?
Will it be able to test Ajax application in the early iterations?
Thanks,
Brian Yamabe
2007 Feb 14
5
FormTestHelper should change hidden fields
Railsoids:
FormTestHelper rules. It tests your response.body form at the same
time as it triggers your action, with all the parameters in that form.
This obviously improves quality.
But it took issue with this:
submit_form ''validate_stuff'' do |form|
form[''IBhidden''] = ''validate''
end
The field IBhidden is a hidden field. To be
2006 Feb 13
9
Selenium. Replacement for traditional rails functional test?
Hi list
I''ve got a bit of a philosophical question. After just having discovered
Selenium /Selenium IDE and the rails selenium plugin I''ve realized that
it''s a whole lot easier to do functinoal testing than writing the
traditional rails functional tests.
However it implies that the development database consists of
standardized test data (e.g the test & dev
2007 Sep 27
1
using @variables in an ''it'' block
Hi folks,
I''m somewhat new to the current RSpec release - at work we are still
using 0.8.something, with "context ''blah'' do ... specify ''should
thing'' ..."
We have some helper code to automatically mix-in selenium:
module SeleniumHelper
include SpecHelper
...
def initialize(arg)
@selenium = SeleniumHelper.selenium
end
(selenium.rb
2007 Jun 13
1
seleniumrc_fu initial test issue
I have the seleniumrc_fu plugin installed and setup according to the
instructions, and can run the selenium:test task if there are no test
cases. My first test case simply does an open_home_page to verify
that things are working at all. Unfortuniately there seems to be an
issue with even this simple a test case. The following suggests that
there is an issue with the getNewBrowserSession
2006 Feb 16
3
How to use Selenium from Rails
I caught two different approaches to integrate Selenium to Rails:
http://svn.viney.net.nz/things/rails/plugins/selenium_testing/README
http://andthennothing.net/archives/2006/02/05/selenium-on-rails
It seems that the first makes it easy to right the tests, and the second
makes it easy to run them. Am I correct?
Any chance of the two hooking up and cross polinating?
--
Posted via
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 Oct 26
8
doubt in Selenium test
Hi guys,
I am just started to do selenium test in rails. can u guys plz tell me
how to write selenium test for the below code. for ex: i want to use
click action in selenium test for the below code
<a href="#" onClick="javascript:show_form(''short'');">Add a Short Media
Buy</a>
advance thx
regards,
Karthick.
--
Posted via
2008 Jul 17
2
Selenium docs or tutorial?
Does anyone have links to any complete Selenium docs or tutorial?
I have Selenium 1.0.9 installed (OS X, Leopard), the proxy server
appears to launch ok, and got the test to reach:
@browser = Selenium::SeleniumDriver.new("localhost", 4444,
"*firefox", "http://www.google.com", 15000)
this method has no documentation as far as I can tell (or
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 =
2006 Feb 23
5
Web/HTTP Testing
Hello,
I am looking for a user test automation tool. When I say ''user'', I
mean it should mimic the user interacting with the app. That
ultimately boils down to a tool that drives a browser or is able to
make http requests and allow us to deal easily with the responses.
Our requirements are to be able to write the tests in Ruby (no need to
switch to other language for test
2011 May 17
3
QA Testers QA with Selenium and Agile for Reston VA
Hi
This is Rama with quantum InfoTech
QA Testers QA with Selenium and Agile for Reston VA
Duration: 3 months + (strong likelihood of an extension)
Location : Reston VA
We are seeking QA Testers for a contract position in Reston, VA.
-Will need to have solid web services testing experience.
- Selenium
RamaKrishna
Technical Recruiter
Quantum InfoTech Inc
Phone: 248.457.0700 Ext. 141.
Fax:
2010 Dec 09
1
how to run a command on a specific vnc display
Hello,
I'm using selenium rc for automated testing on a centos box.
working on the box itself has no problem as long as i start the server through terminal.
though if i wanted to run tests remotely i have a problem with firefox not knowing on which display to run.
i have a vnc client running on port 1 (5801/5901)
I've tried the following:
export DISPLAY=1 ; java -jar
2008 Sep 29
3
rspec-ui overlap with cucumber?
Hi!
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