Forum Discussion

thebick's avatar
thebick
Occasional Contributor
6 years ago
Solved

aqFile* Exists not find application-created folder

My application creates a folder during execution, but TestComplete's aqFile* methods don't find it during the test.

Not aqFile.Exists, not aqFileSystem.Exists, not aqFileSystem.FindFolders. (But they do find the already-existing parent)

If I leave the folder in place and run a second test, it finds the folder.

If I call CreateFolder() during the test, FindFolders() finds only that folder, not the one my app created.

I'm running on a Windows 10 VM on Windows 10. The folder is on the host, shared with the VM.

The test is written in Python.

How can I get TestComplete to find the folder that my application creates during the test?

 

Correction: The folder is on the VM, not shared from the host