ConsoleClass.
Closes the console.
This functionality is supported only if you are using the Open Agent.
Console.CloseWindow (sItemIdentifier)
Variable | Description |
---|---|
sItemIdentifier | The index of the console window or the caption of the window. If this parameter is left blank, Silk Test Classic closes the first found console window. STRING. |
Console.CloseWindow(2)
Console.CloseWindow("C:\\Windows\\system32\\cmd.exe[1]")