Class
ProjectModule

Definition

Namespace:ArtOfTest.WebAii.Design.ProjectModel.Providers.Modules

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class ProjectModule : ModuleBase

Inheritance: objectModuleBaseProjectModule

Inherited Members ModuleBase.TriggerAsyncFunc<T>(Func<T>)ModuleBase.TriggerAsyncAction(Action)ModuleBase.InvokeOnUIThread(Action, bool)

Properties

CachedTests

Declaration

cs-api-definition
public ReadOnlyCollection<TestBase> CachedTests { get; }

Property Value

ReadOnlyCollection<TestBase>

FileSystemProvider

Declaration

cs-api-definition
protected FileSystemProvider FileSystemProvider { get; }

Property Value

FileSystemProvider

Project

Declaration

cs-api-definition
protected override Project Project { get; }

Property Value

Project

Overrides ModuleBase.Project

Methods

GetTest(Guid, bool)

Get or open the test.

Declaration

cs-api-definition
public TestBase GetTest(Guid testId, bool waitForElementsToLoad = false)

Parameters

testId

Guid

The test id.

waitForElementsToLoad

bool

Returns

TestBase

GetTest(string, bool)

Get or open the test by path.

Declaration

cs-api-definition
public TestBase GetTest(string path, bool waitForElementsToLoad = false)

Parameters

path

string

The path.

waitForElementsToLoad

bool

Returns

TestBase

OnBeforeProjectLoad(BeforeProjectLoadArgs)

Declaration

cs-api-definition
protected virtual void OnBeforeProjectLoad(BeforeProjectLoadArgs args)

Parameters

args

BeforeProjectLoadArgs

OnTestOpened(TestBase)

Declaration

cs-api-definition
protected virtual void OnTestOpened(TestBase testBase)

Parameters

testBase

TestBase

OpenTestAsync(Guid)

Opens the test async by firing the TestOpened event

Declaration

cs-api-definition
public void OpenTestAsync(Guid testId)

Parameters

testId

Guid

The test id.

Events

BeforeProjectLoad

Occurs before project loaded starts

Declaration

cs-api-definition
public event Action<BeforeProjectLoadArgs> BeforeProjectLoad

Event Value

Action<BeforeProjectLoadArgs>

TestOpened

Occurs when 'Test' is opened in async mode.

Declaration

cs-api-definition
public event Action<TestBase> TestOpened

Event Value

Action<TestBase>