Forum Discussion

okpo_ekpenyong's avatar
okpo_ekpenyong
New Contributor
11 years ago
Solved

Shell and Perl Scripting in TestComplete

Hello everyone,



Is there any useful resources on how Perl and Shell scripts can be written and executed in TestComplete?



I'm familiar with automation scripts in JScript, VBScript, etc, but I'm wondering if there is any support for Perl and Shell scripting and how to get started with that.



Thanks.
  • Hi Okpo,



    TestComplete does not support Perl in terms that it is not possible to use Perl to create tests to be executed by TestComplete.

    But if you have some Perl script and need it to be executed from within TestComplete script, his can be done like this (VBScript):

      Set WshShell = CreateObject("WScript.Shell")

      Set oExec = WshShell.Exec("Perl.exe <Your Perl Script>")



    I am not sure what shell scripting you are talking about but the similair as fo Perl approach should work for it as well.

3 Replies