Displaying 1 result from an estimated 1 matches for "travel_card_number_gate".
2010 Oct 14
1
Cucumber Selenium web step to verify value of input field
I have an input field with an id which has a value. The web_steps.rb method
does not find the value. Is this the right step to use to check an input
field? It works fine for a text_area but not an input.
Scenario steps (tried both ways):
Then the "travel_card_number_gate" field should contain "5"
Then the "#travel_card_number_gate" field should contain "5"
From web_steps.rb
Then /^the "([^\"]*)" field(?: within "([^\"]*)")? should contain
"([^\"]*)"$/ do |field, selector, value|
with...