How to copy and create test case from JIRA? - jira

How to copy and create test case from JIRA. Currently I am creating test case as Create-->Project(XXX)-->Issue Type(Test) .In this way I have created test case with 8 test steps.Now I would need to create new test case by copying the previous test steps.How can I do?

You should be able to clone the issue. This is a menu item under the 'More' menu in the issue details screen.
If you can't see More->Clone it is possible your user does not have sufficient privileges to do this operation.

Related

JIRA - [XRAY]- How to batch append tests from one existing test plan to another existing test plan

I have two test plans with a lot of tests. I want to select all in one test plan, and add these tests to another existing test plan, leaving the second with all the original tests plus the ones appended from the first.
When I select all the tests in the first test plan, there are options to create a test execution, a test set, but nothing to add to test plan (which is what you see if you are in the testing board)
I don't want to have to open each test individually and add it to the second test plan, as I already have them in a list in the first one. TIA.
You have two options to do what you are searching for, that is adding tests from one Test Plan to another:
Create a Filter that will have all the tests that you want to add and then add those using the Add Tests option like below:
Add those tests to a Test Set and then add the Tests to the Test Plan through the Test Set, like below:
Thanks, thats done it for me! :)

How do we disable Test Case work item type in Azure DevOps

We have a requirement where users should not create any work item except Bug. Able to disable the other work item types except Test Case.
How do we disable Test Case or restrict users from creating a Test Case or convert type to bug.
By default Disable option is not available for work items Testcase ,Test Plan, Test Suite in Azure Devops . We can only edit the work item template by using inherit process.

What is the connection between runid and testcase in TFS?

Can anyone please explain me about the run id in TFS since currently I am using one of the TFS API to get the testcase outcome using this runid and the thing is I don't have that much knowledge regarding runid and all.
So please tell me what does exactly runid mean? how it related to test case? Does TFS generate new runid if we update something on testcase?
In the Test Case you are configure a case - Steps with action and Excepted result.
When you want to check the case, you need to "run" the test case, after it you will have run id.
How do you run the cases and see the test runs history? click on the "Test" tab, and then choose on "Test Plans", now you will see the Test Suits with the Test Cases. you can choose a Test Case and click "Run":
After you will complete the run you can do the "Runs" tab and see the history and the "Run ID":
So, for conclusion, when you test the Test Case (it can be multiple times) you get a new Run ID (exist under the "Runs" tab).

Query to get all test cases in a static test suite?

I am using VSTS to maintain our test cases.
I have created a test suite named Login Tests inside test plan foundation, which contains all the scenarios for login validation.
I want to add all existing test cases which are in Login Tests to my new test plan. Currently, I am manually copying and pasting the IDs in the search query,but is there any way where I can get all the test cases inside a suite.
No, there is no way to do as you describe.
However there is an easy workflow change that will allow you to do this. You have some manual work to get there, but once there things will be better. You should go through all of your Test Cases in the manual Suite and tag them with "tests-login".
Once done you can easily create Query Based suites anywhere with the correct list and control the list using the Tag.
Right Click the suit in the VSTS Test manager folder and Export to email you can select multiple suit and past in excel from email

Is there a way to create a Test Case in TFS without associating it to a Test Suite?

I'm trying to find a way to add test cases to TFS without the need to first associate it to a Test Suite or Test plan. I envision it as just a backlog test case that can be associated to a Suite/Plan as needed for future test efforts. Is that possible using Web Access or the Test Manager application?
You can create a Test Case by adding a new item under the "Tested Cases" section of a user story/PBI. It will create the test case with a link of the type "tested by".
To create a test case work item, you can go to Team Explorer -> Work Item -> New Work Item -> Test Case.
Its not necessary to tag a test case to any Test Plan or Suite. Basically Test case is a TFS Work item. So you can do it by following 'Team Explorer -> Work Item -> New Work Item -> Test Case.' or If you are accessing MTM via web Interface, Go to Work>WorkItems>New>Test Case

Resources