0 Replies Latest reply on May 17, 2012 12:29 AM by pmkarthikeyan

    HP QTP10 cannot read Automation values of Advanced DataGrid

    pmkarthikeyan

      Hi everyone,

       

      We're an Automation functional testing team, testing a flex application with HP QTP v10. So far we've successfully automated many parts of the application. Now, we're struck at a serious issue.

       

      The issue is QTP cannot read automation values specified for an Advanced Datagrid (ADG).

      While trying to read row data of the ADG, the automation name of QTP shows like,

      "lblData | someGroup |  | ** |  |  |  |  |  |  |  |  |  | lblData"

       

      The screenshot of Object Spy while spying ADG is also attached.

      QTP_Flex_scrnsht.png

       

      Other than the Automation Index, we are not able to populate any automation values of a row data.

       

      The ADG is a custom one. Our development team has customized it in some way, and we dont have access to the code. They are using an External renderer or Custom renderer to render values into the column.

       

      As there is no possiblity for value-based recording, we tried to access the ADG with index-based recording. Then, we 're able to perform operations like Click, but cannot read contents of the row/cell.

       

      We're using:

      • HP Quick TestProfessional v10.0
      • Flex plugin 4.5
      • Internet Explorer 7
      • Flash Player v10

       

      Our Questions are:

      • How to get automation values for these custom ADG?
      • Is there any other possible ways to access the custom ADG components other than these automation values?
      • Do we need any patches/plugin upgradation to perform this?
      • Is there any other tools in market that can recognize and access these custom ADGs?

       

      Without these automation values we're unable to proceed further work. Any replies/comments/help are welcome.

       

      Thank you!