Stores Folders - Are there any methods to push files into folders?
Hi,
I am creating scripts that load files into 'Stores >Files' where I've created two folders ASIS and TOBE (so I can later compare actual against expected).
However, I cannot find a way of loading the files (through javascript) into the correct folder [ I could find no No Push & Pop methods, as with log messages, ie PushLogFolder() PopLogFolder() ]
It is no biggie, (more of a 'nice to have', as it would better organise the files), but if there is a way to do it (without having to manually move them every-time they are loaded), it would be helpful to know?
Many Thanks
Mike
Hello,
Are you looking to just simply move files? There are a few methods I will paste below that should help:
https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqfilesystem/movefile.htmlhttps://support.smartbear.com/testcomplete/docs/reference/program-objects/aqfile/move.html
https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqfileinfo/move.html