skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Free Tools
    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
    • Test Studio Trainings
    • Test Studio Consulting
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class FileSystemProvider

Inheritance
System.Object
FileSystemProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Design.ProjectModel.Providers
Assembly: ArtOfTest.WebAii.Design.dll

Syntax

public class FileSystemProvider

Constructors

FileSystemProvider()

Declaration
public FileSystemProvider()

Properties

AppContainer

Declaration
public ILifetimeScope AppContainer { get; set; }
Property Value
Autofac.ILifetimeScope

CachedTests

Declaration
public ReadOnlyCollection<TestBase> CachedTests { get; }
Property Value
System.Collections.ObjectModel.ReadOnlyCollection<TestBase>

CodeFilesProvider

Declaration
public CodeFilesProvider CodeFilesProvider { get; }
Property Value
CodeFilesProvider

CodeService

Declaration
public ICodeService CodeService { get; }
Property Value
ICodeService

DataSourceItems

Declaration
public IList<LightDataSourceElement> DataSourceItems { get; }
Property Value
System.Collections.Generic.IList<LightDataSourceElement>

DataSourcesProvider

Declaration
public DataSourcesProvider DataSourcesProvider { get; }
Property Value
DataSourcesProvider

ElementsProvider

Declaration
public ElementsProvider ElementsProvider { get; }
Property Value
ElementsProvider

LightProjectElements

Declaration
public List<LightProjectElement> LightProjectElements { get; }
Property Value
System.Collections.Generic.List<LightProjectElement>

LightTestBaseProvider

Declaration
public LightTestsProvider LightTestBaseProvider { get; }
Property Value
LightTestsProvider

OwnerProject

Declaration
public Project OwnerProject { get; }
Property Value
Project

SourceControl

Declaration
public SourceControlProviderBase SourceControl { get; set; }
Property Value
SourceControlProviderBase

TestAsStepReferences

Declaration
public IList<LightTestAsStepReference> TestAsStepReferences { get; }
Property Value
System.Collections.Generic.IList<LightTestAsStepReference>

TestsBaseProvider

Declaration
public TestsProvider TestsBaseProvider { get; }
Property Value
TestsProvider

Methods

AddDataSource(String)

Declaration
public void AddDataSource(string path)
Parameters
System.String path

AddElementDescriptor(ElementDescriptor, String)

Declaration
public void AddElementDescriptor(ElementDescriptor desc, string filePath)
Parameters
ElementDescriptor desc

System.String filePath

AddLightCodeFileToSrcControl(LightCodeFile)

Declaration
public void AddLightCodeFileToSrcControl(LightCodeFile lCodeFile)
Parameters
LightCodeFile lCodeFile

AddLightTestToSrcControl(LightTest)

Declaration
public void AddLightTestToSrcControl(LightTest lightTest)
Parameters
LightTest lightTest

CloseProject()

Declaration
public void CloseProject()

CopyCodeFile(LightFolder, LightCodeFile, String)

Declaration
public string CopyCodeFile(LightFolder newParentFolder, LightCodeFile codeFileToCopy, string newName = null)
Parameters
LightFolder newParentFolder

LightCodeFile codeFileToCopy

System.String newName

Returns
System.String

CopyElements(LightFolder, LightProjectElement[])

Declaration
public void CopyElements(LightFolder parentFolder, params LightProjectElement[] projectElements)
Parameters
LightFolder parentFolder

LightProjectElement[] projectElements

CopyTest(LightFolder, LightTest, String)

Declaration
public string CopyTest(LightFolder newParentFolder, LightTest testToCopy, string newName = null)
Parameters
LightFolder newParentFolder

LightTest testToCopy

System.String newName

Returns
System.String

CreateCodeFile(String)

Declaration
public LightCodeFile CreateCodeFile(string path)
Parameters
System.String path

Returns
LightCodeFile

CreateFolder(String, Boolean)

Declaration
public LightFolder CreateFolder(string path, bool folderCreated)
Parameters
System.String path

System.Boolean folderCreated

Returns
LightFolder

CreateProject(String, String, String, CodeGenerationLanguage)

Declaration
public void CreateProject(string location, string vsSolutionPath, string vsProjectPath, CodeGenerationLanguage vsProjectLanguage)
Parameters
System.String location

System.String vsSolutionPath

System.String vsProjectPath

CodeGenerationLanguage vsProjectLanguage

CreateTest(TestType, String)

Declaration
public LightTest CreateTest(TestType type, string parentFolder)
Parameters
TestType type

System.String parentFolder

Returns
LightTest

DeleteCodeFile(LightCodeFile)

