Skip to main content
All docs
V24.2
.NET 8.0+

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