Hey guys,
we currently want to achieve that screenshots of failed tests/test steps will be provided in the test results in Azure DevOps pipeline. Is there possible way to achieve this?
Part of our yaml code if needed:
jobs:
- job: Test
displayName: Testing Application
steps:
- task: CmdLine@2
inputs:
script: |
"C:\Program Files (x86)\Progress\Test Studio\Bin\ArtOfTest.Runner.exe" list="$(Build.Repository.LocalPath)\$(testList)" junit out=$(Common.TestResultsDirectory)
continueOnError: true
condition: ne(variables.testList, '')
- task: PublishTestResults@2
inputs:
testResultsFormat: 'JUnit'
testResultsFiles: '$(Common.TestResultsDirectory)\**.xml'
failTaskOnFailedTests: true
testRunTitle: 'Acceptance Test'
publishRunAttachments: true
condition: ne(variables.testList, '')Thanks and regards,
Daniel
