Click or drag to resize
Tesco SW, a.s.

BaseElementVerifyTextContains Method

Ověří jestli properta Text obsahuje hledaný řetězec

Namespace:  TescoSW.MW.UITests.Common.PageModel.Components
Assembly:  TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 21.2.8103.33088
Syntax
C#
public virtual void VerifyTextContains(
	string pattern,
	bool contains = true,
	string message = null,
	int interval = 8
)

Parameters

pattern
Type: SystemString
Hledaný řetězec
contains (Optional)
Type: SystemBoolean
Příznak určující, zda se ověřuje, že obsahuje nebo neobsahuje daný řetězec
message (Optional)
Type: SystemString
Chybová hláška, pokud text nebude přítomen a test spadne
interval (Optional)
Type: SystemInt32
doba v sekundách po kterou se má čekat na předanou akci

Implements

IBaseElementVerifyTextContains(String, Boolean, String, Int32)
See Also