Forum Discussion
If inline style does not work, then try computed style.
Hi,
Is the "folderpath" parameter declared?
IE:
"folderpath" = C\ Windows\FolderYouWantToDeleteHi, thanks for the reply.
Yes the "folderpath" is declared before aqFileSystem.
Is the file path declared with proper syntax? IE we need 2 //.
Example Code:
function DeletingFiles()
{
var sPath = "C:\\Temp\\*.txt";
// Deletes the files
aqFile.Delete(sPath);
}
https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqfile/delete.html
If not could you supply an example of the file path you are using?
Related Content
Recent Discussions
- 4 hours ago
- 5 hours ago