Ask a Question

Object is not detected by TestComplete. Can it be made detectable?

Frequent Contributor

Object is not detected by TestComplete. Can it be made detectable?

Hi everyone, 

I am trying to understand why I can't detect and therefore map a particular object in my tested web application. Screenshot is attached of the element being inspected. Anyone know why it's not being detected by TestComplete/ How the developers could change it to make it detectable?





Hi @ThomasCasserly 


Is the content rendered within an Iframe? 


Chromium browsers can be tricky with iFrames however you can configure the browser to make the content within the frame accessible. 


See this doc outlining what needs to be configured in Edge or Chrome





Frequent Contributor

Good question and I have no idea, will have to ask the Devs and if it is the iFrame issue I will check out the link. 

Thanks for the suggestion👍👍

Frequent Contributor

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


Feel free to message me privately the case number. 


If its possible for me to replicate on my machine it would be great 





Trusted Contributor

I found a similar example ( and it seems like TC is not able to recognise the "dots". 


Not sure if this is a limitation of TC?

Frequent 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.



The undetected object was a <span>, which was empty

This is documented here:


  /Alex [Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
Showing results for 
Search instead for 
Did you mean: