cancel
Showing results for 
Search instead for 
Did you mean: 

Window Caption

Highlighted
Contributor

Window Caption

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.
1 REPLY 1
Highlighted
Staff

RE: Window Caption

Hi,



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.
------
Yuri
TestComplete Customer Care Engineer

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to pass custom command-line arguments as a test parameter for the TechCorner tag!

Will you dare to take the challenge?


Top Kudoed Authors