Hello! I suspect that I have misunderstood how scripting works for reports. My end goal is a set-up where I am able to automatically run multiple comparisons, using existing sessions each time, saving the resulting report for each comparison as I go. I would like to kick this process off overnight and review the resulting reports when I return to the office in the morning.
For simplicity's sake, I'll use an example with just one session. I have a saved session called TestSession. I want the comparison in the session to run and the resulting report saved. The two approaches I have taken are as follows, and each time the resulting report is blank:
1:
bcompare.exe TestSession
[Then, once the comparison has been carried out;]
bcompare.exe "@mytestscript.txt"
Where mytestscript.txt contains:
data-report layout:side-by-side options:display-all &
output-to:"C:\My Documents\IDSRegressionTesting\mytestreport.txt"
2:
bcompare.exe "@mytestscript.txt"
Where mytestscript.txt contains:
data-report layout:side-by-side options:display-all &
output-to:"C:\My Documents\IDSRegressionTesting\mytestreport.txt" TestSession
In my head, I'm assuming these cases should work because data-report "Generates a Table Compare report of the currently selected files" and I'm assuming that the two files selected in my session are the two it will use. Presumably this is not the case? I'd be grateful for any advice or guidance. Thanks!
For simplicity's sake, I'll use an example with just one session. I have a saved session called TestSession. I want the comparison in the session to run and the resulting report saved. The two approaches I have taken are as follows, and each time the resulting report is blank:
1:
bcompare.exe TestSession
[Then, once the comparison has been carried out;]
bcompare.exe "@mytestscript.txt"
Where mytestscript.txt contains:
data-report layout:side-by-side options:display-all &
output-to:"C:\My Documents\IDSRegressionTesting\mytestreport.txt"
2:
bcompare.exe "@mytestscript.txt"
Where mytestscript.txt contains:
data-report layout:side-by-side options:display-all &
output-to:"C:\My Documents\IDSRegressionTesting\mytestreport.txt" TestSession
In my head, I'm assuming these cases should work because data-report "Generates a Table Compare report of the currently selected files" and I'm assuming that the two files selected in my session are the two it will use. Presumably this is not the case? I'd be grateful for any advice or guidance. Thanks!
Comment