i want to send an email alert to the user when a test execution result is pass or fail or any other status when it is executed on test manager. i know test manager can not do it yet the TFS can, i have tried various combination of queries to set an alert for the same. I want to do it for an automated test case. the build i'll create will not be changing much as i am up to testing of services. only test cases will be executed on the same build and results are to be displayed.
Sending out email alert when a test case is pass or fail
5.2k views Asked by Varun Bajpai At
1
There are 1 answers
Related Questions in TFS
- Azure DevOps Server witadmin error 500 when downloading/uploading workitem XML
- How to fix a CS0281 error on build server
- Integrate Deployment status to Work Items in TFS
- How to customize data sources in the dropdown box of TFS work item templates
- How to add nuget package for offline tfs build task
- Using Azure DevOps Server 2022 (On-Premise) with Visual Studio Code for Java Project
- Ticketstatus on DynamicsCRM updates on TFS Ticketstatus change
- Limiting access to files in Github while being edited by other collaborator
- Trying to read commits from azure devops rest api results in redirects
- ADOS .NET: Exchange SOAP Methode to REST equivalent
- DevOps 2022 Server not connecting on VS 2012 and VS 2010
- TFS integration with Jenkins
- Preventing Merge and Branch your own code on TFS
- Get all users of an Ado or TFS project
- Reduce AzureDevOps aka. TFS Database size
Related Questions in MICROSOFT-TEST-MANAGER
- Automation with Microsoft Test Manager and Selenium?
- TFS: How to convert an Automated test to standard/manual test
- How can I migrate test cases to Azure Dev ops from Test Manager?
- Override Azure TestHub Shared test parameters
- Click on Run tests via MTM(Microsoft Test Manager) stopped working after update the OS to windows 10
- VSTS Test Agent - IPC Port Access Denied
- Unable to install Test Manager extension on Azure DevOps Server 2019
- How to migrate test cases from ALM to MTM 2017 using any automated API
- Is there Regression Test functionality in Azure DevOps?
- Test Manager Extension says it is not installed on the organization
- How to add shared and local parameter in same test case in Azure Test Plans?
- Test Manager (Azure Test Plans) not accessible from Visual Studio Market Place
- How to run automation scripts in particular order in CI pipeline with Azure DevOps?
- functional testing with TFS
- How to add test cases /requirements suites from other test plans to new test plan and delete them without deleting the original
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
If you start automated tests manually from MTM there is no way to create an alert (or at least no standard way).
The reason is that the Test Case does not change if you run the test. A new Test Case Result is created instead which is related to the Test Case.
Since this Test Case Result is not a Work Item you can not create a query for e-mail alert.
If it is about failed test runs the workaround could be to create a Bug for each failed test run and assign these bugs to particular people who have been set up TFS alerts for new bugs assigned to them.
Another possibility would be to access Test Case Result using TFS API and implement sending e-mail yourself. But this is not the solution you are looking for, I suppose.
But you will definitely be better off using it this way:
See How to: Create a Build-Deploy-Test Workflow for a Standard Environment for more details.
That means you can use this build definition for starting tests only (no build, no deployment if you don't need them).
This build will be successful if tests are successful and will fail if tests fail.
Added: Check Received build notifications for more details on how to do this.
That is the way it's intended to be used, basically.