Topic for comments about Browser library keyword Upload File By Selector
Hi,
I’m using the browser library and have problem with the uploading file.
File Should Exist ../Resources/values.csv
${promise}= Promise To Upload File ../Resources/values.csv
Click id=files
${upload_result}= Wait For ${promise}
This part fails with:
Error: ENOENT: no such file or directory, stat '../Resources/values'
Any idea what I’m doing wrong…
(the same erros is for the Promise to Upload File)
… is this comment section a new, great idea?!
/Tomasz
I think I’ve solved it for myself:
${promise}= Promise To Upload File ${CURDIR}/../Resources/values.csv
It looks that the relative path is not supported…
/Tomasz
2 Likes
Remains to be seen
@tomasz-bosak Topic relative upload paths by mkorpela · Pull Request #2203 · MarketSquare/robotframework-browser · GitHub
seems your observations might result in an improvement
3 Likes
Hi,
In my application, file uploaded successfully but getting file type check error.
Any way to handle it ?
~Shashank