Forum Discussion
Hi Guru
Unfortunately, the Object Spy isn't available in TestExecute.
If your tests are running on the pc on which you have TestComplete installed, I would suggest that you ensure that the pc on which TestExecute is installed is:
- using the same version of your tested application;
- is configured in the same way;
- the screen display is the same resolution (hopefully you're not using screen coordinates in your tests).
Regards
Stephen.
It is possible to create a sort of object spy from Test Execute by creating a UserForm with a TObjectPicker.
You would then add an event handler for the TObjectPickers OnObjectPicked event and reference the object via the PickedObjectName property. You can then use .Find or .FindAll from your event handler, searching by object full name, to get a reference to the object itself if you require any additional properties.
- iamraj0910 years agoContributor