Unlocking multiple container classes
How to unlock more than one container class at one time.
Unlocking container classes discusses how to unlock the class of a container control whose children you may need to access for your test. In some cases, a window may contain controls of more than one container class that you wish to unlock. Rather than repeat the unlocking process for each such class, TestArchitect allows you to select multiple container classes for unlocking at one time.
Windows Presentation Foundation (WPF)
Win32
Silverlight
Windows Forms (WinForms)
SAP
Option 1: Unlocking container classes from Identify mode:
Repeat steps #1 through #5 in Unlocking container classes.
As discussed, a warning dialog box appears:
In the dialog box, click the Settings button.
In the Unlock Container Classes dialog box, select any other container classes that you wish to unlock:
Note:The Listview option does not apply to Silverlight applications. Silverlight only supports Table, Treeview, and Listbox container classes.Click Apply.
Option 2: Unlocking container classes from the Settings tab on the Interface Viewer.
Ensure that your target AUT is running, and navigate to the window with the container classes of interest.
Launch the Interface Viewer.
In the Viewer’s UI explorer panel, click on the node of the AUT window.
If it wasn’t previously visible, the Settings tab should now appear in the Properties panel.
In the Properties panel, click the Settings tab.
If no Browse button appears in the Unlocked container classes setting, click its Value cell.
The Browse button appears in the cell.
Click the Browse button.
The Unlock Container Classes dialog box appears.
Select the container classes that you want to unlock.
Note:The Listview option does not apply to Silverlight applications. Silverlight only supports Table, Treeview, and Listbox container classes.Click Apply.
The selected container classes are unlocked.
Related concepts