Forum Discussion

lgonzagi's avatar
lgonzagi
Occasional Contributor
8 days ago

How to add external files to a project?

Hi everyone, I'm new to TestComplete and currently struggling with something that I believe should be fairly straightforward.

I’m trying to add a test-data folder within my TestComplete project and include a JSON file in it. However, when I attempt to create a new file, I only see options for default project items (events, stores, scenarios, etc.), and there doesn’t seem to be an option to add external files like JSON directly.

The workaround I’ve found is to add the file through Windows Explorer, and then from TestComplete use the add existing item option to place the file under the test-data folder, but I would expect there to be a way to create the file directly in TestComplete.

What is the correct approach for including external files in specific project locations? Is there a better way to manage these files within TestComplete?

Thanks for any insights!

  • Only those files supported by TestComplete can be created. All other arbitrary files need to be added.