JohnPix
JohnPix

Reputation: 1843

Robot Framework how to set file path?

I am using Choose File keyword to upload file. In documentation is written that I can use ${CURDIR} to set the path to my file, but it means that this file has to be in the same directory ${CURDIR}/filename.txt. But how to set the path to the file that exists in another directory?

Upvotes: 0

Views: 4823

Answers (1)

majinster
majinster

Reputation: 66

Use ${EXECDIR} so you go back to the root and go from there.

Upvotes: 1

Related Questions