is there a location to test code/scripts

humblecommitted
Kilo Guru

hello community,

i had a quick question about testing scripts and codes,

is there a location within servicenow that we can input scripts and code to test its functionality i.e. lets say you have a script that you want to test in a workflow,   instead of running the item that triggers the work flow, just copy and paste the code to a test bed that will run the code to see if will get servicenow to do what you wanted the code to do i.e. creating an SR or run other workflows, notifications, etc.

1 ACCEPTED SOLUTION

The SN Nerd
Giga Sage
Giga Sage

Use XPlore from the ServiceNow Share page. This is by far the best tool to test scripts available.



Fix Scripts are a better option to Background Scripts in my opinion.


You can save them for re-use and run them in the background.



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

View solution in original post

12 REPLIES 12

hello paul,



for some reason i do not have Automated Test Framework listed in my plugins, any tips or ideas why?


find_real_file.png


thank you.


It is only available in Istanbul



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Hi



                          Automated Test Framework is a new application in the Istanbul release.


                          if u want to work on this please   upgrade your instance from Helsinki to Istanbul. By default ATF module is available in Istanbul.   No need to activate   any plug ins.




Regards


Vamsi



Please Mark like / helpful / correct answer