LZhang
16 years agoFrequent Contributor
Re: Can I use project path in datasource?
Hi:
Can I use
groovyUtils.projectPath + "\\FetchProviders\\Output\\providerId.txt"
in file type datasource?
Basically, I don't want to hard code the project path (since each user's path is different). providerId.txt is created in a previous step using project path in groovy. In the second step, I want to read the providerId.txt back into my test case using the same project path. Is it feasible?
Thanks,
Li Zhang
Can I use
groovyUtils.projectPath + "\\FetchProviders\\Output\\providerId.txt"
in file type datasource?
Basically, I don't want to hard code the project path (since each user's path is different). providerId.txt is created in a previous step using project path in groovy. In the second step, I want to read the providerId.txt back into my test case using the same project path. Is it feasible?
Thanks,
Li Zhang