Completed
Last Updated: 09 Dec 2014 13:48 by ADMIN
ADMIN
Mario
Created on: 07 Feb 2013 17:33
Type: Bug Report
0
Selecting an element in the DOM explorer highlights the wrong element on the page.
Selecting a context menu link element in the DOM explorer highlights the wrong element on the page, subsequently an action created against these context menu links produces an action/element in the Elements Explorer on the incorrect element.
1 comment
ADMIN
Pavel
Posted on: 13 Feb 2013 07:36
This problem is caused by part of the HTML of the page, which IE fails to parse for some reason:

<OBJECT id=FlashID 
                  classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=310 
                  height=60><PARAM NAME="movie" VALUE="/globe.swf"><PARAM NAME="quality" VALUE="high"><PARAM NAME="wmode" VALUE="opaque"><PARAM NAME="swfversion" VALUE="9.0.45.0"><PARAM NAME="expressinstall" VALUE="/Scripts/expressInstall.swf">
                                                                            <!-- 
                  This param tag prompts users with Flash Player 6.0 r65 and 
                  higher to download the latest version of Flash Player. Delete 
                  it if you donĂ¢??t want users to see the prompt. -->            
                              <!-- Next object tag is for non-IE browsers. So 
                  hide it from IE using IECC. -->            <!--[if !IE]>-->    
                          <object type="application/x-shockwave-flash" 
                  data="/globe.swf" width="310" height="60">              
                  <!--<![endif]-->                                               
                                         <!-- The browser displays the following 
                  alternative content for users with Flash Player 6.0 and older. 
                  -->              <div>                <h4>Content on this page 
                  requires a newer version of Adobe Flash Player.</h4>           
                       <p><a href="http://www.adobe.com/go/getflashplayer"><img 
                  src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" 
                  alt="Get Adobe Flash player" width="112" height="33" 
                  /></a></p>              </div>              <!--[if !IE]>-->   
                           </object>            <!--<![endif]-->        <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="/globe.swf" width="310" height="60">
              <!--<![endif]--><!--[if !IE]>-->
            </object>
            <!--<![endif]--></OBJECT>
In result Test Studio uses a different (correct) DOM tree compared to the one parsed by the IE browser which is causing the discrepencies when recording. If this HTML is removed, IE behaves correctly.