Configuring to Record with ASP.Net Web Forms

  1. Open the Web.Config file from the Views folder of the ASP.NET client project directory.

  2. Find the entry <Plugin> </Plugin> 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 used to connect to the runtime application. Configure this value based on your socket server setting.

ATTRecordPort

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

ATTRecordXMLFilePath

Specifies the path and name of the file into which the test case is recorded when the record mode is set to Disconnect.

The following is an example configuration in the Web.Config file to record in the Connect mode with the ASP.Net client:

<add key="ATTRecord" value="true"/>
<add key="ATTRecordMode" value="connect"/>
<add key="ATTRecordServer" value="127.0.0.1"/>
<add key="ATTRecordPort" value="8888"/>
<add key="ATTRecordXMLFilePath" value="C:\NGEN_CE\TestCase.smtest"/>