Forum Discussion

mgroen2's avatar
mgroen2
Super Contributor
9 years ago

Packing (archive) the mht file and store it to specific location

Hi,

I want the mht file of my test results to be packed at the last stage of my test.

I have tried using slpacker script routine but it only packs alle the files but I want to have the mht file archived (the mht files gives me a better representation of the log.

 

Is this possible?

 

Thanks a lot!

Mathijs

  • m_essaid's avatar
    m_essaid
    Valued Contributor

    maybe check the help about Log.SaveResultsAs()

    • mgroen2's avatar
      mgroen2
      Super Contributor

      Thanks! That helped me.

       

      By the way, is it possible to send the (packed) log file to Jira automatically? So not saving it to a folder somewhere but posting it to Jira URL.

      • m_essaid's avatar
        m_essaid
        Valued Contributor

        I don't know Jira, but you maybe could execute from TestComplete or TestExecute a script that does the job ? (batch, ... ?)