Forum Discussion

suvidhshetty's avatar
suvidhshetty
Contributor
13 years ago

How to validate (x) button exists on a window.

Hi,

Is there any property where we can get to know if the window has a close (x) button.
The window class is #32770.

Thanks
Suvidh

3 Replies

  • To add some more points to the above issue.
    I am using TestComplete Version 8.2.
  • I had a lot of trouble with this as there is no corresponding object to map.



    I think that it might be possible to verify the Close Button exists by verifying if the window frame has the property ControlBox = True, but that seems to control both the X button and the window menu in the upper left.