Test Mngt 2.0 - Is there a way to add a line break when creating a test step?

annetirez
Tera Contributor

When creating a test step for a test, how can I do a line break and move to the next line into the same test step?

5 REPLIES 5

Rajesh_Singh
Kilo Sage
Kilo Sage

@annetirez 

 

In ServiceNow PPM Test Management module, when creating or editing a test step, you can use the HTML line break tag to insert a line break and move to the next line within the same test step. The HTML line break tag is represented as <br>.

To insert a line break in a test step, follow these steps:

  1. Navigate to Test Management in your ServiceNow instance.
  2. Open the test for which you want to add or edit a test step.
  3. In the Test Steps related list, either create a new test step or edit an existing one.
  4. In the "Description" or "Expected Results" fields, where you want to insert a line break, type <br> at the desired location.

For example, if you want to create a test step with the following content:

Step 1: Log in to the application.
Step 2: Navigate to the dashboard.
Step 1: Log in to the application.<br>Step 2: Navigate to the dashboard.

After saving the test step, the line break will be displayed correctly, and the text will appear on separate lines as intended.

 
If you found my response helpful or applicable, please consider marking it as correct or helpful to assist others who may be seeking the same information.

---------------
Regards,
Rajesh Singh

Hi Rajesh,

 

on our Instance this does not work. We are Using Test Management 2.0.

Do you have an Idea, why its not working for us?

 

Greetings Daniel

annetirez
Tera Contributor

Hi,

it does not seem to work for us. See attachment.

I created a test step with <br> but do not get the line brake. The print screen is from when I run the test.

Any idea why?

Bernard A_ Mora
Tera Contributor

Please, create some step as usual then go to this table: sn_test_management_step, find the step you just created and finally you can add the break lines. If you want to create mores steps, simply Insert and stay, change the step information and change the order from list.