Forum Discussion

VijayKumarP's avatar
VijayKumarP
Occasional Contributor
8 years ago

how to create ZIP files and attach to email in test complete using python?

Hi I have to create ZIP files and attach to email in test complete using python? Please help me with code.

3 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Start with this topic on how to send e-mails which includes sample Python script.

    I would then also suggest looking into the slPacker object and associated methods for code samples on how to pack up information into a ZIP file. See this topic

     

    As usual, if you need more specific help, please let us know and we'll do what we can. :)

    • Ravik's avatar
      Ravik
      Super Contributor
      @ tristaanogre : Thanks for "slPacker" it's help me lot :)
    • VijayKumarP's avatar
      VijayKumarP
      Occasional Contributor

      Hi,  

       

      Thanks for the reply, I'll try with zip file creation, If it will not work, ill re-post-it.

       

      Thank You,

      Vijay.