Modify/edit multiple test steps in JIRA(Zephyr)

My scenario is explain below, I am looking for a solution that saves time

 

I have 200+ testcases in JIRA, I have to modify a URL that is present in step 2 in all of these 200 testcases. I want to change the existing URL to the new one in one go. Currently I am going to each testcase (issue) and manually deleting the old one's. Is there any way that I can do a 'Find' and 'Replace' kind of activity in JIRA , So that I can avoid going each and every testcase to update the modified steps.

2 answers

This widget could not be displayed.

Sashirekha,

Your scenario is a great example supporting the benefit of "modular tests" for consistent process.  Here's what I mean and how that's done...

If STEP 2 of 200+ tests is the same process (logging in to a URL), my recommendation is that any consistently repeated STEPS should really be a separate, stand-alone, test case/script (or Zephyr Test issue).  This could be called the "<Application> Login Test".

All future tests that would include basic login process would reference the "<Application> Login Test".  This could either be a 'Given' identified in the test description/criteria - OR - as an actual STEP 1 of the new test... where "STEP 1 = Run TESTCASE-XX <with hyperlink to login test>" and the expected result is "TESTCASE-XX completed successfully".

This way, you only have to make the URL update in one location - that being the original "<Application> Login Test".  You then also can just plug-and-play that test anywhere the login procedure is needed.

 

I realize you will still need to update 200+ tests according to my suggestion.  But, in the future, if that login process (or URL) should change again - you'll only need to make the update in one spot.  Might as well make 200+ instances of hand-jamming work to your future advantage!

 

Let me know if you have questions about what I've mentioned.

 

Regards.

Can we have proper modularisation as part of Zephyr? So all I need to do is reference a test issue type so something like @ProjectName-UniqueID and that will provide a reference to the test step and when you execute the test, it concatenates all the test steps so you don't have to open multiple windows?

This widget could not be displayed.

Hi Sashirekha

Thanks for your interest in Zephyr.Currently there is no "Find and Replace" functionality at a test step level.

Currently the closest operation would be to use the Bulk change operation of Jira.

ie Navigate to "Tests"->"Search Tests".On teh landing page of Search results click on the cog wheel in the right top corner to Bulk Change.Follow the instructions thereby and use Edit Issues option .Once you scroll down you will see "Change Test Steps" as shown in the screen shot.Try for one or two test cases or in a test environment and see if it server your purpose else am afraid we could only raise this as a feature request with our product team for them to consider it some time in the future

BulkChangeStpes.png

 Thanks

ZephyrSupport

So if you select the "Change Test Steps" option and input some value in the Change Test Steps field, would that value be added to all the test steps of each test case selected or would it be added as an additional nth step to each test case selected?

Apologies if I have misunderstood this topic, but how do you specify the text to find and the text to replace? 

Also is this for a specific version, when I select this option I don't see any text field to enter any text.

 

I have a number of tests which require updating due to button label changes and so a search and replace would be ideal. 

In the solution above, we read:

"ie Navigate to "Tests"->"Search Tests".On teh landing page of Search results click on the cog wheel in the right top corner to Bulk Change.Follow the instructions thereby and use Edit Issues option .Once you scroll down you will see "Change Test Steps""

When we do this, we do not have an option to "Change Test Steps". When (what version) was this functionality added? Is there something the JIRA administrator needs to do to have this option present?

No "Change Test Steps" option.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 9 hours ago in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

23 views 3 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you