rmnrdi
7 years agoContributor
Using System.IO.FileSystem.Watcher
I want to monitor a folder for changes and FileSystemWatcher looks like what I need, but I'm having trouble bringing it into my project.
I was able to bring the exact library in via Project Propert...
- 7 years ago
TestComplete has, built into it, objects for checking folder contents and such. Look into the aqFileSystem object and associated methods.
Basically, you can set up a while loop using methods from there to check to see if a file is present. As long as the file is not there, the loop continues. That's what I would do.Documentation found at
https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqfilesystem/index.html