rsippel
14 years agoOccasional Contributor
Can we automate setup and reloading of CLR Bridge and path to Extensions?
We want to allow our clients to run our tests without them having to know how to customize all the details (such as insuring that certain items are in the ClrBridge list for the project, or that the proper Extensions\bin is being referred to by TestComplete/TestExecute). The less that they have to do the better. Ideally, they should only have to run some installation program for the project, and then run some batch-file whenever they want to run the project, and then view the results. They should not have to be concerned in any way with tweaking the system so that TestComplete or TestExecute can find things.
Our environment is one in which we may be switching between projects and/or versions of projects often. Two common issues that seem to come up are:
* the need to go into TC's [Tools]>[Options]>[Engines]>[Script Extensions] to adjust the path so that TC/TE can find our extensions for that project and insure that they are reloaded.
* the need to go into TC's [Tools]>[Current Project Properties]>[CLR Bridge] to insure that desired items are in the list and are reloaded. Each project may have different items in their lists.
Is there any way to have access to the ClrBridge from within a script so that we can alter it and reload it (e.g. during initialization) to insure that it is automatically adjusted and up-to-date for the environment that the project is being run in?
Is there some way to automate this sort of thing (via a batch-file or creating an exe or ...) so that it could be included in either the project-installation code or in the batch-file used to run the project?
Thanks
Our environment is one in which we may be switching between projects and/or versions of projects often. Two common issues that seem to come up are:
* the need to go into TC's [Tools]>[Options]>[Engines]>[Script Extensions] to adjust the path so that TC/TE can find our extensions for that project and insure that they are reloaded.
* the need to go into TC's [Tools]>[Current Project Properties]>[CLR Bridge] to insure that desired items are in the list and are reloaded. Each project may have different items in their lists.
Is there any way to have access to the ClrBridge from within a script so that we can alter it and reload it (e.g. during initialization) to insure that it is automatically adjusted and up-to-date for the environment that the project is being run in?
Is there some way to automate this sort of thing (via a batch-file or creating an exe or ...) so that it could be included in either the project-installation code or in the batch-file used to run the project?
Thanks