Forum Discussion

PrecisionDan's avatar
PrecisionDan
Occasional Contributor
3 years ago
Solved

Is it possible to unzip a compressed folder through a TestComplete script (c#Script)

Hello,

 

I've got a .zip stored locally that I'm hoping I can unzip and open using testcomplete. I have had an explore around the aqFileSystem and aqFile objects but haven't been able to work anything out in my scripts. I did stumble upon a forum post from 2011 (https://community.smartbear.com/t5/TestComplete-Questions/How-to-extract-a-zip-file-and-Can-we-hide-the-password-that-we/td-p/52237/page/2) but the method they are indicating to use seems to not work anymore.

 

Any guidance I can get to take the .zip and unzip it so I can interact with the contents inside would be amazing.

 

Kind regards,

Dan