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.

Automated Test framework

kishorek9987311
Tera Contributor

 

Hi,

 

I want to test, using ATF, that when a Change is generated from an Incident through the UI action, the Change number created matches the value populated in the Incident’s Change field under Related Records. If this is feasible in ATF, please provide the solution; if not, kindly suggest an alternative approach.

 

Thanks & Regards,

kishore Kumar reddy

7 REPLIES 7

kishorek9987311
Tera Contributor

Hi brain Thanks for the information.

Under Quick Start Suites, I can see only three test suites, and none of them appear to be related to Incident. I am attaching an image for more details. Could you please confirm if this is correct?

 

 

Sardash
Giga Guru

@kishorek9987311  - 

@kishorek9987311  -

Please follow below test steps -

1. Create a User - Give required Roles

2. Navigate to Module - Module selected should be 'Create New' (Incident)

3.  Set field values

4. Submit a form

5. Open an Existing Record - Under Record field - Give reference of 'Step no 4'

6. Click a UI Action - Select 'Create Normal/ Standard/Emergency Change' as UI Action (Select any one)

7.  Validate Record Present in List - Select Table as Change Request and Related list which you want to validate

--------------------------------------------------------------------------------------------------------------------------------------------------

If my response helped, please mark it by selecting "Accept as Solution" and " Helpful." 

yashkamde
Tera Contributor

Hello @kishorek9987311 ,

For your use case..
1) Make an UI Action to create a change request from incident
Screenshot 2025-12-10 121445.png

and then create a ATF for validating the field change request (rfc) is populated on the incident form from our ui action code..

Screenshot 2025-12-10 152954.png

 

If my response helped, please mark it by selecting "Accept as Solution" and " Helpful."