ISupportDataRelation Interface : CreateDataRelation Method |
An XML string that links the test parameters to the fields in the data source. This example links the flight_number field in the data source to the test parameter FlightNo:
<MappingData>
<MappingElement>
<ParameterName><![CDATA[FlightNo&cd;></ParameterName>
<MappedToName><![CDATA[flight_number&cd;></MappedToName>
</MappingElement>
</MappingData>
Visual Basic |
---|
Public Function CreateDataRelation( _ ByVal resourceId As Long, _ ByVal mapping As String _ ) As Object |
An XML string that links the test parameters to the fields in the data source. This example links the flight_number field in the data source to the test parameter FlightNo:
<MappingData>
<MappingElement>
<ParameterName><![CDATA[FlightNo&cd;></ParameterName>
<MappedToName><![CDATA[flight_number&cd;></MappedToName>
</MappingElement>
</MappingData>