Forum Discussion

KSQian's avatar
KSQian
Contributor
8 years ago

How do I add folder to script?

I want to add an entire folder to my script folder.    But add existing item only seem to take individual files.   So I need to create a folder in TC and move the files into the folder.   Prett...
  • tristaanogre's avatar
    8 years ago

    The folders that you see in a project are not actual directory paths on the hard drive.  They only serve as a visual organization within TestComplete.  There is no correlation between those folders and what you see on the drive.  So, you can't add a "folder" to a project.

     

    HOWEVER... if you select "Add -> Existing Item" and then, in the dialog that comes up, either "shift click" or "ctrl-click" to multi select several script files, TestComplete will add multiple files to a project at a time.  They do need to be actual files, not folders, but multi-select is supported