Table of Contents

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 IContentComponent

The content.

propertyName string

The 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 IContentComponent

The content.

propertyName string

The property name.

keys string

Text to keys.