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

ExtensionMethodsSendKeysToDynamic Method

Pošle vstup do elementu (podobně jako IWebElement.SendKeys) pouze počítá s tím, že se element může v průběhu psaní překreslit (výkonově náročnější).

Namespace:  TescoSW.MW.UITests.Common
Assembly:  TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 21.2.8103.33088
Syntax
C#
public static void SendKeysToDynamic(
	this ISearchContext parent,
	By selector,
	string text,
	int interval = 8
)

Parameters

parent
Type: ISearchContext
Rodičovský element uvnitř něhož je hledaný input
selector
Type: By
Selektor pro nalezeni input elementu
text
Type: SystemString
Vkládaný text
interval (Optional)
Type: SystemInt32
doba v sekundách po kterou se má čekat na předanou akci

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISearchContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also