With Automation, you perform tasks programmatically by writing VBScript macros or Developer Studio add-ins. VBScript macros are procedures you write in the VBScript language and add-ins are in-process COM components (DLLs) you write in Visual C++ or Visual Basic.
You can write a VBScript macro to use the Test Container in a non-interactive mode.
See the Visual C++ documentation for more information on Automation and VBScript.