ATF for Standard Change Proposal

elinorborenshte
Kilo Explorer

Hello,

I started working on ATF for creating a Standard Change Proposal.

Part of the test is to Populate change requests values and some of the fields are required to submit the form.

find_real_file.png

When I try to create  'Set Field Values' test step to populate change requests values, The change request values field is displayed in one field and I cannot find the right way to update the fields.

find_real_file.png

Can someone help me with this topic?

Thank you

Elinor

13 REPLIES 13

Ankush Agrawal
ServiceNow Employee
ServiceNow Employee

Hi Elinor

Please try setting the value to a comma-separated key-value pair of field and value you want to use, e.g.: if you want to set Short Description to 'sd 123' and Assigned to a user with sys_id as sysid234324523523, please set the value as:

short_description=sd 123,assigned_to=sysid234324523523

This is the correct way to do it however do not put the word sysid in front of the sys_id. Simply use the sys_id.

Ex, assigned_to=1378922345663

Harish Murikina
Tera Guru

Hi You can set like this

 

short_description=Reboot Windows Server^description=Reboot a Windows Server (after patching or to clear a fault) making sure that it is removed from monitoring alerts, that network attached storage is unmounted and that it restarts cleanly^implementation_plan=--In the server monitoring console set the server to "Maintenance mode" to prevent alerts being sent
--If the server has network attached storage (NFS or iSCSI) stop any file server applications and unmount the storage
--Reboot the server4. Check the Windows system log for any error messages
--In the server monitoring console set the server back to "Operational" mode^backout_plan=There is no backout plan for this change template^test_plan=Ensure that the monitoring console is all green for this server before closing change request^type=standard^EQ

The above data sets data as shown in the below screen shot.

 

find_real_file.png

Regards,

Harish Murikinati.

elinorborenshte
Kilo Explorer

Thanks for your response but it still does not work.

I did a test with the values you specified but it still failed.

find_real_file.png

find_real_file.png