Setting path to files in test plan or include files
To date, all files are being specified with the full directory path. This is true for test plans where I have been using script statement as
and in scripts where I have use statements as
What I have been attempting to do is define a path variable in the test plan and test frame file, so that in the script or use statement I can just add the file name at end of the path name. But so far I have not been able to do this successfully.
In the test plan I have tried
$Dir = c:\smoketest\scripts\
In the test frame I set
sFuncDir = "c:\smoketest\library\"
and then in test script
If anyone out there has successfully achieved the result I am looking for, I would greatly appreciate hearing about it.