Forum Discussion
nmrao
4 years agoChampion Level 3
Would you please show how you are using ${projectDir} with screenshot?
- jonathon4 years agoContributor
Sure
I'm using it in two places:
within groovy in a suite setup script:
import groovy.time.* import groovy.sql.Sql log.info context.expand('${projectDir}') ...
Output is:
Tue Jun 15 09:57:16 ADT 2021: INFO: C:\
And also within a datasource step for a file
Output is:
java.io.FileNotFoundException: C:\allergy-drugs.csv (The system cannot find the file specified)
Related Content
- 12 years ago
Recent Discussions
- 16 minutes ago
- 5 days ago
- 9 days ago