Ranjana_Lokanat
11 years agoNew Contributor
Issue with maintenance of reference files
Hi,
I am new to Testcomplete and would like to know a better way to design my project suites.
I have a set of Helper scripts which have many common functions,
I have many project suites.
Now in each of these project suites, I have different projects and in each project, I have different test scripts , which uses the functions defined in my Helper scripts.
Currently I am doing the following to call the functions
1. Add a reference to the Helper scripts, by RMC on add, then selecting existing item and poiting to the physical location of my helper script.
2. In my test script header entering "//USEUNIT Helperscript"
With this approach we ran into some issue:
1. When some more helper scripts were added, I have to manually go back to each project suite and add the reference.
2. Also modify the test scripts accordingly.
Is there an easier way for me to reference some common functions for all my project suites, where once I make a modification in one location, the rest all get updated, without me having to manually update changes (either addition of new helper scripts/ reduction of helper scripts).
Thanks in advance for all your help.
I am new to Testcomplete and would like to know a better way to design my project suites.
I have a set of Helper scripts which have many common functions,
I have many project suites.
Now in each of these project suites, I have different projects and in each project, I have different test scripts , which uses the functions defined in my Helper scripts.
Currently I am doing the following to call the functions
1. Add a reference to the Helper scripts, by RMC on add, then selecting existing item and poiting to the physical location of my helper script.
2. In my test script header entering "//USEUNIT Helperscript"
With this approach we ran into some issue:
1. When some more helper scripts were added, I have to manually go back to each project suite and add the reference.
2. Also modify the test scripts accordingly.
Is there an easier way for me to reference some common functions for all my project suites, where once I make a modification in one location, the rest all get updated, without me having to manually update changes (either addition of new helper scripts/ reduction of helper scripts).
Thanks in advance for all your help.