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 check the Journal entry on RITM using ATF

GBS
Tera Contributor

I want to add a test step in ATF to validate the comments from the mid-server on the RITM. Any suggestions on how to achieve this?

 

GBS_0-1727249818782.png

 

3 REPLIES 3

Akash4
Kilo Sage

Hello,

You can use the steps Query and Validation like below:

 

1. Add a ‘Record Query’ Step: query the RITM sc_req_item and specify the conditions if required.
3. Add a ‘Field Value Validation’ Step: specify the Comments/Work notes field with Contains “<MID Server related hints>”

 

Regards, Akash
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.

Shaqeel
Mega Sage
Mega Sage

Hi @GBS 

 

It can only be done using "Assert text on page" step.

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

*************************************************************************************************************

 

 

Regards

Shaqeel


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel

SN_Learn
Kilo Patron
Kilo Patron

Hi @GBS ,

 

Please have a look at the steps mentioned in the below thread:

ATF - Validate Additional Comments or Work Notes 

 

 

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.