Ask a Question

How to change the scripting language from javascript to phython?

SOLVED
claudiaborges
Occasional Contributor

How to change the scripting language from javascript to phython?

We have an extensive test suite with many tests projects. They are all keyword tests. There is no scripts in the tests but when the suite is made the language that was chosen was JavaScript. I would like to change it to python.

1 ACCEPTED SOLUTION

Accepted Solutions
AlexKaras
Community Hero

Re: How to change the scripting language from javascript to phython?

Hi,

 

There was unofficial way to change scripting language for scripted projects. You may investigate and try if it works for Keyword tests as well: https://community.smartbear.com/t5/TestComplete-Desktop-Testing/Changing-Scripting-Language/m-p/1631...

 

Regards,
  /Alex [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

2 REPLIES 2
tphillips
Frequent Contributor

Re: How to change the scripting language from javascript to phython?

You can not change a project's scripting language after the fact.

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

 

You will have to create a new project. You might be able to copy your existing keyword test files to the new project however (they're just XML files) and then add them as existing items in TestComplete


--------------------
Senior SQA Automation Engineer
AlexKaras
Community Hero

Re: How to change the scripting language from javascript to phython?

Hi,

 

There was unofficial way to change scripting language for scripted projects. You may investigate and try if it works for Keyword tests as well: https://community.smartbear.com/t5/TestComplete-Desktop-Testing/Changing-Scripting-Language/m-p/1631...

 

Regards,
  /Alex [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: