Xamarin.UITest Guides | Samples

Xamarin.UITest.IApp.Screenshot Method

Takes a screenshot of the app in it's current state. This is used to denote test steps in the Xamarin Test Cloud.

Syntax

public FileInfo Screenshot (String title)

Parameters

title
The title of screenshot, used as step name.

Returns

The screenshot file.

Requirements

Namespace: Xamarin.UITest
Assembly: Xamarin.UITest (in Xamarin.UITest.dll)
Assembly Versions: 22.0.0.0