Forum Discussion

SP123's avatar
SP123
Occasional Contributor
7 years ago

How can I access an item in an iFrame, the object spy is not recognizing the objects in the report

I am trying to run automation script for testing reports . Test complete doesn't recognize the objects in the Power Bi report. When I spoke with the dev team, they suggested I ask the question as "how to access items in an iFrame".

Can some one help me with it.

5 Replies

    • SP123's avatar
      SP123
      Occasional Contributor
      Thanks, it works on the Power Bi but not on the webpage where the power bi report is embedded
      • AlexKaras's avatar
        AlexKaras
        Champion Level 3

        Hi,

         

        > not on the webpage where the power bi report is embedded

        Is the report embedded as html markup or as some ActiveX control?

        In the former case, all report elements should be identifiable and accessible for TestComplete. In the latter case it is quite possible that internal structure of the report may be hidden from TestComplete because it is not exposed by the control. You may try to enable '*' option for MSAA (Current Project Properties|Open Applications|MSAA) and check if it helps.

  • SP123's avatar
    SP123
    Occasional Contributor
    I was not able to figure it out why the object spy is not capturing the objects on the embedded power BI report
    I was able to work around by testing the report on the power BI link directly.