Forum Discussion

averys's avatar
averys
Occasional Contributor
14 years ago

Adding a script file via the command line

Hi There;

I would like to know if I can add an existing script file to an existing project unit via the command line.  If so what is the command line for it?



Thanks

Sheryl

3 Replies

  • AlexKaras's avatar
    AlexKaras
    Community Hero
    Hi Sheryl,



    This is not possible without direct change in the configuration files that is highly not recommended.



    Just curious: I can't recollect that such functionality exists in any development environment. Do you know where it can be found? Why do you need it and why it is a problem to start TestComplete once to add a new script unit to the project?
  • averys's avatar
    averys
    Occasional Contributor
    Thanks for the responses. 

    What my team as done is created an UI application that contains all the possible predefined actions that we require to test our application.  The actions themselves are built in TestComplete. Our testers can then create any script they like in the UI applicatin (which becomes the script file I need to add to the project containing the actions).  The tester can then run the script on our test machine remotely using TestExecute to validate if the script they created is correct or contains any errors. 



    I think I can find away around having to add the file by simply creating a stub script file that already exists in the TestComplete project and simply replace it using the command line.



    Thanks again.

    Sheryl