When printing reports via TCShell, for example via a command such as:
task "Print Report ... ExecutionEntries with ActualLog" "C:\\Reports\\ReportOfTestrun.pdf"
It might be that your run gets interrupted (and held up!) by a 'Print options' popup. To get around this and let your .tcs proceed past printing reports add the following to your TCShell.exe.config:
Add a new <section> within <configSections><sectionGroup>:
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="Tricentis.TCCore.Persistency.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<section name="Tricentis.TCAddIns.Reporting.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
Add a new <setting> for this new <section> in the <userSettings>:
<userSettings>
<Tricentis.TCAddIns.Reporting.Properties.Settings>
<setting name="DefaultPrintOutputFormat" serializeAs="String">
<value>ASKUSER</value>
</setting>
</Tricentis.TCAddIns.Reporting.Properties.Settings>
</userSettings>
Thank you very much!
BeantwoordenVerwijderenI have no idea why do you use .hr domain?
Anyhow, greetings from Croatia!