ray_mosley
13 years agoFrequent Contributor
Reuse Functions in projects
We want to have a TestComplete project suite that has the following structure:
Project Suite TestThe Application
Project CommonFunctions
Script Common
function A
function B
Project AppModule1
Script TestMain
Project AppModule2
Script TestInterface
I need the Project AppModule1 Script TestMain to be able to use function A in the CommonFunctions Project Common script.
I also need the Project AppModule2 Script TestInterface to be able to use function A in the CommonFunctions Project Common script.
How do I do that?
Please do not refer me to article 27356. Basically that tells me that TestComplete Add | Existing Item copies the unit to be shared into the project. Doens't that create a maintenance issue where you now have to maintain two separate units?
Project Suite TestThe Application
Project CommonFunctions
Script Common
function A
function B
Project AppModule1
Script TestMain
Project AppModule2
Script TestInterface
I need the Project AppModule1 Script TestMain to be able to use function A in the CommonFunctions Project Common script.
I also need the Project AppModule2 Script TestInterface to be able to use function A in the CommonFunctions Project Common script.
How do I do that?
Please do not refer me to article 27356. Basically that tells me that TestComplete Add | Existing Item copies the unit to be shared into the project. Doens't that create a maintenance issue where you now have to maintain two separate units?