Testing your changes
How to test changes before releasing them into production.
Last updated
How to test changes before releasing them into production.
Last updated
The Test Container page can be launched from the main menu:
The Test Container page provides access to a screen for launching Scripts and testing their operation prior to release to Operators. Some Scripts will have been set up to operate only as ‘test’ Scripts and are only accessed via this facility.
The Test page has some different features depending on whether it is run from Diagnostic Scripts or Enquiry Scripts.
The Script Test page goes some way to emulate data that echoes what is passed to Keyfax from a host system in the Startup (XML) data file. This may vary between installations/configuration but for Repairs this comprises:
User – logon username
TenantText - the Tenant name and address
Property or Tenant ID – reference held in host system
Asset ID – reference held in host system, not always provided and may be same as property /tenant ID
Tenancy Type – code denoting service or client group and links to Script Set code
Repairs No - the Script Test allows for a Repairs Number to be passed
Return to address - a pre-configured URL to return the user to specific pages upon completion or cancellation of a script
Test Changes – if checked, the Script set being run will include any Scripts set as ‘Test’ mode. See screen shot below
The Test page for Enquiries includes two additional fields as below:
LAID - the Local Authority ID held in the host system
Scheme - Reference held in the host system
The Script Test allows these elements to be changed to test the effect of such changes as well as, most importantly, to allow testing of Script's functionality.
To launch the Scripts, select the appropriate settings and click on Submit. Scripts will then appear and can be run to replicate the Operators actions.
On completion of a Script, after the final Submit, the Scripts will generate an export data document (XML, although JSON can also be returned). The details of this file are displayed back in the Script Test tab.
When a Topic is set to Test mode, e.g.
you will see the warning icon against the script in Admin Tool's Navigation pane: