0

We were using a template for our test case design document, and suddenly our management thought of updating it.

After every table, we have a line "Table xx: Steps for Test Case xx". This Test Case is a caption, and for every test case, the number gets incremented.

Our management decided to change this Test Case to TC.

I fear that we will have to manually replace every "Test Case" with "TC". Is there any way I can modify this Caption Text throughout the document?

1

Use Find and Replace as Garrulinae suggested but set the style to "Caption."

More >> > Format > Style... > Caption > OK > Replace All

This will only replace text in captions (provided captions are the only text with the Caption style, typically a good assumption). enter image description here

0

Yes, you can use the Find and Replace feature for this.

On the Home tab of the ribbon, click Replace (or press Ctrl+H) to bring up the Find and Replace dialog.

In the Find field, enter Test Case. In the Replace field, enter TC.

Now, you can either:

  • Click Find Next, then check the text that it finds and click Replace. Repeat this for each instance, or
  • Simply click Replace All. Replace All will replace every instance of Test Case in the document.

enter image description here

  • Is there any way by which I can do it in One click... Coz Manually "Finding and Replacing" is a cumbersome task! – Swanand Purankar May 3 '14 at 3:18
  • Yes - 'Replace All'. See above in my answer :) ^^^ – Garrulinae May 3 '14 at 3:55
  • Naaah... Replace all will be hazardous... It replaces everything... Seems that I have to manually do for hundreds of test cases... I was looking a way to edit that caption. – Swanand Purankar May 3 '14 at 6:04
  • 1
    Or you could search for Steps for Test Case and replace it with Steps for TC. Then Replace All. That would be less hazardous. – Garrulinae May 3 '14 at 7:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.