Ask a Question

JavaScript Test does not run

SOLVED
alengul
Senior Member

JavaScript Test does not run

When I want to run Script Tests in Test Complete 14, which perfectly work in Test Complete 12, they just don`t run. I receive an Empty log and no error after 1 second of working.
What is more interesting, when I change the language to JScript and adapt my tests for this language everything works perfectly again.

So my question is why my Java Script tests don`t work and probably what settings should I change to fix it.
 

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: JavaScript Test does not run

What's your TestComplete version number?

 

Switching languages in a project is not recommended so hopefully you are creating a new project and not swapping the language around.

https://support.smartbear.com/testcomplete/docs/scripting/selecting-the-scripting-language.html

 

If you start a new project in Javascript and write a new test, does it run?


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

1 REPLY 1
Marsha_R
Community Hero

Re: JavaScript Test does not run

What's your TestComplete version number?

 

Switching languages in a project is not recommended so hopefully you are creating a new project and not swapping the language around.

https://support.smartbear.com/testcomplete/docs/scripting/selecting-the-scripting-language.html

 

If you start a new project in Javascript and write a new test, does it run?


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: