For example the text box is having the value 10
I need to change the value to 20
while I am using the below Capybara command,
fill_in “#{ID}”, :with => “20”
the value is not getting changed … instead its appended as 1020.
Give me your suggestions.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve had to use javascript to do this. I wrote a separate step to clear the field before changing the value.