Ask a Question

" Error: the Object invoked has disconnected from its clients " is displayed while using Object Spy.

Occasional Contributor

" Error: the Object invoked has disconnected from its clients " is displayed while using Object Spy.



i am trying to record a keyword test and while playing back the object was not being identified ( it was clicking on some other option on the screen) hence was trying to 

check for the properties using Objec  Spy -> Point and Fix option.


in the Properties -> for Enabled / Height / visible / Width -> i see the Error: the Object invoked has disconnected from its clients "


and when clicked on "Object browser" on the Object spy window it says:


Uanble to highlight this object in the object tree, because it does not exist.


Can some one help here.


Test Complete version: 14.0.317.


Champion Level 3



Most probably this means that the target object was destroyed and recreated in the tested application's code and this invalidated the reference to the initial object that TestComplete worked with. You need to search for the object a-new and use new found object.


  /Alex [Community Champion]
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
Occasional Contributor

how can i do that , can you please elaborate.


Thank you


In your test where you are clicking on this object, add a line right before it to wait for it to exist before you move on.  The Wait functions are good for this:

Occasional Contributor

i realized what mistake i was doing, while using the "Point and Fix"  option 


i was highlighting the object and then performing a click action and then was keying Ctrl+Shift+A


hence it was returning error as Test Complete didnt knew what to read after click.


the correct way was to highlight the object that is to be identified and then key in Ctrl+Shift+A.


it worked.


Thank you


Showing results for 
Search instead for 
Did you mean: