cancel
Showing results for 
Search instead for 
Did you mean: 

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

RE: units scripted in vbscript and c#

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

RE: units scripted in vbscript and c#


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
New Here?
Join us and watch the welcome video:
Announcements