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
Community Hero

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


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
AlexKaras
Community Hero

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 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
================================

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_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

Marsha,

 

Reply was not from Sadik but from another guy. 😉

 

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
================================

Bad clicking!  I fixed it.  🙂


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

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: