Cucumber method for hidden field

40 views
Skip to first unread message

arvind vyas

unread,
Apr 3, 2013, 5:51:36 AM4/3/13
to pickle
Hi I am first time writing test case with cucumber here the problem
with the Hidden field
i am checking the field by the method fill_in , eg fill_in
"user_role", :with => @visitor[:role]

but the user_role is hidden type in my view so it is giving error that
user_role is not present. and when i delete the hidden and make it as
a simple input tag it is working fine .
Can you guide me what to do for writing test for hidden field


Thanks
Reply all
Reply to author
Forward
0 new messages