Forum Discussion

stega's avatar
stega
Contributor
11 years ago
Solved

ExcelDriver - search file

I'm using DDT.ExcelDriver and i want to use a file from the same folder where the script is. I don't want to burn in the path, i want testcomplete to search the file first in the same folder. Th...
  • mugheessiddiqui's avatar
    11 years ago
    Hi Gabor



    Use following statement to get file from script folder.



    var Driver = DDT.ExcelDriver("script\\test.xlsx", "Sheet1", true);