Forum Discussion

murugans1011's avatar
murugans1011
Regular Contributor
11 years ago

Common Script Maintenance

HI, I have common script files which is referenced by almost all projects in my suite. I have saved the common script files in separate location apart from project suite files and i will give reference to  tat script files in project using Script|Add Exisiting item. But when i open projectsuite in another  pc using testexcute. it cant able to find common script files and the project suite fails to load. how to avoid this problem and which is the bestway to maintain and store common files.

16 Replies

  • Odd.



    I have a VM with TE on it I use as part of our nightly build process and I've never hit any issues with differences between the two?



    And there are differences between the OS's they run on. TC is a 64bit W7 Pro machine. TE is on a WS2008 R2 VM. Project is pulled from source control by the build process so is always up to date. TE is kicked off using a BAT file to start the specific project. All seems to work fine? (Touch wood!)



    We use TeamCity for nightly build on this particular project.
  • jose_pita's avatar
    jose_pita
    Super Contributor
    Apart from the OS's differences, it works exactly like mine Colin.

    I have a bat that updates the svn repositories and starts the test with TE.

    With TC everything works without errors, TE will not find some objects that use name mapping (old tests where I still used it).



  • simon_glet's avatar
    simon_glet
    Regular Contributor
    I am still running TC-TE 9.2 so I am not sure I can help any further.



    Sorry guys.
  • murugans1011's avatar
    murugans1011
    Regular Contributor
    Hello guys,



     thanks for ur replys. but i m storing common script files in local drive folder. when i open the same project in testexecute in sharedmode the common files are not loaded. also it gives error f"ile not found in random drive letter".i m afraid to save my common file in network driver which is shared by all system. beacuse it slows down execution. is there any workaround for this?
  • murugans1011's avatar
    murugans1011
    Regular Contributor
    hi



    never heard of SVN repositories. will u please give more detail about it and how to use it ?
  • murugans1011's avatar
    murugans1011
    Regular Contributor
    Hi Jose,



    Thanks for ur reply.

    I've heard about TortoiseSVN and Visual Source Safe.Now learning doucments about source control in Tc.after that i ll try nd get back here soon