Declaration
public void DeleteCodeFile(LightCodeFile lCodeFile)
Parameters
LightCodeFile lCodeFile

DeleteCodeFile(LightTest)

Declaration
public void DeleteCodeFile(LightTest lTest)
Parameters
LightTest lTest

DeleteDataSourceItem(LightDataSourceElement)

Declaration
public void DeleteDataSourceItem(LightDataSourceElement lDataSource)
Parameters
LightDataSourceElement lDataSource

DeleteFolder(LightFolder)

Declaration
public void DeleteFolder(LightFolder lFolder)
Parameters
LightFolder lFolder

DeleteTest(LightTest, Boolean)

Declaration
public void DeleteTest(LightTest lTest, bool deleteFromDisk)
Parameters
LightTest lTest

System.Boolean deleteFromDisk

ExcludeProjectElements(IList<LightProjectElement>)

Declaration
public void ExcludeProjectElements(IList<LightProjectElement> elements)
Parameters
System.Collections.Generic.IList<LightProjectElement> elements

FixTestAsStepActionDescriptor(ExecuteTestActionDescriptor)

Declaration
public void FixTestAsStepActionDescriptor(ExecuteTestActionDescriptor testAsStep)
Parameters
ExecuteTestActionDescriptor testAsStep

FixTestAsStepByLightTest(LightTest, HashSet<LightProjectElement>)

Declaration
public void FixTestAsStepByLightTest(LightTest lightTest, HashSet<LightProjectElement> dirtyTestsSet)
Parameters
LightTest lightTest

System.Collections.Generic.HashSet<LightProjectElement> dirtyTestsSet

GenerateElementsCode()

Declaration
public void GenerateElementsCode()

ImportCodeFile(ImportCodeFileArgs)

Declaration
public LightCodeFile ImportCodeFile(ImportCodeFileArgs args)
Parameters
ImportCodeFileArgs args

Returns
LightCodeFile

ImportTest(ImportTestArgs, Boolean)

Declaration
public LightTest ImportTest(ImportTestArgs args, bool updateCodeBehind = true)
Parameters
ImportTestArgs args

System.Boolean updateCodeBehind

Returns
LightTest

LoadProject(String, String, String)

Declaration
public void LoadProject(string location, string vsSolutionPath = "", string vsProjectPath = "")
Parameters
System.String location

System.String vsSolutionPath

System.String vsProjectPath

MoveCodeFile(LightCodeFile, String)

Declaration
public void MoveCodeFile(LightCodeFile lCodeFile, string newCodeFilePath)
Parameters
LightCodeFile lCodeFile

System.String newCodeFilePath

MoveFolder(LightFolder, String)

Declaration
public void MoveFolder(LightFolder lFolder, string newFolderPath)
Parameters
LightFolder lFolder

System.String newFolderPath

MoveTest(LightTest, String)

Declaration
public void MoveTest(LightTest lTest, string newTestPath)
Parameters
LightTest lTest

System.String newTestPath

NextAvailableFilename(String)

Declaration
public static string NextAvailableFilename(string path)
Parameters
System.String path

Returns
System.String

OnBeforeProjectLoad(BeforeProjectLoadArgs)

Declaration
protected void OnBeforeProjectLoad(BeforeProjectLoadArgs args)
Parameters
BeforeProjectLoadArgs args

OnFolderDiscovered(LightFolder)

Declaration
protected void OnFolderDiscovered(LightFolder folder)
Parameters
LightFolder folder

OnLightCodeFileMoved(LightCodeFile, String)

Declaration
protected void OnLightCodeFileMoved(LightCodeFile lCodeFile, string oldPath)
Parameters
LightCodeFile lCodeFile

System.String oldPath

OnLightTestDeleted(LightTest)

Declaration
protected void OnLightTestDeleted(LightTest lTest)
Parameters
LightTest lTest

OnLightTestDeleting(LightTest)

Declaration
protected void OnLightTestDeleting(LightTest lTest)
Parameters
LightTest lTest

OnLightTestMoved(LightTest, String)

Declaration
protected void OnLightTestMoved(LightTest lTest, string oldPath)
Parameters
LightTest lTest

System.String oldPath

OnLightTestProviderLoadCompleted()

Declaration
protected void OnLightTestProviderLoadCompleted()

OnLightTestsDiscovered()

Declaration
protected void OnLightTestsDiscovered()

OnProjectElementManuallyDeleted(LightProjectElement)

Declaration
protected void OnProjectElementManuallyDeleted(LightProjectElement element)
Parameters
LightProjectElement element

OpenTest(Guid, Boolean)

