Class ContentComponentExtensions
- Namespace
- GroupeIsa.Neos.EndToEndTests.UI.Extensions
- Assembly
- GroupeIsa.Neos.EndToEndTests.UI.dll
Provides a set of extensions methods for the IContentComponent class.
public static class ContentComponentExtensions
- Inheritance
-
ContentComponentExtensions
- Inherited Members
Methods
GetComponentByPropertyName<TComponent>(IContentComponent, string)
Gets a component by property name attribute.
public static TComponent GetComponentByPropertyName<TComponent>(this IContentComponent content, string propertyName) where TComponent : IAutomationComponent
Parameters
content
IContentComponentThe content.
propertyName
stringThe property name.
Returns
- TComponent
The component found.
Type Parameters
TComponent
The component type.
SetFormFieldText(IContentComponent, string, string)
Sets text in form field.
public static void SetFormFieldText(this IContentComponent content, string propertyName, string keys)
Parameters
content
IContentComponentThe content.
propertyName
stringThe property name.
keys
stringText to keys.