Open Test Framework
|
|
The Properties Window (or Property Grid) help users view and modify the properties of activities at design-time. It contains all the necessary properties for the setting an activity. All the property entries are validated, see the [ExecuteDiagService]: OpenTestSystem::Otx::Extensions::DiagCom::Actions::ExecuteDiagService design-time validation. Depending on the types of properties, the different types of controls are displayed, e.g. combo-boxes, drop-down lists, or buttons linking to specific editors with lists of items, etc. The read-only properties will be displayed in gray color (e.g. open the property grid of an activity in a referenced Ptx library).
The property grid can be displayed in the 2 different forms as follows:
You can only use one of the property grid above at a time (i.e. if you open the property grid in the tool window, you can not open the property grid in the dialog box).
The property grid in the dialog box will be opened by double-clicking on an activity in the designer. If the dialog box is opened, you can click on another activity and the properties will be updated according to the new activity for editing. The dialog box is displayed as in the left image above. Dependending on the particular type of each property, the property is displayed as a corresponding control:
- Drop-down ListNot all the properties have all the menu items above e.g. the property "Result" only has the <Create New Variable...> menu item.
The property grid in the tool window is essentially the same as the properties dialog box described above, except that this property grid is a tool window, so it can be docked, floating, opened, closed, resized or set to auto hide. When starting the OTF the first time, the Toolbox is already opened and docked at the bottom-right of the OTF. The properties tool window is displayed as in the right image above. Every time you select an activity in the designer, all the properties of the activity is listed in this tool window. If you uses the property grid in the tool window, you can double-click on an activity with the unassigned Result property to create a new local variable for the Result property.