Index: /trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/HTMLLogParser.java
===================================================================
--- /trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/HTMLLogParser.java	(revision 1908)
+++ /trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/HTMLLogParser.java	(revision 1909)
@@ -477,6 +477,7 @@
             }
         }
-        
-        targetId = idMapping.get(targetId);
+        else {
+            targetId = idMapping.get(targetId);
+        }
         
         if (targetId == null) {
@@ -569,5 +570,5 @@
         throws SAXException
     {
-        IGUIElement document = super.getGUIElementTree().find(targetDocument);
+        IGUIElement document = super.getGUIElementTree().find(idMapping.get(targetDocument));
         
         if (document == null) {
