Am using windows xp, ruby (1.8.7), rails(2.3.5), cucumber(1.10.2), werat(0.7.3). Am entirely new to cucumber webrat and selenium.
Can someone direct me how to do these things.
1)How to redirect with click_button
Example Scenario:
Given I am a existing user
When i visit login page
Then enter login credentials
Then i should see "User logged in successfully"
Am getting same login page when i run this scenario
2)When i give save_and_open_page, instead of browser window am getting a command prompt
3) How to set a user session with webrat
4) Why webrat is using "www.example.com" as default how to set host name?
Am facing lots of problem due to lack of knowledge in webrat and cucumber. Can any one guide me how to start with?