4.4.3. Using the GEF inspector
Prev | 4.4. Testing GEF AUTs | Next

### 4.4.3. Using the GEF inspector

The GEF Inspector View in the ITE allows you to collect information about the textpath to an item from within your RCP AUT. For many of the actions on GEF figures, you will need to know the textpath. Using the accessibility plug-in will mean that the textpaths will be easier to determine without the inspector. See the Developer Manual for further information on creating your own accessibility plug-in.

| The figure properties (key and value) of a GEF element can also be seen within the normal ITE properties view after inspection.

To use the inspector, you must have started the AUT (Section 3.21.2, “Starting the AUT”).

1. Open the GEF Inspector View if it is not already open via:

   Window-->Show View-->Other

2. In the Inspector View, select the AUT you want to inspect in from the drop-down menu next to the activate inspector button.

3. Click on an item to inspect it.

   | Make sure that the AUT is in focus before inspecting the figure. You may need to click in the title bar once to do this.

4. In the GEF Inspector View, the path to the item will be shown. If the code for your AUT uses the accessibility code, then the textpath will be less complex and more readable.

5. You can copy the textpath from the Inspector View via the context-menu and paste it as a parameter in your Test Cases.

   | You will need to activate the inspector for each item you want to inspect