search for: set_hidden_field

Displaying 1 result from an estimated 1 matches for "set_hidden_field".

2009 Feb 04
2
Can cucumber/webrat set a value on a hidden field
...alls from within Cucumber. But I wondered if I could make a step that would update the value of the hidden field (as if I had selected the user from the auto_complete field). According to this documentation (http://gitrdoc.com/brynary/webrat/tree/master/classes/Webrat/Scope.html) there should be a set_hidden_field method. But the method no longer appears to be in the webrat/core/scope.rb file Based on the above documentation the method should be # File lib/webrat/core/scope.rb, line 53 def set_hidden_field(field_locator, options = {}) field = locate_field(field_locator, HiddenField) field.se...