Displaying 20 results from an estimated 2000 matches similar to: "stories with selenium and the db"
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 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 =
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
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 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
2009 Apr 29
1
Cucumber/Webrat/Selenium + SSL?
Has anybody had any luck getting Cucumber, Webrat and Selenium to play
nicely together for SSL sites?
My test environment:
- nginx front-end accepting SSL requests, proxying them to mongrel
back-end
- mongrel back-end accepting normal HTTP requests
- application routes configured with ":protocol => ''https''" so that
URLs generated with "_url"
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
2009 May 13
0
Cucumber + Selenium: Programmatically Starting a Test Server
Hi All,
I am trying to learn BDD using the Cucumber framework, and am
integrating Selenium for client side tests. I''ve been playing with
refactoring my cucumber installation a bit, and have pulled the code
to start the selenium server out into a profile-configuration file,
similar to env.rb:
# start selenium
server
@@browser = Selenium::SeleniumDriver.new("localhost", 4444,
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
2006 Feb 09
1
Alternative take on Selenium in Rails
Hey there,
There''s been a bit of work going on with Selenium and Rails recently, so
I thought I may as well share what I came up with. Check out my blog
post at http://blog.viney.net.nz/articles/2006/02/09/selenium-testing,
grab the plugin and give it a whirl (be sure to read the README!).
Basically, my approach was to make it possible to write Selenium tests
in the same way that
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
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
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:
2006 Feb 19
2
New version of Selenium on Rails
I''ve just released a new version of Selenium on Rails[1]. It''s a plugin
that makes it easy to test Rails applications through browsers using
Selenium [2].
The major new features are exprimental support for running all tests
through a Rake task (which launches any number of browsers) and a new
format RSelenese.
The Rake task has a few rough edges so I would appreciate if
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
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 18
2
Mocha + Selenium-on-rails loading problem ?
Hello All,
I need to stub two class methods before a selenium call.
The .rsel is :
require ''mocha''
SalesConfigWork.stubs(:load_work_data)
SalesConfigWork.stubs(:delete_work_data)
setup :fixtures => :sales_config_works
open "/"
The Selenium test runner result is :
undefined method `stubs'' for SalesConfigWork:Class
Extracted source (around line *#0*):
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
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
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