Forum Discussion
- Marsha_RModerator
TestComplete gives you a project folder. You can create other folders in there for your data or whatever else you need.
I would also recommend storing those files in whatever source control you are using. It's always better to have a copy stored away somewhere for emergencies even if they never change.
- hkapContributor
Do you have any examples on how to add files or read data from Test Data folder etc.?
- Marsha_RModerator
Adding files to the folder is just adding your files in a folder in Windows.
Here is a good reference for using data files in your tests:
https://support.smartbear.com/testcomplete/docs/testing-with/data-driven/index.html
- hkapContributor
I created Test Data folder and inserted a *.doc file. But I am getting error msg. 'Unable to create a project item of the 'Other File' type, because the specified file does not exist.' I can see the file in TestComplete but some reason my co-worker is getting above error msg.
- NisHeraValued Contributor
well in TestComplete project IDE you can only deal with test_complete file types.
when Marsha_R mentioned "TestComplete gives you a project folder. " it means the physical folder.
eg C:\Myfolder\TC_Test_Suite\MyTest\Library files in your windows file explore
having said that there some files you can add to Test Complete Stores like this for comparison
there is no common best way for keep those. depends on how your team operates and how convenient for you/team
For me I keep them separate from TC files & folder structure but essentially under source control !
- Marsha_RModerator
You won't add the test data inside the TestComplete app. It will be in the Windows folder and your tests can access it from there.
This link explains how to organize your data and access it in tests.
https://support.smartbear.com/testcomplete/docs/testing-with/data-driven/index.html
Related Content
- 10 years ago
- 11 years ago
- 10 months ago
- 2 years ago
- 12 years ago
Recent Discussions
- 6 days ago
- 6 days ago
- 9 days ago