Cucumber Test - not strictly RSpec but testing related

I am trying to test a webpage in cucumber that opens a new browser
window, I have a feature like …

When I click the “transfer” button
Then the user should see the “transfer” page

I am having trouble with the second step because it opens in a new
browser window, how do you detect this within a step definition?

On Sep 23, 2010, at 5:17 AM, Dave Green wrote:

I am trying to test a webpage in cucumber that opens a new browser
window, I have a feature like …

When I click the “transfer” button
Then the user should see the “transfer” page

I am having trouble with the second step because it opens in a new
browser window, how do you detect this within a step definition?

Cucumber has its own group. Please post this to
http://groups.google.com/group/cukes.

Cheers,
David

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs