Forum Discussion

MGC's avatar
MGC
Occasional Contributor
6 years ago
Solved

edit Script.tcScript.

We have several project.  each project has its own folder.  under this folder is the file structure:

proj1.pjs

proj1\Events\Events.tcAX

proj1\Script\script.tcScript

 

edit script.tcScript file.

i see folder and file references.

 

is it possible to edit this file and add a new .svb file into script.tcScript.

then edit this for additional folders (proj2 through proj10).

we don't mind if each script.tcScript file is duplicated for projects (proj1 through proj10).

the problem becomes:  we use Team Foundation server to check in changes.  it becomes labor intensive to check outone project, edit so we inclue a new library (script.tcScript is affected for this), check in.  Repeat for next 9 projects.

 

is it possible to edit the file and put it in place in the 9 other folders?

 

 

 

  • You can, but not recommended.  It's possible to mess the file up and then completely blow up your project.

     

    An alternative: Investigate the use of Script Extensions.  They are a way of extended TestComplete.  May or may not work for you.

1 Reply

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    You can, but not recommended.  It's possible to mess the file up and then completely blow up your project.

     

    An alternative: Investigate the use of Script Extensions.  They are a way of extended TestComplete.  May or may not work for you.