Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
I'm interested in your solution that you get as we are looking at integrating our testing with TFS here as well. However, perhaps an insight into the problem you're having with refreshing:
If you take a look at the .MDS file for the TestComplete project that you're adding TestItems to, you'll note that there is an index number for each test item. If you simply add test items to the end of your test project, each new test item simply gets the next index. If, however, you insert test items between two pre-existing, within the MDS file these indices are re-ordered. I'm not certain what is happening behind the scenes with the TC8Test object but I suspect that this indexing is playing a part in how things are matched up in TFS.
A suggested work around to try and see if it resolves... Since, technically, it doesn't matter the order the test items have in your TC project, simply add new tests to the end of the project rather than inserting them in a particular order. Then you add new TFS test items for each new test case and order them appropriately using Ordered Tests within TFS.
Let me know if this works for you as it will probably be the way we do things on our environment as well.
If you take a look at the .MDS file for the TestComplete project that you're adding TestItems to, you'll note that there is an index number for each test item. If you simply add test items to the end of your test project, each new test item simply gets the next index. If, however, you insert test items between two pre-existing, within the MDS file these indices are re-ordered. I'm not certain what is happening behind the scenes with the TC8Test object but I suspect that this indexing is playing a part in how things are matched up in TFS.
A suggested work around to try and see if it resolves... Since, technically, it doesn't matter the order the test items have in your TC project, simply add new tests to the end of the project rather than inserting them in a particular order. Then you add new TFS test items for each new test case and order them appropriately using Ordered Tests within TFS.
Let me know if this works for you as it will probably be the way we do things on our environment as well.
Related Content
- 11 years agosdruker
- 11 years agoVasanthVijay
Recent Discussions
- 5 hours agoSubhraDas
- 19 hours agoJacobjacob44