Forum Discussion
What version of TC are you using?
The reason I ask is that, because of the nature of Windows 10 and how different versions of Windows 10 sometimes identify things differently, you may need to upgrade your TC version.
I am using Version: 12.50.4142.7 x64 and i could able to see in Object browser that particular button.
- tristaanogre7 years agoEsteemed Contributor
Then the problem is not in the OS but in the code.
Generally speaking, the error message that you indicate is a "timing" error. You perform an action and that action causes objects or components to become visible or available. you then perform another action on those new items.What it sounds like is that between the first and second action, there is some sort of time delay or other process that needs to be waited for before you can perform the second action. Try putting a "delay" in before the desired action as a test... I would NOT recommend keeping the hard coded delay... it is simply to diagnose. Once we confirm that is the case, then you can start looking at adding things like WaitChild or WaitProperty or something like that.
- marunachalam7 years agoOccasional Contributor
After added delay getting the same error,
There was an attempt to perform an action at point (41, 11) which is transparent or out of the window bounds.
seems It could able to get that button, but some thing else blocking.
- tristaanogre7 years agoEsteemed Contributor
I think we'll need more information at this time. What is the code that is actually being executed (screenshots or copy/paste)? How is the object identified in NameMapping? Can you confirm that it is actually on the screen at the time the operation is attempted?
Just an FYI, that error is pretty self explanatory. An action is attempted on an object at the indicated co-ordinates on the object. For some reason, when that action is attempted, the object is not currently on the screen (perhaps scrolled off somewhere or hidden by some other pop-up). So, the object DOES exist... TestComplete confirms it. But it is not currently available for a mouse action to be able to interact with it due to its screen location.