我在 vbscript 中有一段代码可以将参数添加到测试用例,但它会引发以下错误
Entity with Key '5' does not exist in table 'TEST'
脚本:
Dim supportParamTest
Set supportParamTest = TDConnection.TestFactory.Item(5)
Set testParamsFactory = supportParamTest.TestParameterFactory
Set parameter = testParamsFactory.AddItem(Null)
parameter.Name = "name"
parameter.Description = "desc"
parameter.Post
谁能帮我吗?