Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to add Expected Result column in test management 2.0

Priya Biradar1
Tera Contributor
 
3 REPLIES 3

Ratnakar7
Mega Sage

Hi @Priya Biradar1 ,

 

In Test Management 2.0, the Expected Result column is not available by default. However, you can add a custom field to capture the expected results for your test cases. Here's how you can do it:

  1. Navigate to the Test [tm_test] table:

    • Go to the ServiceNow menu.
    • Search for "Test Management" or navigate to "Test Suite" > "Test Cases".
  2. Open the Test [tm_test] table in the application navigator.

  3. Click on the "Personalize form" icon (a gear-shaped icon) located on the top right corner of the form.

  4. Select the "Configure" option.

  5. In the "Configure Form Layout" window, you can add a new field to capture the expected results:

    • Drag and drop a field type, such as "Text" or "Text Area", to the desired location on the form.
    • Configure the field label, variable name, and any other properties as needed.
    • For the "Variable name", provide a unique name such as "expected_result" or "expected_results" (without spaces).
  6. Save the form configuration.

  7. Now, when you open a test case, you will see the newly added field where you can enter the expected results.

 

Thanks,

Ratnakar

I want expected result column in test management 2.0. In test table they given fields from another table i.e. step table. i want a expected result field in test step version form

Hi @Priya Biradar1 ,

 

you can follow these steps:

  1. Navigate to the Test Step Version [tm_test_step_version] table:

    • Go to the ServiceNow menu.
    • Search for "Test Management" or navigate to "Test Suite" > "Test Steps".
    • Open the Test Step Version [tm_test_step_version] table in the application navigator.
  2. Click on the "Personalize form" icon (a gear-shaped icon) located on the top right corner of the form.

  3. Select the "Configure" option.

  4. In the "Configure Form Layout" window, you can add a new field to capture the Expected Result:

    • Drag and drop a field type, such as "Text" or "Text Area", to the desired location on the form.
    • Configure the field label, variable name, and any other properties as needed.
    • For the "Variable name", provide a unique name such as "expected_result" or "expected_results" (without spaces).
  5. Save the form configuration.

 

Thanks,

Ratnakar