Forum Discussion
3 Replies
- scot1967
Champion Level 2
Hello Salamat,
Yes, this can be done. It's a bit awkward however. Just create the folders in TestComplete as you need and import your scripts to those folders (from whereever they exists on your drive or network). They will become links (in the project xml). TestComplete keeps the project structure in an XML file.
https://support.smartbear.com/testcomplete/docs/testing-with/creating/importing.html... If you find my posts helpful drop me a like! 👍 Be sure to mark or post the solution to help others out and/or to credit the one who helped you. 😎
- Hassan_Ballan
Champion Level 3
TestComplete itself doesn’t support automatic folder creation on the disk when organizing in the UI. You'll need to manage the physical structure outside of TestComplete, but once set up, it works well with external IDEs like PyCharm. To keep things organized long-term, use naming conventions and folder structures consistently in both TestComplete and your file system.
Step-by-step workaround:
- Manually Create Folders on Disk
- Move Script Files into the Folders
- Organize in TestComplete virtual folders to reflect Disk structure
- Update the Project Script in TestComplete by "Add -> Existing Item...".
💬 Found the answer helpful? Give it a Kudos by clicking Like!
✅ Got your issue resolved? Click Mark as Solution so others can find it quickly. - rraghvani
Champion Level 3
Just use Windows Explorer to create your folders, and reference them accordingly using TestComplete.
As noted in Organizing Items Into Folders | TestComplete Documentation -
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 organization.