Change format of emailed test results using slPacker
- 5 years ago
would you be open to creating a couple of short script routines to perform these operations?
I don't know what that script routine is below the slPacker operation, but maybe the order of the test steps are wrong?
Are you looking to save logs at the test case level? Or the project level. For the former option, the best bet would be to create on onStop or onStart test event handler with the log.saveresultas method (but this only works when you start running tests at the project level).
The easier option would be to use both log.saveresultas and slpacker at the project level as their own individual tests - here are screenshots to describe what i mean:
and then drag these scrip routine (tests) to the project level
so now that you run the project, you see some logs like this:
and then you can see the log.saveresultas file's mht format result in the designated file location:
and finally also the slpacker's resulting zip file