Skip to main content
All docs
V24.2
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IEasyTestScreen.GetScreenshot() Method

Makes a screenshot of an application window.

Namespace: DevExpress.EasyTest.Framework

Assembly: DevExpress.EasyTest.v24.2.dll

NuGet Package: DevExpress.EasyTest

#Declaration

Image GetScreenshot()

#Returns

Type Description
Image

An application’s screenshot.

#Remarks

Call the SetActiveWindowSize(Size) method before calling the GetScreenshot method to guarantee that window sizes on the actual and expected screenshots are the same.

See Also