Condividi tramite


Proprietà ValidationRuleFindText.PassIfTextFound

Ottiene o imposta un valore che indica se passare o restituire un esito negativo del test se viene trovato oppure no.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Sintassi

'Dichiarazione
Public Property PassIfTextFound As Boolean
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)

Valore proprietà

Tipo: Boolean
true se il test passa quando viene trovato il testo; in caso contrario, false se il test passa quando non viene trovato il testo.Il valore predefinito è true.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ValidationRuleFindText Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.WebTesting.Rules