Forum Discussion

lalit_singh's avatar
lalit_singh
Contributor
2 years ago
Solved

Create sub folder under script folder

I want to create subfolders under my Scripts folders so that I can place my scripts file under different folders

here I am implying the location where source code is present

Currently I have all my scripts under Scripts folder in the project
Is this allowed in the test complete?

9 Replies

  • See Organizing Items Into Folders - creating a folder in the Project Explorer panel does not lead to creating a folder on a hard drive. The Project Explorer’s folders are used for logical organization of the projects’s contents, not for physical organisation.

    • lalit_singh's avatar
      lalit_singh
      Contributor

      So ,that means test complete do not support creating sub folders under script in hard drive?

  • Do you mean like this?

    If so it's Rmouse on script > Add > New folder > Name folder

    Then just drag the scripts into that folder.

  • You will have to create the folders manually, then create the logical folders in TestComplete

    • lalit_singh's avatar
      lalit_singh
      Contributor

      So, scenario is 

      1.I have already running automated suite , with logical folders already there 

      And what I am trying to achieve is creating sub-folders in the physical drive so that one sub folder in drive contains the script belong to one logical folder created in test complete

      I have tried to do it , but it is giving me error 

  • It's an annoying process, but you have to create your folders first in Explorer, and then in TestComplete create your logical folders and then add existing file to the appropriate logical folder. The file names have to be unique.