Declaration
public TestBase OpenTest(Guid testId, bool waitForElementsToLoad = false)
Parameters
System.Guid testId

System.Boolean waitForElementsToLoad

Returns
TestBase

OpenTest(String, Boolean)

Declaration
public TestBase OpenTest(string path, bool waitForElementsToLoad = false)
Parameters
System.String path

System.Boolean waitForElementsToLoad

Returns
TestBase

OpenTestAsync(LightTest)

Declaration
public void OpenTestAsync(LightTest lTest)
Parameters
LightTest lTest

OpenTestAsync(Guid)

Declaration
public void OpenTestAsync(Guid testId)
Parameters
System.Guid testId

OverrideProjectSettings()

Declaration
public void OverrideProjectSettings()

RefreshElements()

Declaration
public void RefreshElements()

ReloadElements(LightProjectElement[])

Declaration
public void ReloadElements(params LightProjectElement[] elements)
Parameters
LightProjectElement[] elements

RenameCodeFile(LightCodeFile, String)

Declaration
public void RenameCodeFile(LightCodeFile lCodeFile, string newName)
Parameters
LightCodeFile lCodeFile

System.String newName

RenameFolder(LightFolder, String)

Declaration
public void RenameFolder(LightFolder lFolder, string newName)
Parameters
LightFolder lFolder

System.String newName

RenameTest(LightTest, String)

Declaration
public void RenameTest(LightTest lTest, string newName)
Parameters
LightTest lTest

System.String newName

SaveLightCodeFile(LightCodeFile)

Declaration
public void SaveLightCodeFile(LightCodeFile lCodeFile)
Parameters
LightCodeFile lCodeFile

SaveLightTest(LightTest)

Declaration
public void SaveLightTest(LightTest lightTest)
Parameters
LightTest lightTest

SaveProject()

Declaration
public void SaveProject()

SaveProjectElements(IList<LightProjectElement>)

Declaration
public void SaveProjectElements(IList<LightProjectElement> elements)
Parameters
System.Collections.Generic.IList<LightProjectElement> elements

SmartRefresh(Boolean)

Declaration
public IList<string> SmartRefresh(bool updateCodeBehind = true)
Parameters
System.Boolean updateCodeBehind

Returns
System.Collections.Generic.IList<System.String>

Events

BeforeElementsLoad

Declaration
public event Action BeforeElementsLoad
Event Type
System.Action

BeforeProjectLoad

Declaration
public event Action<BeforeProjectLoadArgs> BeforeProjectLoad
Event Type
System.Action<BeforeProjectLoadArgs>

DataSourceItemLoaded

Declaration
public event Action<LightDataSourceElement> DataSourceItemLoaded
Event Type
System.Action<LightDataSourceElement>

ElementLoaded

Declaration
public event Action<LightElementNode> ElementLoaded
Event Type
System.Action<LightElementNode>

ElementsLoaded

Declaration
public event Action ElementsLoaded
Event Type
System.Action

ElementsReplacementEnded

Declaration
public event Action ElementsReplacementEnded
Event Type
System.Action

ElementsReplacementStarted

Declaration
public event Action ElementsReplacementStarted
Event Type
System.Action

FolderDiscovered

Declaration
public event Action<LightFolder> FolderDiscovered
Event Type
System.Action<LightFolder>

LightCodeFileMoved

Declaration
public event Action<LightCodeFile, string> LightCodeFileMoved
Event Type
System.Action<LightCodeFile, System.String>

LightCodeLoaded

Declaration
public event Action<LightCodeFile> LightCodeLoaded
Event Type
System.Action<LightCodeFile>

LightProjectLoaded

Declaration
public event Action<Project> LightProjectLoaded
Event Type
System.Action<Project>

LightTestDeleted

Declaration
public event Action<LightTest> LightTestDeleted
Event Type
System.Action<LightTest>

LightTestDeleting

Declaration
public event Action<LightTest> LightTestDeleting
Event Type
System.Action<LightTest>

LightTestLoaded

Declaration
public event Action<LightTest> LightTestLoaded
Event Type
System.Action<LightTest>

LightTestMoved

Declaration
public event Action<LightTestMovedArgs> LightTestMoved
Event Type
System.Action<LightTestMovedArgs>

LightTestsLoaded

Declaration
public event Action LightTestsLoaded
Event Type
System.Action

ProjectElementManuallyDeleted

Declaration
public event Action<LightProjectElement> ProjectElementManuallyDeleted
Event Type
System.Action<LightProjectElement>

TestOpened

Declaration
public event Action<TestBase> TestOpened
Event Type
System.Action<TestBase>

Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.