
Get value of a form field
Reported by Nick Bimpasis | December 19th, 2008 @ 06:15 PM | in 0.4
I would like to be able to get the value of a form field, such as a text field.
I mainly need this when writing tests and want to assert the value of a specific field rather than just looking in the entire page for it.
Comments and changes to this ticket
-
-
Bryan Helmkamp January 7th, 2009 @ 12:41 PM
This should work already:
field_labeled("Name").value.should == "Bob"
-
Bryan Helmkamp January 17th, 2009 @ 11:21 AM
- Milestone set to 0.4
-
Bryan Helmkamp January 17th, 2009 @ 05:14 PM
- State changed from new to resolved
This has been working in master for awhile. I added integration tests to prove it works in Sinatra, Merb and Rails.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby Acceptance Testing for Web applications.