I have a Project Suite with about 10 different projects, all of them use an identical TestedApps project item which I have to manually change for each project when I make a change.
I have looked in the help and found that I can't use a single copy of the TestedApps file and add it to each project in the suite.
Can anyone tell my why this restriction is in place? And if there is a better way of organising my projects to use a centralised TestedApps file so I don't have to edit it ten times!
Thanks in advance
P.S. Is there any way to set up my account to email me when someone replies to a post I've made. I keep missing the responses on here. I guess I should just check more often!
I was having some difficulty on figuring out how to organize my suite as well, but in the end I chose to keep as much as I could within a single project. That way you don't have to add existing items to all of your projects, including the tested apps. I just created subfolders inside of the script item for a little more organization. That would solve your problem, but I don't really know of any other pro's or con's to this set up.
There's a GUID in the TestedApps.tcAs that maps the object to the project to which it belongs. While you can share script units, there is a root item Script.tcScript that you cannot share between projects for the same reason.
What you CAN do, if you want to create a library of commonly executed applications, is use the Run Command script extension found here to build a code unit of commonly run applications so that you can share the code unit between projects.
Vexic: We also started out using only one project suite, with multiple projects within. This grew quite rapidly and caused TestComplete to use up enormous amounts of memory when opening the suite. We discovered that if we move unrelated test projects into their own suite, the memory management is much better.
Robert: That is a really useful script extension and something that I think we can use as a workaround for the TestedApps difficulties. Thanks for that!