Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

aqFileSystem.CreateFolder returns true but didn't create folder

$
0
0

First of all, I'm using TestComplete 11.20.1491.7, I'm on Windows 7 Business 64 bit SP1 and I'm scripting with python.

 

When using environment variables in your path, aqFileSystem.CreateFolder returns true but the folder does not appear to be created.

 

Example: aqFileSystem.CreateFolder("%temp%\\folderName")

Result: Returns true, but no folder appears

 

Example: aqFileSystem.CreateFolder("C:\\Users\\lagrouw\\AppData\\Local\\Temp\\folderName")

Result: Returns true, folder appears

 

Same result for %systemdrive%, so it's not user-related (in case TestComplete runs as a different user for some reason)

 

I couldn't find a known issue on this and it's possible to work around it but it's really, really inconvenient. If i'm doing something i'm not supposed to or if there's something i can do to fix this i'd love to hear it!

 


Viewing all articles
Browse latest Browse all 20755

Trending Articles