|
|
|
Here is a fix for this issue:
The fix is that, when ever the Batch results file get created, the file name of the Batch result file should be differrent for different batched. For this the batch result filename should be something like Batch_result1.html, Batch_result2.html etc... I have resolved this issue by making the Batch results file to have the name of the batch file being executed as a part of the batch results file name. To get this into working: 1. Edit the BatchRunner.rb file 2. Add few lines of code as mentioned below: a) In the method intialize( ) @file_name = title #This is for having the name of the Batch file under execution. b) In the method result_path remove the line cr="#{cr}/BatchResults.html" and add test_file_name=@file_name.split(".")[0] cr="#{cr}/Batch_#{test_file_name}.html" Done!!!! Now we can run many batches in a single strech. Thanks, Shreenidhi Shreenidhi,
Is this working fine now? If yes, can you close it? Thanks Raghu The issue is now fixed.
Now the batch result filename contains the name of the batch file as a part. For example if the batch filename is batch1.txt then the batch results filename will be batch1_Results.html Thanks, Shreenidhi |
|||||||||||||||||||||||||||||||||||||||||||||||
a) Allow a parameter to be passed which dictates the path to save
b) If this parameter is not passed, then the name of the results file should be the name of the 'test batch file itself'.