Can you please paste a couple of ATF Test Cases with GlideRecord

ServiceNow Use6
Tera Guru

Hi,

I have good experience using out-of-the-box test steps, but in my company, I have never had to use ATF Test Steps with server-side using GlideRecord. A basic scenario is enough; I just want to learn how to use GlideRecord in ATF. Kindly help.

Regards

Suman P.

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@ServiceNow Use6 

I did share some solutions in 2020 around this

check those and you should be good to start from your side

ATF - Accessing reference variable sys_id in server side script 

Server Side ATF Script Assistance Needed - How do I get the sys_id of a record? 

other link as well

[How To] ATF Server Side Script Step for Change Risk Assessment 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader