TFS Tester Power Tool-Auto Create Test Cases from PBI Acceptance Criteria(BETA)
From PBI's tester's usually create test cases manually so that they can report on the testing of that PBI. Well that's all until today, because now there is a tool that auto creates test cases efficiently so that you can spend more time on the most valuable activity - TESTING!
I'm going to demo this for my test team to get their feedback, but it definitely has potential. Many of our Acceptance Criteria have bulleted items beneath, so it would be great if you could enter additional delimiters to denote individual steps in a test case rather than having them lump together in one expected result field.
I am using 2013 Agile template and have added the acceptance criteria field. Each time I try to connect to TFS, the program crashes. I have tried compatibility and administrator level.
Do you have a work around or new version of this tool?
The message I get is:
Bulk Copy Test Cases Tool has stopped working
A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
Any help would be appreciated.
We have been using TFS for a long time now and already added an Acceptance Criteria field to our work item. This was before Microsoft added theirs. Is there anyway that you can add an option to set the name of the field to use? Moving all of our data to a new field, plus updating reports and documents that reference this field will be a lot of work.
I just download the tool, but I got an error on creating TCs. Take a look, maybe you already have an answer
Work item 0 is invalid and cannot be saved. Exception: 'TF237124: Work Item is not ready to save'. at Microsoft.TeamFoundation.TestManagement.Client.WitHelper.Save(Object source, WorkItem workItem) at Microsoft.TeamFoundation.TestManagement.Client.TestBase.Save() at TFSTesterPowerTools.ViewModels.QueryViewModel.createTestCase(String workItemTitle, String expectedResult) at TFSTesterPowerTools.ViewModels.QueryViewModel.createTestCases(String delimeter)Microsoft.TeamFoundation.TestManagement.Client.ClientObjectIdRev`1[System.Int32] Save(System.Object, Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem)System.Collections.Generic.Dictionary`2[System.Object,System.Object]Microsoft.TeamFoundation.TestManagement.Client.TestManagementValidationException: Work item 0 is invalid and cannot be saved. Exception: 'TF237124: Work Item is not ready to save'. ---> Microsoft.TeamFoundation.WorkItemTracking.Client.ValidationException: TF237124: Work Item is not ready to save at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem.Save(SaveFlags saveFlags) at Microsoft.TeamFoundation.TestManagement.Client.WitHelper.Save(Object source, WorkItem workItem) --- End of inner exception stack trace --- at Microsoft.TeamFoundation.TestManagement.Client.WitHelper.Save(Object source, WorkItem workItem) at Microsoft.TeamFoundation.TestManagement.Client.TestBase.Save() at TFSTesterPowerTools.ViewModels.QueryViewModel.createTestCase(String workItemTitle, String expectedResult) at TFSTesterPowerTools.ViewModels.QueryViewModel.createTestCases(String delimeter)
I tried this tool. Looks good but while creating the test cases from the acceptance criteria the created test cases doesn't take the "iteration" path from the PBI. More over the steps in the test case are always the title of the PBI and that doesn't look good. I guess the tool is only good for creating test cases if we have to write more than one test case for a PBI. It just saves the creation time of multiple test cases. What about the steps to reproduce and the expected results. It can't be the same every time.
I'm having the same issue as above, it looks like the Iteration Path and Area Path are not being inherited from the PBI. Also, is there any way to leave the test steps blank? Currently, it puts the PBI title as Step 1 and the Test Case title as the Expected Result for Step 1.
We are using a bug work item from CMMI template . Is there a codeplex project for this that would be possible to tweak. I am looking for a way to use this fantastic tool and not have to write something new to do this?
Thanks a lot.
Yes the tool is only looking for the Acceptance Criteria field so if you add the Microsoft.VSTS.Common.AcceptanceCriteria to the CMMI template this will work.
Hope that helps,
If you get this error it is because you are not using the PBI work item which does have the Acceptance Criteria field. You can add the Microsoft.VSTS.Common.AcceptanceCriteria field and add it to any other any work item.
Hope that helps,
I receive an error message, Bulk Copy Test Cases Tool has stopped working, each time I try to open up a query (via double clicking on my queries folder or shared queries folder). Using TFS 2012. Scrum environment.
Hi A Tester,
Thanks for reporting, I will look into this.
As a workaround, if you click on the expand triangle left of the My Queries or Shared Queries and then double click on the actual query the tool should work.
Thanks. The workaround helped me to generate the test cases. But when I click on the expand triangle that you mentioned above the dropdown shrinks making it near impossible to see the queries until I expand the window.
This was created for the TFS 2012 Scrum template which has a PBI work item and uses the Microsoft.VSTS.Common.AcceptanceCriteria field.
I have received some feedback from those using the TFS Agile template. I am looking to see what I can do to support additional TFS templates.
Thanks for the feedback!
We've ported the Microsoft.VSTS.Common.AcceptanceCriteria field across to our agile template from the Scrum template - would this work with that? (Work Item type is a different name, but field type is the same).
Yes the tool is only looking for the Acceptance Criteria field so if you add the Microsoft.VSTS.Common.AcceptanceCriteria to the agile template with a work item that has a different name this will work.
Hope that helps,