Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98974

Create a specific work item (Bug) for test case in Azure DevOps pipelines--Selenium

$
0
0

I'm using Azure DevOps to run test cases using Selenium.

I want to know how to create a work item when a test case fail in selenium

The pipeline is completing without error( without notifying that the test case has failed)

Below is the code from my yml pipeline:

# Maven
# Build your Java project and run tests with Apache Maven.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/java

trigger:
- master


pool: 'Self hosted agent'

steps:
- task: Maven@3
  inputs:
    mavenPomFile: 'pom.xml'
    mavenOptions: '-Xmx3072m'
    javaHomeOption: 'JDKVersion'
    jdkVersionOption: '1.8.0_231'
    jdkArchitectureOption: 'x64'
    publishJUnitResults: false
    testResultsFiles: 'Logs/*'
    goals: 'package'
- task: BatchScript@1
  inputs:
    filename: 'merge.bat'

Viewing all articles
Browse latest Browse all 98974

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>