Index: trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/GUIElementFactory.java
===================================================================
--- trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/GUIElementFactory.java	(revision 968)
+++ trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/GUIElementFactory.java	(revision 984)
@@ -84,6 +84,11 @@
         Properties mappings = getMappingsFromConfiguration();
         IGUIElement guiElement = null;
-
-        String className = mappings.getProperty(specification.getType());
+        String[] classHierarchy = specification.getClassHierarchy();
+        int i = 0;
+        String className = null;
+        while (className == null && i < classHierarchy.length){
+        	className = mappings.getProperty(classHierarchy[i]);
+        	i++;
+        }
         if (className != null) {
             try {
