I am setting up a demo pipeline for a UiPath project. I have the connection setup and working as an External Connection. UiPathPack Task runs fine and connects to orchestrator without any errors. The error I am getting is during the UiPathTest task. It says "A testing project should contain at least one entry point."
There are two test execution methods for UiPath Test. The Execute test set method will run a preexisting test set in Orchestrator, while the Execute tests in project method will run tests in the transient project. The Execute test set method is selected, a test set will need to be created in Orchestrator first, then provide the test set name in the Test set field. If the Execute tests in project method is chosen then add testProjectPath under inputs like in the example yaml file below.
trigger:
- main
pool:
vmImage: windows-latest
steps:
- task: UiPathPack@4
inputs:
versionType: 'AutoVersion'
projectJsonPath: '$(Build.SourcesDirectory)'
orchestratorConnection: 'Orchestrator'
outputPath: '$(Build.ArtifactStagingDirectory)\Output'
traceLevel: 'Verbose'
- task: UiPathTest@4
inputs:
testTarget: 'TestProject'
orchestratorConnection: 'Orchestrator'
testProjectPath: '$(Build.SourcesDirectory)'
folderName: 'PipelineTest'
traceLevel: 'Verbose'