hugo_soares
11 years agoOccasional Contributor
USEUNIT in shared script unit is looked for wrongly
I have the project A that has a shared script unit (unitb.1) from project B. This unit (from project B) uses another script unit belonged to his parent project. (unitb.2)
The problem happens while I running Project A's script unit that depends unitb.1: TestComplete is looking for unitb2 into Project A, and I think it should look into Project B.
The only option for code reusing among sibling projects is Copy and Paste?!?!?!?
The problem happens while I running Project A's script unit that depends unitb.1: TestComplete is looking for unitb2 into Project A, and I think it should look into Project B.
The only option for code reusing among sibling projects is Copy and Paste?!?!?!?
- Really, what you should do is move shared procedures to a third unit. Call that unit "Framework" or something similar, and reference it from both your A and B.