In Azure Devops, After creating the Test plan, it's possible to run the tests manually and take screenshots, video, or add a comment during the test run. But when I try to export the Test plan after the execution is completed, it's not possible to export the screenshots, comments or videos as attachments. Is there a way to do this ? We work in regulated Industry and need to provide evidence for the test results.
Please go through below link and each steps:
Link:https://www.azuredevopslabs.com/labs/azuredevops/testmanagement/
Navigate to your team project on Azure DevOps.
Select Test Plans to navigate to the Test Hub. The test hub provides a central place for all test planning, execution, and analysis.
In general, every major milestone in a project should have its own test plan. Within each test plan are test suites, which are collections of test cases (and optionally other test suites) designed to validate a work item, such as a feature implementation or bug fix. Each test case is designed to confirm a specific behaviour and may belong to one or more test suites. The Parts Unlimited project has one test plan, which is under the Parts Unlimited Team and called Parts Unlimited_TestPlan1. Select the Parts Unlimited_TestPlan1 test plan.
Select the suite of tests for the story As a customer, I would like to store my credit card details securely. This suite of tests focuses on that work item, which happens to be a feature. Note that the work item numbers will vary every time you generate demo data for a lab.
On the right side you can see that this test suite has three test cases designed to confirm expected behaviour of the feature implementation. Double-click the Verify that user is allowed to save his credit card detail test case.
This dialog provides all the info you need on this test case. Locate the Related Work panel and note that this test case is linked to the suite it belongs to. Click the work item to navigate to it.
In the test suite, we can see all of the linked work items, which happen to be the test cases.
However, it’s not yet associated with the feature it’s designed to test, which we can link now. Click Add link | Existing item.
Set the Link type to Parent and search for “credit card”.
Select the Feature for Credit Card Purchase.
Click OK.
The parent feature is now associated with the suite that tests it and anyone can navigate between them to view their relationship relative to the other work items involved.
Click Save & Close.
Dismiss the original test case dialog.
For this issue ,if you want to download attachment from test run ,you can go into Tests Plan -> Runs. Then you will be able to click on Tests Runs, select the run you want to download, and simply download the attachment.
You can also export test plans, test suites, and test cases from Test Plans. Select the details that you want in the report. Then email or print this report for review.
You can refer to this case with the similar issue.
Can you explain your questions in more detail? Are you using any tools for writing test plans or taking screenshots? There are various tools for writing test cases.
If you are looking for some test plan/test cases management tools:
Hiptest
TestRail
Related
Since the process of one A/B test usually takes multiple sprints I would like to add another board in which I can add the A/B tests (as F.E. features). User stories for one sprint can then be added to a specific sprint for my team (which consists of a few specialists and a developer). This way I am able to overview the status (research phase, test , code writing, running, analysis, etc.) of all tests in one overview. I have not been able to find out how this is possiblie within Azure Devops, or if there is a work around. Can anyone help me?
My team also works in projects other than A/B tests, which means we cannot use the boards section.
Unless there is a hidden way to add another board to a team?
You could Copy or clone a work item to add the user stories or tests to a new boards. Open the user story you want to clone, then click Create copy of work item and choose whether to include exist links, attachments and child work items. After creating, change the Area and Iteration to your target boards.
Update
In Azure DevOps you can only create boards by creating a team. The team board is created as a side-effect of creating the team. Please refer to Manage and configure team tools and Configure and customize Azure Boardsfor details.
After creating and configuring a new team, you could see the boards in the dropdown list.
Our client is asking if there's a way for us to provide them a list of testers who have executed test points in DevOps. I saw that each test point would have execution history. If there's a way to export those details (please see attached screenshot), that would really help.
You can bulk export Test Cases from a Test Suite like the following:
Link: https://www.ecanarys.com/Blogs/ArticleID/415/Bulk-Export-Import-Test-Cases-to-Azure-DevOps-Test-Plans-using-CSV-file
The organization I am with has transitioned to Azure DevOps for source control and for Sprint Management. I am responsible for investigating moving the organization to Azure DevOps for testing off of another solution. There is one question I have received from multiple people after doing some demonstrations that I have not been able to get an answer on.
What I have been asked if the system can do, is that when a Bug is entered during a Test Execution, for it to automatically have the User Story that the script is related to be set as a parent.
For example:
If I have User Story 123, which has a Tested By relationship to Test Case Test1. Test Case Test1 is in Test Plan ABC, which was created with the Area Path of my team and Iteration of the current Iteration. If I create a Bug while executing Test1 (in a Test Suite in Test Plan ABC), it currently adds the Bug to the current Iteration, but under an Unparented story. We would like to see that bug automatically appear under User Story 123.
Is this possible? Thanks for any information regarding this.
I think you can use Create work item task behind your test task in your build/release pipeline.
In this task, you can set the work item link type and target work item.
And other conditions about the work item.
You can set the Control Options as below.
It means, only when the test task has failed, this task will run.
Hops this will help.
So, for anyone else searching, I was able to resolve my issue.
What ended up being the solution was using the Create Test Suite from Requirement option, within a Test Plan. This is a very useful method for our use, as once the Test Suite is setup, and Test Cases which are created with a Tested By/Test Relationship (User case should show Tested By in the Related Work section, the test case will show a Tests entry to the User story) will automatically be added into the Test Suite. Then, when testing, when you create a new Bug from within a Test Execution, will automatically be created with the User Story as a Parent to the Bug.
I want to link test run results to user story to add more traceability on board for all team members.
I've found that I can add link for New and Existing items, but there I can find only Work item type: Bug, Blocker, Epic, Feature, Test Case, User Story etc.
If I add link to test case, I will see only test case itself (test steps) and can't find any information about this test case in some test suit or test run results.
I've explored VSTS documentation: Link user stories, issues, bugs, and other work items and Linking, traceability, and managing dependencies.
As I understood, there is no such functionality right now in Azure DevOps (VSTS).
As you said, currently there is no such thing in Azure DevOps, but there is a great extension to add the test run results in the test case.
The (free) extension called View Latest Test Result, after you install it you need to modify the process template (to add the results) and then you got this:
On Developer Community I found opened ticket for it:
Need ability to link Test Results back to ANY work item type, especially User Stories
I did up vote, but it seems that for now I can only wait for this feature.
I admit I am creating a duplicate from Superuser.com because there seem to be more Azure-DevOps users here
I run frontend tests for a webapp using WebdriverIO/Selenium as a nightly build defined in the Pipelines section of Azure DevOps.
For each build I can view test results on the Tests tab, which will show me statistics on all tests and a list of tests that I can filter and group.
Until a few days ago, this list was automatically sorted alphabetically, now it is not sorted in any obvious way. I cannot find any option to sort the list, and the Azure DevOps page on reviewing test results does not mention sorting at all. I have also not had any luck using Google.
Is there a way to sort this list, e.g. by test name? If yes, how?
You can click on some other sub menu (such as Logs) and click on the test tab it is sorting to name order. However if you do any selection order gets changed to what you have mentioned.
Alternative option is you can view the test runs in the Test tab. In there you are able to sort by columns. All your pipeline based test results also available in the Test hub --> Runs