Sample configuration XML
<Controls>
<Control Type="MyCompany.WinControls.MyListView" MappedTo="SwfListView">
<!-- MyListView is mapped to the SwfListView test object -->
<!-- The Custom Server is not installed in the GAC. -->
<CustomRecord>
<Component>
<!-- MyListView runs in the context of the application -->
<!-- being tested. -->
<Context>AUT</Context>
<!-- Support for the CustomMyListView.CustListView control -->
<!-- is implemented in a .NET DLL Custom Server. -->
<DllName>C:\MyProducts\Bin\CustomMyList View.dll</DllName>
<TypeName>CustomMyListView.CustListView</TypeName>
</Component>
</CustomRecord>
<CustomReplay>
<Component>
<Context>AUT</Context>
<DllName>C:\MyProducts\Bin\CustomMyList View.dll</DllName>
<TypeName>CustomMyListView.CustListView</TypeName>
</Component>
</CustomReplay>
<Settings>
<Parameter Name="sample name">sample value</Parameter>
</Settings>
</Control>
<Control Type="mySmileyControls.SmileyControl2">
<!-- The SmileyControl2 control is not explicitly mapped -->
<!-- to any test object in the SwfConfig.xml file, -->
<!-- so UFT maps it to the default generic test -->
<!-- object, SwfObject. -->
<Settings>
<!-- Support for the mySmileyControls.SmileyControl2 -->
<!-- control is implemented in an XML file. -->
<Parameter Name="ConfigPath">d:\UFT\bin\ConfigSmiley.xml</Parameter>
</Settings>
<CustomRecord>
<Component>
<Context>AUT-XML</Context>
</Component>
</CustomRecord>
<CustomReplay>
<Component>
<Context>AUT-XML</Context>
</Component>
</CustomReplay>
</Control>
<Control Type="System.Windows.Forms.DataGridView" MappedTo="SwfTable">
<!-- DataGridView is mapped to the SwfTable test object -->
<CustomRecord>
<Component>
<Context>QTP</Context>
<!-- Customized record support for the -->
<!-- System.Windows.Forms.DataGridView control -->
<!-- is implemented in a .NET DLL Custom Server called -->
<!-- CustomMyTable.dll, and runs in UFT context. -->
<DllName>C:\MyProducts\Bin\CustomMyTable.dll</DllName>
<TypeName>CustomMyTable.CustTableView</TypeName>
</Component>
</CustomRecord>
<CustomReplay>
<Component>
<Context>AUT</Context>
<!-- Customized run support for the -->
<!-- System.Windows.Forms.DataGridView control -->
<!-- is also implemented in the .NET DLL Custom Server -->
<!-- called CustomMyTable.dll. It runs in the context -->
<!-- of the application being tested. -->
<DllName>C:\MyProducts\Bin\CustomMyTable.dll</DllName>
<TypeName>CustomMyTable.CustTableView</TypeName>
</Component>
</CustomReplay>
<CustomVerify>
<Component>
<!-- Because the customized support includes table -->
<!-- checkpoints, DataGridView must run -->
<!-- in the context of the application being tested. -->
<Context>AUT</Context>
<!-- Table checkpoint support for the -->
<!-- System.Windows.Forms.DataGridView control is -->
<!-- implemented in a .NET DLL Custom Server called VfySrv.dll. -->
<DllName>C:\MyProducts\Bin\VfySrv.dll</DllName>
<TypeName>VfySrv.DataGridCPSrv</TypeName>
</Component>
</CustomVerify>
<Settings>
<Parameter Name="sample name">sample value</Parameter>
</Settings>
</Control>
</Controls>