Automated interface testing with Jenkins

Asked

Viewed 260 times

2

I’m using Casper.js to test the interface of my application and wish to integrate with the Jenkins, but in one of the tests it is necessary to upload and download files (.xlsx and . zip).
How do I make it "accessible" for Jenkins to upload these files? It is possible to download files and open them (I wish to check the results)?

  • Edit your question and send a little more information! Is uploading a feature or do you need to plant the file on the server disk? Do you need authentication for uploading or downloading? If so, is it a web session or a simple http authentication only on the web server? Which Jenkins slave and application OS? Why upload and download are not done by the interface test tool?

  • 1

    You can parameterize Jenkins with file uploads. When editing Job check the checkbox of "This build is parameterized", then click "Add Parameter" and choose "File Parameters". Then when constructing with parameters it is possible to upload the file to be used by the Jenkins job.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.