Download & upload random picture

Thanks a lot! That worked.

After some googling and trials, I still could not find a way to use the file name within an upload. What I tried is this:

WebUI.uploadFile(findTestObject(‘Page_Generate Deep Dream Generator/img_Upload’), setValue(’${directory}${files[0].name}’))

Guess I need to do a java course…