Configuring to Record with Winforms
  1. Open the Winform configuration file used for your session. The default Winform configuration file is Ispec.xml in the location <Package Installation Directory>\<Solution Configuration>_<Solution Platform>\<Segment name>\Core\Bin.

  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 C# test project within System Modeler when recording a test in the “Connect” mode. This must correspond to the Listener Port Number that is defined within the global settings file of your test solution in System Modeler.

 

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 Winform config file, such as ispec.xml to enable recording in the Connect mode with the Winform Client:

 

<ATTRecord enable ="true" mode="connect" server="127.0.0.1" port="8888">
<XmlFile>C:\Testcase.smtest</XmlFile>
</ATTRecord>