TestProject Forum

How to test file upload?

Hello All,

Currently, I used a hardcoded file path for image uploading So is there any way to upload file dynamically. I don’t want to use a hardcoded path so I can use this on any agent. Please help me to upload image file dynamically across the project.

Thanks & Regards

Hello @yogesh.sondhiya

As I stated in our chat on Intercom,
If you use the standard file upload addons you will have to specify the full path,
you can also try parametrizing the path, or using the dropbox actions, to upload and download files from dropbox.

Article about dropbox: Dropbox Actions - TestProject Documentation

Data driven tests: Using Data Driven Jobs in TestProject - TestProject Documentation