Ask a Question

Installing and Loading Script Extensions

SOLVED
shankar_r
Community Hero

Installing and Loading Script Extensions

Hello,

 

I have created Script Extension for HTML reports and I am able to install and load the Script Extension using below options mentioned in the Smartbear help.

https://support.smartbear.com/testcomplete/docs/working-with/extending/script/installing-and-uninsta...

 

Scenario: We have setup jenkins environment which will run every day in multiple machines. If i need to install the Script Extension then i have open all the machines and do the steps mentioned in the document. 

 

Question: Do we have any other option to load them dynamically thru command line when launching TestComplete? like, Installing plug-in/Extension thru command line.

 

Have anyone experienced on this scenario?

 

I know @tristaanogre you have lot of Script Extensions in your automation project, A little background on how you setup your machines with Script Extensions would be better.


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

5 REPLIES 5
tristaanogre
Esteemed Contributor

1) TCX extension files are checked into source control so that they are in a standardized drive/folder hierarchy that will be common on all workstations

2) Every machine configured to run tests, in either TestComplete or TestExecute, point Tools | Options | Engines | Script Extensions to that directory.

3) When a new "pull" of latest source is done, the TCX is refreshed in the directory with the latest version

 

This ensures distribution of the latest version of the script extension to all machines.  Note that step 3 needs to be done with the TestComplete/TestExecute application NOT running.  So, what we have is, for our over night runs, a batch file that pulls the latest source code done on a nightly basis a few minutes before the scheduled test run executes.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

2) Every machine configured to run tests, in either TestComplete or TestExecute, point Tools | Options | Engines | Script Extensions to that directory.

 

So, This is needs to be done manually in all machines which are running the TestExecute/TestComplete only for first time.


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

tristaanogre
Esteemed Contributor


@shankar_r wrote:

2) Every machine configured to run tests, in either TestComplete or TestExecute, point Tools | Options | Engines | Script Extensions to that directory.

 

So, This is needs to be done manually in all machines which are running the TestExecute/TestComplete only for first time.


Correct.  It's a one time configuration.  You don't need to do it every time you edit an extension.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

Got it, I was wondering whether we can do this as like pulg-ins. 

 

However, i got what are said. Will implement in our env also. 


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

HKosova
SmartBear Alumni (Retired)

Another way is to copy the .tcx file to the <TestComplete>\Bin\Extensions\ScriptExtensions folder on the agents, provided that your Jenkins job has enough permissions to do so.


Helen Kosova
SmartBear Documentation Team Lead
________________________
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: