QC没用不太清楚,如果单纯用QTP的话可以通过脚本向TEST中传递参数,帮助文档中有,其中一段是这样的,详细的参考帮助文档
Set rtParams = pDefColl.GetParameters() ' Retrieve the Parameters collection defined for the test.
Set rtParam = rtParams.Item("InParam1") ' Retrieve a specific parameter.
rtParam.Value = "Hello" ' Change the parameter value.
qtApp.Test.Run , True, rtParams ' Run the test with changed parameters.