Configuring to Record with a WPF Client

  1. Open the WpfClient_Config.rtxml file present from the Access Layer API Deploy folder.

  2. Find the entry < ATTRecord ></ATTRecord> and specify the following parameters:

    Parameter

    Description

    ATTRecord

    Specifies whether recording is enabled. Set this to true to enable recording.

    ATTRecordMode

    Specifies whether you want to record in the Connect or Disconnect mode.

    ATTRecordServer

    Specifies the socket server being used to connect to the runtime application. Configure this value based on your socket server setting.

    ATTRecordPort

    Specifies the Port being used to connect to the runtime application. Configure this value based on your port setting.

    File

    Specifies the path and name of the recorded file when you record in the Disconnect mode.

    RecordDynamicLists

    Specifies whether the lists sent through the SendDynamic command can be recorded.  Set this to true to enable recording of the lists sent through this command.

The following is an example configuration in the WpfClient_Config.rtxml file to record in the Disconnect mode with the WPF client:

<ATTRecord enable ="true" mode="disconnect" server="127.0.0.1" port="8888">
<File>C:\Temp\Recordings\Testcase.smtest</File>
<RecordDynamicLists>True</RecordDynamicLists>
</ATTRecord>