Forum Discussion
The "black window" is not related to being unable to find the object. Basically, if the component is obscured on screen by some other window or scrolled off the screen, in the Object Browser, the preview of the object will show as a black box.
Some more information will be useful:
1) What kind of application/window is this?
2) Can we have screenshots of the screen in question?
3) Can we have screenshots of the object browser displaying the properties of the object in question?
Good morning,
I have the same problem. My tested application is displayed in object tree as a black window. As far as I can see the component is not obscured on screen by some other window or scrolled off the screen. Testcomplete is not able to click on this window.
The application is a TApplication. I don't know if this has to do with it, but maybe worth mentioning.
Have any of you encountered this problem?
Thanks in advance.
- AlexKaras6 years agoChampion Level 3
Hi,
> My tested application is displayed in object tree as a black window.
Can you post a screenshot that demonstrates the problem?
- Adam16 years agoOccasional Contributor
I have added a screenshot that illustrates the problem.
- tristaanogre6 years agoEsteemed Contributor
What you're experiencing is correct... when TestComplete is in the foreground and your application is behind it, TestComplete cannot get an "image" of your control so it shows up black. When you move your application to the foreground, sure it shows up, but now TestComplete does not have focus so the Object Browser doesn't refresh.
If you were using two monitors and had TestComplete in one monitor and your application in another, this will work.
Truthfully, the image in the Object Browser has no functional effect on your tests. It's simply there to allow you to be able to visually verify the componet.
Related Content
Recent Discussions
- 3 days agovladd1