How to check if a required window is open or not. Sys.Process("App").WPFObject("HwndSource: EngagementHost", "TestWndCaption") I need to check if Window with TestWndCaption is open or not.
Use the WaitWPFObject method (see the "WaitWPFObject Method" help topic). Also, I recommend that you read the "Waiting for a Process or Window Activation" help topic.