0 Replies Latest reply on Jun 25, 2009 12:12 PM by Mahesh_flex

    QTP and dynamically generated object ids

    Mahesh_flex

      Hello,

       

      Our application generates Object tags and their attributes dynamically once JSP pages gets loaded in the browser. QTP does not recognize any user actions in this case (Of course all swf files got compiled with automation libraries).

       

      QTP works fine if i update JSPs with Object tags and ids (I am using this work around but not acceptable  ).

       

      <object id="SPM" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                 width="980" height="627"
                 codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
             <param name="movie" value="SPM.swf" />
             <param name="quality" value="high" />
             <param name="bgcolor" value="#ffffff" />
             <param name="allowScriptAccess" value="sameDomain" />
             <embed id = "embedSPM" src="SPM.swf" quality="high" bgcolor="#ffffff"
              width="980" height="627" name="SPM" align="middle"
              play="true"
              loop="false"
              quality="high"
              allowScriptAccess="sameDomain"
              type="application/x-shockwave-flash"
              pluginspage="http://www.adobe.com/go/getflashplayer">
             </embed>
         </object>

       

      How to make QTP recognize user actions in above case?

       

      Appreciate your help!

       

      Thanks