Forum Discussion

DarkShadows's avatar
DarkShadows
Contributor
8 years ago

Stores_ How to store excel spreadsheet and provide its path in scripts

Hello All, I'm trying DDT testing as Keyword tests in test complete, For this I'm able to  move all needed files into inbuilt store folder location of test complete however at one instance I need to...
  • tristaanogre's avatar
    tristaanogre
    8 years ago

    So long as the location of your excel sheet is within the path of the project, you should be fine.  The script solution I posted before does not apply.  

     

    As an example, I created a folder in a test project of my called "ExcelFiles".  The MDS file is in C:\Source\MyProject\ and the ExcelFiles folder is a subfolder of that.  When I create a data driven loop using that spreadsheet, I get something like this:

     

    This way, no matter where I copy my project to, as long as I preserve the folder structure, it will always be able to find the excel sheet I want to use.