Forum Discussion
karkadil
14 years agoValued Contributor
Any onscreen object in TestComplete has 2 properties: Visible and VisibleOnScreen. The 2nd one is exactly what you need.
However, if you are using grid's native properties, there is a possibility that you'll need to write your own function to determine if an object is visible. What you need is to get screen resolution, size and position of the window and grid, and position of the control you are working with inside grid, and after that you will be able to calculate absolute position of the element on the screen.
However, if you are using grid's native properties, there is a possibility that you'll need to write your own function to determine if an object is visible. What you need is to get screen resolution, size and position of the window and grid, and position of the control you are working with inside grid, and after that you will be able to calculate absolute position of the element on the screen.