Configuring to Record with VB.Net Winforms

  1. Open the config.xml file from the \bin folder under the VB.NET client project directory, for example, C:\NGEN_CE\ VB.NETClient\Sample\bin.

  2. Find the entry <ATTRecord></ATTRecord> in the config.xml file and specify the following parameters:

Parameter

Description

Enable

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

Mode

Specifies whether to record in the Connect or Disconnect mode.

Server

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

Port

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

Note: The <xmlfile> </xmlfile> tag specifies the path and name of the recorded file when you record in the Disconnect mode.

The following is an example of configuring the config.xml to record in the Disconnect mode with the VB.Net client.

<ATTRecord enable ="true" mode="disconnect" server="127.0.0.1" port="8888">
<XmlFile>C:\NGEN_CE\VB.NET Client\Sample\bin\TestCase.smtest</XmlFile> </ATTRecord>