Hi Ganesh,
thank you for your response. so the problem i am having is not to create 
the .GZ extension, but to extract the contents of a .gz extension and save 
those contents to a network path. 
 below is a description of my process for you to get a better 
understanding. 


      I am running a report in SAP and sending the report via email to a 
test email account. The email arrives with a .GZ  zipped file containing 
the report
      -------->  Once the email is received i am trying to unzip the 
contents of the file and save the report (excel workbook) to a network path.
                       when the file is saved to a network path it needs to 
be opened and compared to what is being displayed 


I have been unsuccessful in the second step (unzip the contents of the file 
and save the report (excel workbook) to a network path.)


thanks in advance

John 

On Friday, July 26, 2013 2:25:12 PM UTC-4, Ganesh muralidharan wrote:
>
> Hi,
>
> Not aware of the syntax for PKZIPW. For 7zip I used below syntax to 
> create a zip file.
>
>  Set oShell =CreateObject("WScript.Shell")
>  oShell.Run """C:\Program Files\7-Zip\7z.exe"""&" a "& mvar1&" "&mvar2& " 
> "& mvar3
>
>
> On Fri, Jul 26, 2013 at 1:08 PM, John Di Paola 
> <[email protected]<javascript:>
> > wrote:
>
>> Hi Ganesh, 
>> you can find the command below. 
>>
>> thanks for your help. let me know if you have anymore questions. 
>>
>> Set WshShell = CreateObject("WScript.Shell")
>> WshShell.Run """C:\Program Files\PKWARE\PKZIPW\PKZIPW.exe"" -dq 
>> C:\temp\OSR_20130723_181416.gz"
>>
>>
>> On Friday, July 26, 2013 10:39:56 AM UTC-4, Ganesh muralidharan wrote:
>>
>>> what is the command you are using for unzipping the .gz file?
>>>
>>>
>>> On Fri, Jul 26, 2013 at 9:34 AM, John Di Paola <[email protected]>wrote:
>>>
>>>> Hi All, 
>>>> I am running a report in SAP and sending a zipped copy of the report 
>>>> via email. 
>>>> When i check email the file appears as expected but the problem is, i 
>>>> cannot extract and save the contents of the .GZ file using QTP.
>>>> the purpose of doing this is to compare the extracted file to what is 
>>>> being displayed in the system. 
>>>> Using QTP version 10.2
>>>> does anyone have any insight on this????
>>>>
>>>>
>>>>  thank you in advance
>>>>
>>>> John
>>>>
>>>>  -- 
>>>> -- 
>>>> 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
>>>> MercuryQTP+...@**googlegroups.com
>>>>
>>>> For more options, visit this group at
>>>> http://groups.google.com/**group/MercuryQTP?hl=en<http://groups.google.com/group/MercuryQTP?hl=en>
>>>>  
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing" 
>>>> group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to mercuryqtp+...@**googlegroups.com.
>>>>
>>>> For more options, visit 
>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>> .
>>>>  
>>>>  
>>>>
>>>
>>>
>>>
>>> -- 
>>> Regards,
>>>
>>>
>>> Ganesh Muralidharan
>>> 'God Never Forgets' 
>>>
>>  -- 
>> -- 
>> 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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
>
> -- 
> Regards,
>
>
> Ganesh Muralidharan
> 'God Never Forgets' 
>

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to