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

Interface ICodeService

Namespace: ArtOfTest.WebAii.Design.CodeGeneration
Assembly: ArtOfTest.WebAii.Design.dll

Syntax

public interface ICodeService

Properties

AutoFormat

Declaration
bool AutoFormat { get; set; }
Property Value
System.Boolean

CodeEditor

Declaration
ICodeEditor CodeEditor { get; set; }
Property Value
ICodeEditor

Methods

AddCodedFunction(LightTest, LightCodeFile, AutomationStep, String, Boolean)

Declaration
void AddCodedFunction(LightTest lightTest, LightCodeFile lightCodeFile, AutomationStep step, string functionContent, bool positionCodedStep)
Parameters
LightTest lightTest

LightCodeFile lightCodeFile

AutomationStep step

System.String functionContent

System.Boolean positionCodedStep

CleanupTestCodeFileEditor(LightCodeFile)

Declaration
void CleanupTestCodeFileEditor(LightCodeFile lightCodeFile)
Parameters
LightCodeFile lightCodeFile

CreateCodeBehindFile(LightTest)

Declaration
string CreateCodeBehindFile(LightTest lightTest)
Parameters
LightTest lightTest

Returns
System.String

CreateLanguageData(Project)

Declaration
void CreateLanguageData(Project project)
Parameters
Project project

CreateNewClass(String)

Declaration
void CreateNewClass(string path)
Parameters
System.String path

DisplayLanguageSelector(Project)

Declaration
bool DisplayLanguageSelector(Project project)
Parameters
Project project

Returns
System.Boolean

GetCodedFunctions(LightCodeFile, out String)

Declaration
List<string> GetCodedFunctions(LightCodeFile lightCodeFile, out string parsingError)
Parameters
LightCodeFile lightCodeFile

System.String parsingError

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

GetCodedTestAsSteps(LightCodeFile)

Declaration
string[] GetCodedTestAsSteps(LightCodeFile lightCodeFile)
Parameters
LightCodeFile lightCodeFile

Returns
System.String[]

GotoLine(LightCodeFile, Int32, Int32)

Declaration
void GotoLine(LightCodeFile lightCodeFile, int line, int column)
Parameters
LightCodeFile lightCodeFile

System.Int32 line

System.Int32 column

InitCodeBehindProperties(LightCodeFile)

Declaration
void InitCodeBehindProperties(LightCodeFile lightCodeFile)
Parameters
LightCodeFile lightCodeFile

LoadCodeBehindFile(Project, LightCodeFile)

Declaration
void LoadCodeBehindFile(Project project, LightCodeFile lightCodeFile)
Parameters
Project project

LightCodeFile lightCodeFile

RaiseFileSystemEvents(Boolean)

Declaration
void RaiseFileSystemEvents(bool enable)
Parameters
System.Boolean enable

RegenerateElementsCode(Object, GenericEventArgs<String>)

Declaration
void RegenerateElementsCode(object sender, GenericEventArgs<string> e)
Parameters
System.Object sender

GenericEventArgs<System.String> e

ReloadCodeBehind(LightCodeFile)

Declaration
void ReloadCodeBehind(LightCodeFile lightCodeFile)
Parameters
LightCodeFile lightCodeFile

RemoveProjectReference(Project, String)

Declaration
void RemoveProjectReference(Project project, string assemblyFullName)
Parameters
Project project

System.String assemblyFullName

SaveTestCodeFile(LightCodeFile)

Declaration
void SaveTestCodeFile(LightCodeFile lightCodeFile)
Parameters
LightCodeFile lightCodeFile

SetProjectReference(Project, String)

Declaration
void SetProjectReference(Project project, string assemblyFullName)
Parameters
Project project

System.String assemblyFullName

SetTestCodeFileErrors(LightCodeFile, CompilerErrorCollection)

Declaration
void SetTestCodeFileErrors(LightCodeFile lightCodeFile, CompilerErrorCollection errors)
Parameters
LightCodeFile lightCodeFile

System.CodeDom.Compiler.CompilerErrorCollection errors

ShowTestCodeFile(LightCodeFile, String)

Declaration
void ShowTestCodeFile(LightCodeFile lightCodeFile, string stepId)
Parameters
LightCodeFile lightCodeFile

System.String stepId

UnloadCodeFile(LightCodeFile)

Declaration
void UnloadCodeFile(LightCodeFile lightCodeFile)
Parameters
LightCodeFile lightCodeFile

UnloadProject(Project)

Declaration
void UnloadProject(Project project)
Parameters
Project project

UpdateBaseClass(String)

Declaration
void UpdateBaseClass(string baseClass)
Parameters
System.String baseClass

UpdateClass(LightCodeFile, String)

Declaration
void UpdateClass(LightCodeFile lightCodeFile, string updatedClass)
Parameters
LightCodeFile lightCodeFile

System.String updatedClass

UpdateCodeEditor(LightCodeFile, ICodeEditor)

Declaration
void UpdateCodeEditor(LightCodeFile lightCodeFile, ICodeEditor codeEditor)
Parameters
LightCodeFile lightCodeFile

ICodeEditor codeEditor

UpdateFileWatcherPath(Project, String)

Declaration
void UpdateFileWatcherPath(Project project, string newPath)
Parameters
Project project

System.String newPath

UpdateNamespace(Object, String)

Declaration
void UpdateNamespace(object element, string updatedNamespace)
Parameters
System.Object element

System.String updatedNamespace

UpdateScriptStepContent(LightCodeFile, AutomationStep)

Declaration
void UpdateScriptStepContent(LightCodeFile lightCodeFile, AutomationStep step)
Parameters
LightCodeFile lightCodeFile

AutomationStep step

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.