Compartir a través de


ValidationRuleFindText.PassIfTextFound (Propiedad)

Obtiene o establece un valor que indica si la prueba se pasa o produce un error si el texto se encuentra o no.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
Ensamblado:  Microsoft.VisualStudio.QualityTools.WebTestFramework (en Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Sintaxis

'Declaración
Public Property PassIfTextFound As Boolean
    Get
    Set
public bool PassIfTextFound { get; set; }
public:
property bool PassIfTextFound {
    bool get ();
    void set (bool value);
}
member PassIfTextFound : bool with get, set
function get PassIfTextFound () : boolean
function set PassIfTextFound (value : boolean)

Valor de propiedad

Tipo: System.Boolean
true si la prueba se pasa cuando se encuentra el texto; o bien, es false si la prueba se supera cuando no se encuentra el texto.De manera predeterminada, es true.

Seguridad de .NET Framework

Vea también

Referencia

ValidationRuleFindText Clase

Microsoft.VisualStudio.TestTools.WebTesting.Rules (Espacio de nombres)