Ask a Question

units scripted in vbscript and c#

Madhi
Contributor

units scripted in vbscript and c#

Can we have two units with code written in different languages in the same project.  I want to run one unit in vbscript and add one more in c#.  If so, how.
2 REPLIES 2
AlexKaras
Champion Level 3

Hi Madhi,



No, this is not possible. All scripts within the projects must be on the same language. But the projects in the suite may use different languages.

Depending on what functionality is implemented in your scripts, you may consider moving it into Script Extension (see relevant help topics for more details) as scripts can call functions from the Script Extensions that are created using different language.
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
================================
AlexanderM
Staff


Hi Madhi,







Can we have two units with code written in different languages in the same project.



No, there is no way to do this. We have an appropriate suggestion in our DB, and your post has increased its rating. Thank you.





At the meantime, you can create individual VBScript and C#Script projects with the needed test items and run the project suite.
-----

Alexander
Customer Care Manager
cancel
Showing results for 
Search instead for 
Did you mean: