Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.11 KB

change-window-state.md

File metadata and controls

27 lines (19 loc) · 1.11 KB
title page_title description position
Change Window State
Change Window State
How to change the Window state of the WPF application in Test Studio test run. Maximize/Minimize/Set application Window to normal during a test run in Test Studio
1

Change Window State

The Change Window State feature allows you to change the state of the WPF application window in test run-time. This article demonstrates how to add this type of step into the test.

Choose the Change Window State option from the Step Builder and click on the Add Step button in the lower right corner of the pane.

Add Change Window State Step

The WindowState property of the step allows to change this to one of the following options:

  • Normal
  • Minimized
  • Maximized
  • Closed

The WindowCaption property defines the window which state gets changed and is a mandatory field.

Step Properties