ClassElementsModule
Class
Definition
Namespace:ArtOfTest.WebAii.Design.ProjectModel.Providers.Modules
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
cs-api-definition
public class ElementsModule : ModuleBase
Inheritance: objectModuleBaseElementsModule
Inherited Members
Properties
FileSystemProvider
Declaration
cs-api-definition
protected FileSystemProvider FileSystemProvider { get; }
Property Value
Methods
AddElementDescriptor(ElementDescriptor, string)
Adds the element descriptor.
Declaration
cs-api-definition
public void AddElementDescriptor(ElementDescriptor desc, string filePath)
Parameters
desc
The desc.
filePath
The file path.
FixTestAsStepActionDescriptor(ExecuteTestActionDescriptor)
Fixes the test as step action descriptor.
Declaration
cs-api-definition
public void FixTestAsStepActionDescriptor(ExecuteTestActionDescriptor testAsStep)
Parameters
testAsStep
The test as step.
GenerateElementsCode()
Generates the elements code -> Pages.g
Declaration
cs-api-definition
public void GenerateElementsCode()
OnBeforeElementsLoad()
Declaration
cs-api-definition
protected virtual void OnBeforeElementsLoad()
OnElementLoaded(LightElementNode)
Declaration
cs-api-definition
protected virtual void OnElementLoaded(LightElementNode lightElement)
Parameters
lightElement
OnElementsLoaded()
Declaration
cs-api-definition
protected virtual void OnElementsLoaded()
OnElementsReplacementEnded()
Declaration
cs-api-definition
protected virtual void OnElementsReplacementEnded()
OnElementsReplacementStarted()
Declaration
cs-api-definition
protected virtual void OnElementsReplacementStarted()
RefreshElements()
Refreshes the elements. This does NOT trigger the extraction process again.
Declaration
cs-api-definition
public void RefreshElements()
TryMatchMergedElement(ElementDescriptor, out ElementDescriptor)
Declaration
cs-api-definition
public bool TryMatchMergedElement(ElementDescriptor element, out ElementDescriptor target)
Parameters
element
target
Returns
Events
BeforeElementsLoad
Occurs when before elements load starts.
ElementLoaded
Occurs when the Root element is loaded
Declaration
cs-api-definition
public event Action<LightElementNode> ElementLoaded
Event Value