Forum Discussion
Just in relation to this point. The sibling element
span > span.rf-layout-row > span.rf-message-red.rf-cell-label.rf-column-label-xl
can be detected by TestComplete. Would this be possible if there was an iFrame? I'm assuming both the siblings, including the undetectable one, would be affected by the iFrame. So if one is detectable and one not does that indicate that there is no iFrame, and something else is the issue?
Hi Thomas
Sorry for the delay.
In order to access the iframe content we would need to run the browser in a certain way ie disabling web security etc
Thats all mentioned in the doc.
However, if a sibling object is accessible it may not be a frame issue.
I would recommend engaging with our support team
https://support.smartbear.com/testcomplete/message/
Feel free to message me privately the case number.
If its possible for me to replicate on my machine it would be great
KR
Vinnie
- ThomasCasserly2 years agoFrequent Contributor
Resolved it myself by editing the HTML of the loaded page. The undetected object was a <span>, which was empty, but had classes assigned for CSS formatting. When I added a text character to it, this then made the control detectable and I mapped it. Removed the added text after mapping and control remained detectable to TestComplete.
- AlexKaras2 years agoChampion Level 3
Hi,
> The undetected object was a <span>, which was empty
This is documented here: https://support.smartbear.com/testcomplete/docs/app-testing/web/general/object-identification/tree-model-elements.html
Related Content
- 3 years ago
- 4 years ago
- 12 years ago
Recent Discussions
- 23 hours ago