I want cucumber test for uploadify on ruby on rails 3. I had tried to click on the upload button from capybara but as it is neither button nor link. Furthermore, it is hiding the text_field so I cannot write "When I fill in "upload" with "text.txt"". If any one has solved this problem, please help is needed here.
相关问题
- Question marks after images and js/css files in ra
- Using :remote => true with hover event
- Eager-loading association count with Arel (Rails 3
- Is there a way to remove IDV Tags from an AIFF fil
- Rails how to handle error and exceptions in model
相关文章
- Right way to deploy Rails + Puma + Postgres app to
- Web Test recorder does not allow me to record a te
- AWS S3 in rails - how to set the s3_signature_vers
- how to call a active record named scope with a str
- How do you run cucumber with Scala 2.11 and sbt 0.
- How to add a JSON column in MySQL with Rails 5 Mig
- “No explicit conversion of Symbol into String” for
- form_for wrong number of arguments in rails 4
You would need to write a custom step for uploading a file
Where image is the name of the html element for getting the file to be uploaded.
Write custom step for uploading a file
Cucumber Step like
When I attach the file "/images/back.gif" to "data_input"