I am trying to learn how to best use Cucumber + Selenium. For the most part it seems to be very straight forward but I would like to get some guidance ... |
I've been doing some work testing web applications with Cucumber and I currently have a number of steps set up to run with Culerity. This works well, but there are ... |
I'm looking at a cucumber test suite that is somewhat brittle right now; many small steps, and no knowledge of the page itself.
I'd like to factor out the logic involved in ... |
I'm using selenium_client with cucumber, webrat + IE
As you'd expect, Firefox works fine. I've tried the following:
selenium.is_visible("css=#flash .flash_notice")
selenium.is_visible("xpath=//*[@id='flash']/*[@class='flash_notice]")
selenium.is_visible("xpath=//*[@id='flash']/*[contains(@class,'flash_notice]')")
both cannot find the element.
I think it must be something to do with IE, ... |
So, I have a Rails webapp that utilizes subdomains for separating the admin functionality from the public functionality using subdomain-fu.
So there is functionality(that I want to test!) contained within two ... |
I'm using Cucumber + capybara + selenium to run automated testing, but I'm having trouble finding a way to assert that a javascript alert is displayed.
This question seems has ... |
Setup with cucumber, capybara and selenium but some scenarios works only randomly.
Running
ruby 1.8.6 on rvm
rails 2.3.8
selenium pops open firefox 3.6
I have tried to add this with no luck:
with_scope(selector) ...
|
|
I'm trying to use capybara and Selenium but with custom server for Selenium, for example I want to route the server to saucelabs.com, is anyone here are have try it before?
Thanks ... |
I have the following as a cucumber story:
@javascript
Scenario: Showing the page
Given I am a logged in user
And there is a member with a site
And ...
|
I am trying to test an inplace editor using Cucumber/Capybara/Selenium stack, but my problem is that the editor is activated by clicking a div and not a link or button. I ... |
I'd like to suppress the initialization of TinyMCE inside my tests and can do this easily if the Javascript can detect that I'm running inside a Selenium-automated page.
So, is there some ... |
I'm attempting to set up a js cucumber environment in a rails3 app with capybara on osx10.6. I've tried using culerity with rvm jruby and rvm 1.8.7 and 1.9.2 ... |
where do I have to setup or configure to fire cucumber/selenium test to run Thin server instead of the default Webrick server?
|
I'm making changes to a text editor, and I need to be able to select text to manipulate it with JavaScript. How do I select text with Cucumber, Capybara and Selenium?
... |
Please let me know how can I easily switch between Webrat and Selinium? Selinium takes longer as it simulates by opening the real browser. In some cases I do not ... |
I've set up a feature in cucumber and am using the @javascript tag to have it run in selenium
On my dev machine selenium runs fine but because webdriver doesn't support native ... |
We are building a large CRM system based on the SalesForce.com cloud. I am trying to put together a test plan for the system but I am unsure how to create ... |
I am running cucumber tests with Webrat in external mode that is using Selenium. In production we are running behind https and so we are required to run our cucumber ... |
I have a link on a page which only appears when hovering over a certain element. But I can't figure out how to emulate this and then click on the link ... |
The problem: toggle javascript support without restarting firefox (nor resorting to different driver) during cucumber test run.
If Firefox's prefutils were exposed to javascript in a web page, that ... |
I am using Selenium2 with Capybara 1.0.0, WebDriver and Cucumber 1.0.0 running on a Windows 7 workstation.
I have run into a problem with my Cucumber tests where certain links simply don't ... |
Can I call javascript on a page from a cucumber step using the capybara selenium driver?
specifically i need to generate a change event when a form field is filled (doesnt ... |
I have an element styled with a css hover.
I tried using this
page.execute_script(“$(‘#{selector}’).mouseover();”)
but does not work?
anyone else encountered this problem using a css hover? Thanks!
|
When I run my test with the features, steps, and HTML below the test executes without error (until it fails on the assertion steps), but I can see that no change ... |
I need to wait for loading bar (div#loading) to disappear (become display: none) in a cucumber step. I'd expect the following to do the trick
find('#loading').should_not be_visible
But it doesn't seem to be ... |
In my cucumbers, I need to add a key/value pair to the http headers when I request a page with capybara using the mechanize driver or perhaps the selenium driver.
I'm ... |
I'm on Windows XP running RailsInstaller 2.0.
I want to test a remote web site using cucumber + capybara + selenium
I found this excellent starting point :
https://github.com/thuss/standalone-cucumber#readme
When I use the ... |
I am trying to run cucumber tests of my app over capybara with selenium driver. In the test steps i dynamically create users to login to the app . But the ... |
When I run my tests with FirefoxDriver I have no problems, but when I just change FirefoxDriver to HtmlUnitDriver happens the follow error:
[INFO] java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.startsWithIgnoreCase(Ljava/lang/String;Ljava/lang/String;)Z (NativeException)
[INFO] com/gargoylesoftware/htmlunit/util/URLCreator.java:66:in ...
|