Hi,

Refer to this PDF, it has the list of commands you could use to ZIP /
UNZIP a document using SecureZip. I have used the same, and I was able
to use it without any issues.

Link to the PDF :

www.pkware.com/documents/manuals/pkzipc12_5.pdf


Let me know if you run into any issues.

Thanks,
Abhijeet


On Jan 19, 12:00 pm, Rajon <[email protected]> wrote:
> I want to unzip a file in QTP. In the work station SECUREZIP is
> installed. I have tried the below code.
>
> strZipFile = "C:\DOWNLOAD\SSH.ZIP"
> outFolder = "C:\Kishor\"
>
> Set objShell = CreateObject( "Shell.Application" )
> Set objSource = objShell.NameSpace(strZipFile).Items()
> Set objTarget = objShell.NameSpace(outFolder)
> intOptions = 256
> objTarget.CopyHere objSource, intOptions
>
> But it throws an error message " General run error" while executing
> the below line.
> Set objSource = objShell.NameSpace(strZipFile).Items()
>
> Quick response will be highly appreciated.

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to