IApp.Screenshot(String) 方法

定義

擷取目前狀態的應用程式螢幕擷取畫面。 這可用來表示 Xamarin Test Cloud 中的測試步驟。

public System.IO.FileInfo Screenshot (string title);
abstract member Screenshot : string -> System.IO.FileInfo
Public Function Screenshot (title As String) As FileInfo

參數

title
String

螢幕擷取畫面的標題,用來做為步驟名稱。

傳回

FileInfo

螢幕擷取畫面檔案。

適用於