Ask a Question

How to convert vbscript code to javascript in testcomplete

SOLVED
Babulu
Contributor

How to convert vbscript code to javascript in testcomplete

Hi Guys,

               I have one project in that project i have 200 test cases all test cases belongs to Vbscript . Now i want to convert to Vb script to javascript. Could you please advise any tool is availble in smartbear?

 

4 REPLIES 4
Marsha_R
Community Hero

I don't see a way to do that in TC

https://support.smartbear.com/testcomplete/docs/scripting/converting-scripts.html


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
mikef
Staff

Hi @Babulu 

 

I'm afraid it's not possible to convert scripts from one scripting language to another since each project defines a single language to use.

 

However if perhaps you have tests in Keyword Test format which you have converted to VBScript, you can create a new project using Javascript and add these keyword tests by right clicking on the KeywordTest repository, Add > Existing Item. After adding you can convert these from Keyword Test to script.

 

Hope this helps

Mike

 

 

hi mikef thanks for the information but my scripts are in descriptive programing. is there any possibilities pelase let u know

@Babulu There isn't an automatic way to convert your tests.  


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
cancel
Showing results for 
Search instead for 
Did you mean: