TrueLog Options - Open Agent Dialog Box

Use the TrueLog Options - Open Agent dialog box to enable TrueLog for the Open Agent and to customize the information that the TrueLog collects for Silk Test Classic.

Click Options > TrueLog.

You can additionally use the Difference Viewer to analyze results for test cases that use the Open Agent.

Logging bitmaps and controls in a TrueLog may adversely affect the performance of Silk Test Classic. Because capturing bitmaps and logging information can result in large TrueLog files, you may want to log test cases with errors only and then adjust the TrueLog options for test cases where more information is needed.

Note: By default, TrueLog Explorer is enabled when you are using the Open Agent, and disabled when you are using the Classic Agent. When TrueLog Explorer is enabled, the default setting is that screenshots are only created when an error occurs in the script and only test cases with errors are logged.

For additional information about TrueLog Explorer, refer to the Silk TrueLog Explorer User Guide, located in (in Microsoft Windows 7) Start > Programs > Silk > Silk Test > Documentation or (in Microsoft Windows 10) Start > Silk.

Enable TrueLog

Captures TrueLog data and activates logging settings. You can also enable or disable TrueLog each time you run a test case by checking this check box in the Run Testcase dialog box. When you enable or disable TrueLog in the Run Testcase dialog box, Silk Test Classic makes the same change in the TrueLog Options dialog box. Likewise, when you enable or disable TrueLog in the TrueLog Options dialog box, Silk Test Classic makes the same change in the Run Testcase dialog box.

All testcases
Logs activity for all test cases, both successful and failed.
Testcases with errors
Logs activity for only those test cases with errors.
TrueLog Location
The path is relative to the machine on which the agent is running. The default path is the path of the Silk Test Classic project folder, and the default name is the name of the suite class, with a .tlz suffix. To ensure that TrueLog files are not overwritten, for example when you perform parallel testing, you can add placeholders to the TrueLog file name. These placeholders are replaced with the appropriate data at execution time.
Note: The path is validated at execution time. Tests that are executed by Silk Central set this value to the Silk Central results directory to enable the screenshots to be shown in the result view.
Screenshot mode
Controls when TrueLog Explorer captures test application screens during playback of the application under test. Bitmap files are included in TrueLog (.xlg) files.
Note: For test cases with errors, TrueLog Explorer always captures a screen, independent of the screenshot mode you have selected.
None
Captures no screens during playback.
Active Window
Captures only the active window of the test application during playback.
Active Application
Captures the test application and any windows within the test application.
Desktop

Captures the entire desktop area.

Delay

Allows Windows time to draw the application window before a bitmap is taken. You can also use Delay to optimize script performance. Set the delay as small as possible to get the correct behavior and have the smallest impact on script execution time. The default setting is 0.