Skip to main content
All docs
V25.1
  • .NET 8.0+

    IEasyTestScreen.GetScreenshot() Method

    Makes a screenshot of an application window.

    Namespace: DevExpress.EasyTest.Framework

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