Some dialog boxes in TestComplete and TestExecute allow you to visually select objects on screen.
The following animation shows how you can select objects by pointing at them with the mouse pointer.
The procedure is as follows:
-
Click Point and fix. When you do that, the TestComplete window gets minimized down so you can view the entire desktop.
-
Move the mouse pointer to the window or object you want to select. As you move the mouse pointer over objects, a red selection frame appears around the object under it.
Tip: You can interact with applications during the process, for example: -
click or right-click objects to bring up popup menus,
-
move and rearrange windows to activate the desired window and make it fully visible,
-
minimize, maximize and restore windows,
-
and so on.
-
-
Once the desired object is highlighted with the red selection frame, press Ctrl+Shift+A. (The shortcut can be customized in the Global Shortcuts dialog.)
The test engine will capture the specified object and display its information.
To cancel the object selection process, click Esc.
Another way to select objects on screen is to use the target glyph (). For more information, see Selecting Objects: 'Drag the Target...' Mode.