i have this code for copying a test field from one test to another, the problem is that the value isn't written to target parameter, can someone have an idea what is wrong?
Sub CopyId (Copy_id)
On Error Resume Next
MsgBox " test id copy to "&Copy_id
Set currentTest = TDConnection.TestFactory.item(Copy_id)
Set stepsList = currentTest.DesignStepFactory.NewList("")
For Each stp In stepsList
Linked_Test_ID = stp.Field("DS_LINK_TEST")
Set Linked_Test = TDConnection.TestFactory.item(Linked_Test_ID)
Special_Field = Linked_Test.field("TS_USER_21")
currentTest.field("TS_USER_21").value = Special_Field
am i placing the post in wrong place?
i have other function that calls that funcion, does the post line needs to be there?