Forum Discussion
VisibleOnScreen is precisely that... it determines whether or not the object is visible on screen. I think you may have just lucked out in the past for using whether or not it is "Enabled". Try the "Enabled" property to see if it's clickable.
- vlscfc9 years agoNew Contributor
The objects are indeed Enabled, Visible and VisibleOnScreen, although only partially and cannot accept a focus when I manually do a roll-over.
I was going by the TestComplete Documentation, which indicates in the Remarks it could be used for visible controls that accept mouse clicks:
Remarks
•The VisibleOnScreen property returns true, if a control or its part is on screen and can accept mouse clicks. For example, focused controls whose opacity is set to 0 are absolutely transparent (that is, invisible), but their VisibleOnScreen property will return true.
•The VisibleOnScreen property is always false for disabled Silverlight controls.
After more investigation, this appears to only happen in Chrome and not FireFox, so I am wondering if perhaps it's an issue with Chrome or that TC extension?
Thanks for trying to help me out, I am puzzled and haven't found a work-around yet for my web app.
- tristaanogre9 years agoEsteemed Contributor
Might have something to do with the TC extension. Unfortunately, I'm running TC 10.6 so I don't have the latest and greatest so I can't check that out for you. I know Chrome recently updated to version 51 so it's possible something MIGHT be out of date.
- Colin_McCrae9 years agoCommunity Hero
Sounds like a bug to me. I'd raise a support ticket. Chrome is bad for this sort of thing. Most of the browser handling issues I've run into have been with Chrome.
Related Content
Recent Discussions
- 18 hours ago