search for: selenium

Displaying 20 results from an estimated 167 matches for "selenium".

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...
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 also adds some method-missing magic so we don''t need to say ''@selenium.open(foo)'' we can just say ''open(foo)'', but that'&...
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 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 data...
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 (http://www.nabble.com/stories-with-...
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...
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. Th...
2007 Jun 11
0
Selenium RC Fu (plus js unit)
...s for a while, most recently during Alex and Brian''s talk at Railsconf [1]. See the readme [2] for more info, and the source/rdocs for all the gory details. Feedback and contributions are very welcome. Thanks, pt. [1] http://www.slideshare.net/alexchaffee/fullstack-webapp-testing-with-selenium-and-rails [2] == Introduction Welcome to Selenium RC Fu! This plugin is designed to let you use Selenium RC to write Selenium tests in Ruby, using a simple series of Rake tasks. == Installation The current version of this plugin can be found at: http://rubyforge.org/var/svn/pivotalrb/seleniumrc...
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 = Selenium::SeleniumDriver.new("localhost", 4444, "*chrome", "#{UR...
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...
2010 Feb 25
0
SocketError: getaddrinfo: Name or service not known --> error while running test case
Hi all, I am getting the below error when I try to run my test case. I have already started selenium RC server (port:4444).. Also I have specified " 127.0.0.1 localhost " in /etc/hosts ... :ruby test1.rb Loaded suite test1 Started E Finished in 0.022698 seconds. 1) Error: testfestool(Test1): SocketError: getaddrinfo: Name or service not known /usr/lib/ruby/1.8/net/http.rb:56...
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 me...
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 community want a "functional" test framework? Are you happy w/ selenium, and is it working? Unless someone convinces me of selenium, I'...
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....
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 t...
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&...
2010 Jun 08
0
How to use Selenium RC in Rails
Hi, I am trying to use Selenium RC in my rails application. I first install selenium RC ruby client (>gem install selenium-client). Then create a "selenium_test.rb" in libs folder. In the file, I create a class "SeleniumTest". # libs/selenium_test.rb require "selenium-client" class SeleniumTes...
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'...
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 Phon...
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...