Forum Discussion

Prerna_Patil's avatar
Prerna_Patil
New Contributor
10 years ago

How to close child window in desktop application

In our applications we have to open some tool window do some actions and then close that tool window by clicking on the close button of tool window.I want to close it by clicking on the cross mark(close button). The cross mark is not recognized by the test complete indivisually.

4 Replies

  • Marsha_R's avatar
    Marsha_R
    Icon for Champion Level 3 rankChampion Level 3

    Use Object Spy on that same box and let's see the properties that it gives you. 

    • Prerna_Patil's avatar
      Prerna_Patil
      New Contributor

      Thank you for the response. Please find the attached screen shots for properties and methods.

      • Marsha_R's avatar
        Marsha_R
        Icon for Champion Level 3 rankChampion Level 3

        Look on the properties screen at the Parent line.  Click on the box with the three dots at the right.  You're looking for an index or something similar that will let you access the separate areas of that button.