Highlighting an Object Map Item in the Test Application
After you add or record an object map item, you can click
Highlight to highlight the item in the test application. You might want to highlight an item to confirm that it's the item that you
want to modify in the object map.
In the
Solution Explorer, click on the
Object Maps folder of the project in which the object map that you want to change is located.
Choose one of the following:
Double-click the object map that you want to use.
Right-click the object map that you want to use and choose
Open.
The object map displays a hierarchy of the object map items and the locator associated with each item.
In the object map hierarchy, select the object map item that you want to highlight in the test application.
Note: Ensure that only one instance of the test application is running. Running multiple instances of the test application will
cause an error because multiple objects will match the locator.
Click
Highlight.
The
Select Application dialog box might open if the test application has not been associated with the object map. If this happens, select the application
that you want to test and then click
OK.
Silk4NET opens the test application and displays a green box around the control that the object map item represents.