hey, i want to automate upload multiple files (Katalon Studio), but there is no attribute “multiple” like this
<input type="file" multiple>
but instead like the img below.
what i want to achieve is like:
I’ve tried to make it like this, the steps produce passed but no files are uploaded
def documentsPath = ['E:\\\\FfzsHZJUcAEvXrs.jpeg', 'E:\\\\FeNebInVIAApKzh.jpg', 'E:\\\\FeNebZTVIAADXR5.jpg', 'E:\\\\FfzsWUPVQAAO-SL.jpeg']
for (path in documentsPath) {
WebUI.uploadFile(findTestObject('homepage/pemasaranku/register supplier/ipt_dokumen_supplier'), path, FailureHandling.STOP_ON_FAILURE)
}
homepage/pemasaranku/register supplier/ipt_dokumen_supplier
contains like just in image 1