Forum Discussion
This might give a idea https://support.smartbear.com/testcomplete/docs/app-testing/web/general/object-identification/dom-model.html
- SP1237 years agoOccasional ContributorThanks, it works on the Power Bi but not on the webpage where the power bi report is embedded
- AlexKaras7 years agoChampion 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.
- Axel266 years agoNew Contributor
Hello,
I have the same problem. Anyone has found a solution ? I tried your solution that doesn't seem to work.
I need to test contents of this frame. Visually, I see it in browser but in test complete, iframe tag is empty.
My code :
let frame = page.FindChild("ObjectType", "Frame", 5); let bodyArray = frame.contentWindow.document.getElementsByTagName("body"); Log.Message(bodyArray.length) // print 1 Log.Message(bodyArray[0] != null) //print False
Help please. I'm done :smileysad:
Related Content
- 4 years agoMr_Bro
- 7 months agopaarmann-ara
Recent Discussions
- 17 hours agodhundley