How use ATF to perform a Standard Change Request?

Sander2
Kilo Contributor

Hello everyone!

We made some automation after a Standard Change Request is performed. Is it possible to use the Automated Test Framework to test the UI and the end results of performing a `change_request` with type = standard? At the moment opening the ATF opens the Catalog Item or Open Record with a shopping cart to the page. The record inserted will be a `sc_change` instead of a `change_request` and our automation is not triggered. How can i open a Standard Change Catalog Item?

Thank you!
Best regards,
Sander

1 ACCEPTED SOLUTION

Tony K
Kilo Sage
Kilo Sage

I used the info on this site to be able to open the various change types. I have three different change tests, one for each type of change. Step 3 really just logs what type of change was created, but you already know that from the previous step.

 

https://greg-grabowski.com/configure-new-test-step/#more-81

 

 

View solution in original post

6 REPLIES 6

Tony K
Kilo Sage
Kilo Sage

I used the info on this site to be able to open the various change types. I have three different change tests, one for each type of change. Step 3 really just logs what type of change was created, but you already know that from the previous step.

 

https://greg-grabowski.com/configure-new-test-step/#more-81

 

 

Nitesh Balusu
Giga Guru

It depends on what version of servicenow you're using, if you're using london you should directly be able to open up a catalog form of your choice. If not, you might have to do most of this using a serverside script where you have to get the sys_id of the catalog item you opened.

Hi, can you also share how to open the change request after it is submitted? Grabbing the record doesn't work because it returns a bad sys_id.

Sander2
Kilo Contributor

Thank you for your replies 🙂 We are still on version Jakarta so it seems that using the ATF user interface for standard changes is not available yet.