Automate Change Request and Approval Process using ATF

mhoughton
Kilo Explorer

So I'm trying to develop an ATF that automates the change request process through all of the necessary steps until the request is closed in the end.

So far, I have been able to impersonate a user to open a change request form, fill in all necessary fields, and submit the form for approval. Now the next step would be to impersonate the necessary approver and open up the record to approve the request. I have tried multiple different test steps to try to simulate this step but keep running into issues. The problem is is figuring out a way to simulate the approver to open up the same change record that was submitted in the previous process. Does anyone have any experience doing something similar to this? I figured that with request approval being so neccessary, someone in the community has to of figured out how to simulate this whole process, Thanks!

23 REPLIES 23

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

I haven't personally set this up, but does this article help?


Automated Test Framework use case: reference a value from a previous step


it says that the article is restricted and I can't view it...


Sorry updated the link above


thakurraj
Kilo Explorer

HI Micah,



How did you created the change request .


I am trying it but not able to create it ,which table you are selecting