Ask a Question

Unable to initialize script engine - scripts are not running

SOLVED
SriniG
Contributor

Unable to initialize script engine - scripts are not running

Hi,

 

when i'm trying to run the script routine testcomplete exit witout executing the script and not showing any detials in results log and i tried to debug but its not going the function/break point. Could you please help me how to overcome this issue.

 

function sampletest()
{
Log["Message"]("hello");

 

see the results screens:

 

results.PNGresults2.PNG

17 REPLIES 17
Wamboo
Community Hero

Hi,


That's strange I can't reproduce this error on my TestComplete version. Can You show us the unit file and the function inside it?

tristaanogre
Esteemed Contributor

Your function is called "Acceptance_Test" in the Main unit.... but the code you showed us is something called "sampletest" in some unknown unit.  So... we are going to have a hard time debugging what you're trying to do.  Please, if you can, share more details about the code you're trying to execute.


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

Please see the attached video and unit file for your reference

Hi, Please see the attached video for your reference. 

tristaanogre
Esteemed Contributor

Ok... now we see an error message that was not explained before.

What happens if you disable that extension (File -> Install Script Extensions -> Uncheck the Clipboard extension)?  Will things run then?


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

Hi tristaanogre,

 

Thank you for the support. its not working even after disable the script extention. Please check the attached video.

Have you script engine installed on your computer ?

Have you enough Rights on the user of this computer ?

Is it a new installation of TC ?

 

Have you followed the prerequesites check ?

https://support.smartbear.com/testcomplete/docs/general-info/system-requirements.html

 

If yes to all, have you tried to reinstall TC for scratch  ?

 

Un sourire et ça repart

We are using this PC for automation with Testcomplete from long time, all of sudden it stopped working. Yes System is having admin permissions and tried with Uninstall and installation of TC but no hope. How can i check script engine installed properly or not? any issue with firewalls?

Ask your IT people of any changes in system (group policy changes, security raised and then block script engine, etc..)

I think this is a security problem, but which one ? No firewal  but more  like process banned from execution like DEP.

 

If you open a cmd window and enter cscript, does something appears ?

 

I encounter oftenly organizations where IT/devops aren't here to help others but only help themselves, this is a pain...

 

Un sourire et ça repart

cancel
Showing results for 
Search instead for 
Did you mean: