Object Test Bench Tool Window
The Object Test Bench tool window is the main display window of the Object Test Bench. It has the following characteristics:
It appears in the Visual Studio user interface only during design time.
It displays shapes corresponding to active object instances, automatically arranging items to follow a flow layout.
Note
Object Test Bench does not display objects named with reserved Object Test Bench identifiers.
To display the tool window, right-click an object operation from Class Designer, Class View, or Object Browser, and then select an object operation, such as Create Instance, from the shortcut menu. You can also display it by clicking Object Test Bench on the Other Windows menu of the View menu in Visual Studio.
The Object Test Bench does not assign default names to the objects displayed in the tool window. You must provide a name for the instance in the Create Instance Dialog Box before the shape appears in the Object Test Bench window.
Evaluate
The tool window toolbar includes an Evaluate combo box. Using this box, you can evaluate arbitrary expressions. If the expression evaluated is a variable declaration, the declared variable is added immediately to the Object Test Bench.
The drop-down box stores the last 10 expressions you evaluated. From this list, you can select an expression to execute instead of typing the expression. The Evaluate combo box uses the autocompletion feature from the Most Recently Used (MRU) list.