cancel
Showing results for 
Search instead for 
Did you mean: 

Check whether Window is Minimised

SOLVED
Highlighted
Occasional Contributor

Check whether Window is Minimised

Hello,

I need to check whether a deactivated Window is minimised. The window is minimised and deactivated until the called process is finished, but I need to check whether the main Windows is correctly minimised during this time. Unfortunately the usual things do not work as the Window is also deactivated using "WaitForSingleObject" so most keyword functions even a IfObject with visible just lead to an error.

I'd thought about using Win32API.GetWindowPlacement but I have no clue how to use it.

Has someone any idea?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Leader
3 REPLIES 3
Highlighted
Community Leader
Highlighted
Occasional Contributor

Oh I see I have only searched in the Desktop Testing section.

Thank you for the fast answer, it helped. IsWindowVisible worked the way I needed.

Highlighted
Community Leader

Hi,

 

Glad to hear that!

 

Have a nice day!

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get properties of a web page element

See replies!

Compare images using the Region Checkpoint

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors