How to upload files from data files?

Hi,
I’m trying to upload file from local project repository and it’s not working.

How to pass the data file path like choose file from local project directory. Thereis an image file is data file and when commit to git the file uploaded to the same. when next project member pull the code the image directory need to modified according to the project path.

in webdriver we can specify the local path as "./FeeConfiguration.xlsx"

you could try RunConfiguration.getProjectDir()