Skip to main content
All docs
V23.2
.NET 6.0+

IEasyTestScreen.GetScreenshot() Method

Makes a screenshot of an application window.

Namespace: DevExpress.EasyTest.Framework

Assembly: DevExpress.EasyTest.v23.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