Skip to main content
All docs
V24.1
.NET Framework 4.5.2+

IEasyTestScreen.GetScreenshot() Method

Makes a screenshot of an application window.

Namespace: DevExpress.EasyTest.Framework

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