Forum Discussion

punekar's avatar
punekar
Occasional Contributor
13 years ago
Solved

Execution progress - in real time

The Execution Progress tab simply gives a %  in terms of how far the script is executing. It does not tell you exactly which request(s) are being processed. Sometimes, my scripts go to 80% and stay th...
  • JamesG's avatar
    JamesG
    2 years ago

    Thanks Rraghvani, I am not using outlook, I am using this code to attach the summary ( the 'Summary.htm' is the test file I was using - 

       # Attach test report file
        attachment_path = 'C:\\Users\\JamesG\\Documents\\Summary.htm'
        with open(attachment_path, "rb") as attachment:
            part = MIMEApplication(attachment.read(), Name="test_report.pdf")
            part["Content-Disposition"] = f'attachment; filename="{attachment_path}"'
            msg.attach(part)

     

    This works but I cant find or figure out how to find the 'Test Execution Summary' for the current run ?