12-07-2012 11:12 AM
I have a special situation for the batch model.
Each UUT consist of two separate products that must be tested as a single unit.
I can run each UUT and generate a test report for each. - aka. The standard use case works great.
However we are keeping records using this method. So I need a separate copy with a different name for each run.
The idea behind this is that we might have a running history for each half of the UUT. Since the two halves will probably never meet again.
I have looked at the BatchModel.seq and read some of the documentation, however I am having a hard time figuring out what is going on.
I assume the Highlighted Items above are where the UUT Reports are generated. I do not however know the mechanism for giving them the names from the Report Options->Report File Pathname menu or how to change it between those points in time. Also is there any tricks to getting duplicate Report with a diffrent path put into this setup.
Any links to relevant information would be useful. Thanks
Solved! Go to Solution.
12-10-2012 08:29 AM
Just copy those two steps and between them and the copies have another step that is just a Statement. In there you can change the report path by setting parameters.TestSocket.ReportFilePath to the new path.
Ideally what you would do is have the client set it by using a callback. So your code would look like this:
Write UUT Report
Write UUT Report (on the fly)
Set Report Path Callback (override in client OR statement step)
Write UUT Report
Write UUT Report (on the fly)
Hope this helps,