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.

Expected result field missing in test and test steps – Test Management 2.0 (Yokohama)

raul123
Tera Contributor

Hello,
In the Yokohama version of Test Management 2.0, when creating a test or a test step I can enter the description and select "Need Verification", but I don’t see any Expected Result field.

  • Is this field supposed to be available in the test and step form?

  • Is it hidden by default or only available after certain conditions?

  • Any suggestion on how to enable or add it?

Thanks!

2 REPLIES 2

BiancaKerchhoff
Tera Expert

Hi @raul123 

The Expected Result is already predefined OOTB. 

Refer to the "sn_test_management_test_result" table:

BiancaK_1-1747146300547.png

 

On this "sn_test_management_test_result" table there is a column called "Result" which has choices / these choices are essentially the expected results: 

BiancaK_2-1747146387857.png

When a test is created and run the test results will be visible based on the defined choices / expected results:

BiancaK_3-1747146491490.png

 

 

raul123
Tera Contributor

Hi @BiancaKerchhoff ,
Thank you for your response. However, I think there was a misunderstanding.

I’m not referring to the test result field (e.g., Passed, Failed) shown after a test is executed.
What I’m looking for is a field where I can define the expected result before running the test, both at the test level and for each step — meaning a field where I can describe what the expected behavior or output should be during the execution.

Is such a field available or configurable in Test Management 2.0 (Yokohama)?
If not, do you suggest using a custom field, or is there a recommended way to handle expected results?