Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

update multiple test scripts at once

is it possible to automatically update multiple test script steps that have the same feature once I update one of them in RQM?

0 votes


Accepted answer

Permanent link
In this situation, to use a keyword now:
1. Open one of the affected scripts.
2. Update the step (or steps) that need to be updated.
3. Select the step or steps that are repeated in other scripts, click the Action menu icon (in the step number column), and select Create new keyword from step(s).
3. In the Create Keyword dialog box, type a name and tags, leave the Replace the selected steps with the created keyword option selected, and click OK.
4. Save the script.
5. Open each of the other scripts that need to be updated.
6. In each script, open the Keyword view (by clicking the Show Keyword View icon in the toolbar).
7. Find the new keyword that you created and drag it (using the handle at the far left of the keyword) to the script step(s) to be replaced.
8. Delete the "old" step(s) that you replaced.

The next time those steps need to be updated, you edit the keyword and then that change is automatically reflected in all of the test scripts that use the keyword.
Ade Adeyokunnu selected this answer as the correct answer

1 vote

Comments

Thanks Lisa. It seems likeĀ I dont have the "Create new keyword from step" action in my Action menu. I have atteched an image showing the options that show up for me. Any advice?

In earlier versions of the script editor, you can select the step(s) and drag them to the Keyword View to create a new keyword from the steps.


1 vote

Great! that works. thanks a bunch :)

Hey Lisa, follow up question: how do I unassociated keyword steps from a test script?

Delete the keyword steps from the test script. (Then, if you need to, replace them with manually typed local steps.)

right but i don't seem to see a delete option because there are multiple steps associated with one keyword. If i could attach an image to clarify, that would help but i dont have enough rep points.

To clarify, to remove a keyword from a test script, the menu command it Cut, not Delete:


To remove individual steps from a keyword, you must edit the keyword, not the test script that the keyword is used in.

showing 5 of 7 show 2 more comments

One other answer

Permanent link
 We use a keyword in this situation.   That way if something like the login changes, we make the update once and all of the test scripts are updated.

1 vote

Comments

Any advice on how to display the Create new keyword from step(s).action button. I don't seem to have that option when in my action menu, please see below image. Thank you!

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,122

Question asked: Sep 27 '13, 10:57 a.m.

Question was seen: 4,102 times

Last updated: Oct 27 '13, 12:39 p.m.

Confirmation Cancel Confirm