Interface IUIProject
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public interface IUIProject
Properties
Declaration
ICodeService CodeService { get; }
Property Value
Declaration
IElementsExplorer ElementsExplorer { get; set; }
Property Value
Declaration
IUserInteractionService InteractionService { get; }
Property Value
Declaration
ILifetimeScope ScopedContainer { get; }
Property Value
Declaration
Project SelectedProject { get; }
Property Value
Declaration
IHostInteraction UIInteraction { get; }
Property Value
Methods
Declaration
void AddCodedFunction(Test test, AutomationStep step, string functionContent, bool positionCodedStep)
Parameters
|
Test
test
|
|
AutomationStep
step
|
|
System.String
functionContent
|
|
System.Boolean
positionCodedStep
|
Declaration
void AddFile(string location)
Parameters
Declaration
void AddProjectReference(Project project, string assemblyFullName)
Parameters
|
Project
project
|
|
System.String
assemblyFullName
|
Declaration
void AssignCodeService(ICodeService codeService)
Parameters
Declaration
void AssignHostInteraction(IHostInteraction hostInteraction)
Parameters
Declaration
CompilerResults BuildProject(Project project, bool skipInDevelopment)
Parameters
|
Project
project
|
|
System.Boolean
skipInDevelopment
|
Returns
|
System.CodeDom.Compiler.CompilerResults
|
Declaration
Test CreateTest(string path, Test sourceTest)
Parameters
|
System.String
path
|
|
Test
sourceTest
|
Returns
Declaration
bool DisplayLanguageSelector(Project project)
Parameters
Returns
Declaration
List<string> GetCodedFunctions(Test test, out string parsingError)
Parameters
|
Test
test
|
|
System.String
parsingError
|
Returns
|
System.Collections.Generic.List<System.String>
|
Declaration
string GetOutputFileName(string testPath)
Parameters
Returns
Declaration
string GetOutputFolder(string testPath)
Parameters
Returns
Declaration
ILifetimeScope GetProjectScope(string projectPath)
Parameters
|
System.String
projectPath
|
Returns
Declaration
string GetSpecialFolder(Project project, SpecialFolders folder)
Parameters
Returns
Declaration
List<string> GetTestNames(Project proj)
Parameters
Returns
|
System.Collections.Generic.List<System.String>
|
Declaration
void LogMessage(string message, bool includeTimestamp)
Parameters
|
System.String
message
|
|
System.Boolean
includeTimestamp
|
Declaration
void OnProjectDirtied(string projectPath)
Parameters
|
System.String
projectPath
|
Declaration
bool PrepareToExecuteTest(Test test, bool doDisplayErrors = true)
Parameters
|
Test
test
|
|
System.Boolean
doDisplayErrors
|
Returns
Declaration
bool PromptAndSaveFiles(object files)
Parameters
Returns
Declaration
void RemoveProjectReference(Project project, string assemblyFullName)
Parameters
|
Project
project
|
|
System.String
assemblyFullName
|
Declaration
void SetHostStatus(string text)
Parameters
Declaration
void SetHostStatus(string text, bool showProgressBar)
Parameters
|
System.String
text
|
|
System.Boolean
showProgressBar
|
Declaration
void ShowTestCodeFile(Test test, IStepViewModel step)
Parameters
Declaration
void UpdateCodedStepContent(AutomationStep automationStep)
Parameters
Events
Declaration
event EventHandler<ProjectClosedEventArg> ProjectClosed
Event Type
Declaration
event EventHandler<ProjectClosedEventArg> ProjectClosing
Event Type
Declaration
event EventHandler<ProjectEventArgs> ProjectCreated
Event Type
Declaration
event EventHandler<ProjectEventArgs> ProjectOpened
Event Type
Declaration
event EventHandler<RenameEventArg> ProjectRenamed
Event Type
Declaration
event EventHandler<ProjectEventArgs> ProjectSaved
Event Type
Declaration
event EventHandler<ProjectEventArgs> ProjectSelected
Event Type
Declaration
event EventHandler<TestEventArg> TestClosed
Event Type
Declaration
event EventHandler<TestEventArg> TestSaved
Event Type
Declaration
event EventHandler<TestEventArg> TestSelected
Event Type