So, my app has a javascript alert... how do I, using cucumber and / or capybara, test that the alert hay a particular string?
+3
A:
Try Cucumber + Webrat + Selenium. You can then write statements like
selenium.is_alert_present.should be_true
selenium.get_alert.should eql("File Deleted")
:-)
Jagira
2010-06-26 03:56:44
is there a way to do this with culerity? selenium errors the balls out of itsself on my machine
DerNalia
2010-06-26 14:35:18