Colin_McCrae
11 years agoCommunity Hero
Updating multiple TFS items from TestComplete?
Not sure if I'm missing something here .....
I can create a connection template to an existing bug/case (which I'll call an "item" from here on in) in TFS (all our project work is managed in TFS). I can then update fields in that item via script.
But is it possible to change the item it connects to?
It seems I have to specify the item ID in the connection template and there is no way to make that variable? I tried setting it to a project variable, but that didn't work.
All I need it to do is connect to various different items so I can add a note to them to say that an automated run was performed and add a pass/fail note to the item.
The item to be updated will be known by my test script. But I need to be able to update numerous different items. It's absolutely not practical to create a template for every single item - we are potentially talking about hundreds of different ones.
Following on from that - when I do connect to, and send updates to, an item - it appears to over-write whatever text was already in that field. Is it possible to append rather than over-write?
I've had a look through the help topics on the IssueTracking object but I'm not finding any answers to the above.
Anyone have any helpful tips?
I can create a connection template to an existing bug/case (which I'll call an "item" from here on in) in TFS (all our project work is managed in TFS). I can then update fields in that item via script.
But is it possible to change the item it connects to?
It seems I have to specify the item ID in the connection template and there is no way to make that variable? I tried setting it to a project variable, but that didn't work.
All I need it to do is connect to various different items so I can add a note to them to say that an automated run was performed and add a pass/fail note to the item.
The item to be updated will be known by my test script. But I need to be able to update numerous different items. It's absolutely not practical to create a template for every single item - we are potentially talking about hundreds of different ones.
Following on from that - when I do connect to, and send updates to, an item - it appears to over-write whatever text was already in that field. Is it possible to append rather than over-write?
I've had a look through the help topics on the IssueTracking object but I'm not finding any answers to the above.
Anyone have any helpful tips?