Test

From Keyfax Wiki
Jump to: navigation, search

To access the Test facility, select Test from the main menu.

Testmenu41.png

This 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 script test has some different features depending on whether it is run from diagnostic scripts or enquiry scripts.

The script test contains data that echoes what is passed to Keyfax from a host system in the startup (XML) data file. For repairs this comprises of:

  • User – logon username
  • Tenant name/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
  • Test Changes – if checked, the script set being run will include any scripts set as ‘Test’.

Diagnostictestpage41.png

For Enquiry Scripts, the following are also passed:

  • LAID – local area (local authority) code
  • Scheme ID – reference code for scheme, estate, road.

Enquiriestestpage41.png

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 Scripts functioning.

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.

Testpagesubmit41.png

On completion of a script, by clicking on submit, the scripts will generate an export (XML) data file. The details of this file are displayed back in the script test tab.

XMLtestpage41.png

Click on the XML source tab to view the full XML data file.

XMLsourcetestpage41.png

Notification when Topic set to Test

The ! icon will be displayed against all topics that are set to view in 'Test' mode. Testicon41.png