Forum Discussion

skoski191's avatar
skoski191
New Contributor
10 days ago

Converting VB Script Tests

We’ve been provided with a set of VBScript-based TestComplete test cases that contain embedded test data, and we’re looking to integrate them into our existing hybrid keyword/data-driven JavaScript framework.

Has anyone had success automating this type of conversion or leveraging tools to streamline the process? Any recommendations or approaches would be greatly appreciated.

1 Reply

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    If you understand what each line of your VBScript is doing, translating it to JavaScript becomes fairly straightforward. However, you'll likely need to refactor the tests - especially to separate and properly handle embedded test data so it fits into a data driven framework.

    Unfortunately, TestComplete doesn't provide any built-in way to automatically convert scripts between languages, so this process is mostly manual.