Ask a Question

Can we use two programming language in single project suite or interoperability of code

SOLVED
Sadik
New Contributor

Can we use two programming language in single project suite or interoperability of code

Hi All,

 

We are looking following solution:

 

Query 1: Is there any way we can use two programming language in Single Test project ( Suite ).

  • Some test cases we can write in Java Scripts and some Test Cases in Python language.

Query 2: Does TestComplete support interoperability of code, like we have some functions written in python code and wanted to use in TestComplete’s Java Scripts project.

 

Kindly anyone suggest if we can archive above approach in TestComplete.

 

Thanks,

Sadik

6 REPLIES 6
Marsha_R
Champion Level 3

I don't think so, but what happened when you tried it?

AlexKaras
Champion Level 3

Hi,

 

Only one script language is possible within one test project.

Projects within Project Suite can use different script languages. (Project suite is just a container for test projects.)

You may consider Script Extensions and move your common code there. But Script Extensions can be implemented using VBScript and JScript (not JavaScript) only. (Besides that they have some specifics that might or might not matter to you.)

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================

Just curious, @Leonardo , what varied responses are you referring to?  @AlexKaras and I both said it wasn't possible and I asked what happened when they tried it.   

Marsha,

 

Reply was not from Sadik but from another guy. 😉

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================

Bad clicking!  I fixed it.  🙂

Thanks for your reply.

 

I will explore Script Extensions. might be this is helpful.

 

Thanks,

Sadik

cancel
Showing results for 
Search instead for 
Did you mean: