OpenWithCaption Method (ConsoleClass)

Class

ConsoleClass.

Action

Opens a new console with a specified caption.

Availability

This functionality is supported only if you are using the Open Agent.

Syntax

Console.OpenWithCaption (consoleWindowCaption)
Variable Description
consoleWindowCaption The caption for the new console. If this parameter is left blank, Silk Test Classic opens a new console with the default caption. STRING.

Example

The following sample shows how you can open a new console with the caption "My Console".
Console.OpenWithCaption("My Console")