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

prineshkumar
Tera Expert

Test Pass successfully

find_real_file.png

This is great.  I was able to pull some of these steps and apply the theory to building a Test for creating, submitting, publishing, and approving a Knowledge record.  Thanks!!!

Hi Prinesh,

This is really helpful. I am trying to achieve "Random selection Group user"  to select random user from Assignment group. I try to do it by using server side script and pass previous step Id. I have hard coded the previous step Id. Without hard coding the previous step Id, Is there a way to Pass it dynamically?

Thanks a lot!

surjithkumar
Kilo Contributor

Hi All,

Is it possible to attach a document in the change request,during ATF testing. If,so please advice your steps.