Can I Upload Multiple files at same time using Taiko attach api ? #1859
Replies: 4 comments 3 replies
-
@rkreddy227 Nope. You need to call the attach Api in loop |
Beta Was this translation helpful? Give feedback.
-
This feature is available in the new release of Taiko 1.2.2 |
Beta Was this translation helpful? Give feedback.
-
I tried to Test the multiple file upload , but i see Single file Upload is also Failing now , I am getting this error. i am using Taiko 1.2.2. I beleive File upload attach api is broken in this Release Error Message: Error: FileField[id="file-input"]is not visible |
Beta Was this translation helpful? Give feedback.
-
Thank you that worked for me , I was able to read files under a folder and Upload through attach API Now . Solution 1# Uploading all files under a directory fileList = fileList.map(i => 'resourcesDirectpry/' + i);
Solution 2: define files as array an give the array as input to attach api . var filearray = ['resources/TestFile.zip', 'resources/TestFile.txt']; |
Beta Was this translation helpful? Give feedback.
-
I have a Scenario to Upload multiple files at same time Can I do that using attach API. Need some help here.
Thanks In Advance.
Ram
Beta Was this translation helpful? Give feedback.
All reactions