Forum Discussion

sastowe's avatar
sastowe
Super Contributor
13 years ago

useunit

Is it possible to share procedures from a different project within the same suite? The help seems to imply not. But I want to use projects within a suite for organizational puropses and put shared code in a different project. Is this possible. I am guessing no. (TC 7.2 is the desired goal until I have time to work with Smartbear on why my app is crashing.)

2 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    Not as pure units, no, you cannot share code across projects.



    However, depending upon your need, you can create Script Extensions from those code units that, when incorporated into TestComplete, act as run-time objects that are available in all projects.  While the help I'll post is for TC 8, I believe the Script Extension technology was in TC 7 as well.



    http://support.smartbear.com/viewarticle/11040/
  • sastowe's avatar
    sastowe
    Super Contributor
    You always point me to the best references for solving my problems. I appreciate it! Thanks



    S